Dear R list”!

I´m studying the effect of behaviour on the egg
size in a species of bird. So I have two groups of birds, one with this behaviour,
and the other without this behaviour. I want to know if the egg size for the
first egg differs between groups and if the second egg and the third egg differ
between groups. So I made a GLMM (lme) with this scrip (lme(eggvol~(orden/condition),data=data,
random=~1|ID/orden, method="REML") because in the summary to appear
egg1 condition A vs egg 1 condition B, egg1 condition A vs egg 2 condition B,
and egg3 condition A vs egg 3 condition B.

But, I have
a question, it´s ok to put orden/condition as fixed factor?, It`s ok this “/”
in the fixed factors?

Sorry for
my bad English and I hope answers!

Best wishes



>
a2<-lme(eggvol~(orden/condition),data=data,
random=~1|ID/orden,method="REML")
 
>
summary (a2)
Linear
mixed-effects model fit by REML
 Data: data 
       AIC      BIC    logLik
  454.6547 478.2794 -218.3273
Random
effects:
 Formula: ~1 | ID
        (Intercept)
StdDev:    2.058396
 
 Formula: ~1 | orden %in% ID
        (Intercept)  Residual
StdDev:    1.187783 0.5933053
 
Fixed
effects: eggvol ~ (orden/condition) 
 
                      Value Std.Error DF  t-value p-value
(Intercept)        38.42744 0.4307688 67 89.20663  0.0000
orden.L            -0.99294 0.2603872 67 -3.81332  0.0003
orden.Q            -0.21088 0.2603872 67 -0.80986  0.4209
orden1:conditionA 1.32954 0.9114527
67  1.45870  0.1493
orden2:conditionA 1.68538 0.9114527
67  1.84912  0.0689
orden3:conditionA 2.03277 0.9114527
67  2.23025  0.0291
 
 Correlation: 
                   (Intr) ordn.L ordn.Q ordn1:
ordn2:
orden.L             0.000                            
orden.Q             0.000  0.000                     
orden1:conditionkl
-0.473  0.202 -0.117              
orden2:conditionkl
-0.473  0.000  0.233  0.706       
orden3:conditionkl
-0.473 -0.202 -0.117  0.706  0.706
 
Standardized
Within-Group Residuals:
        Min          Q1         Med          Q3         Max 
-0.92413989
-0.25945975  0.00819915  0.26634706  1.05463841 
 
Number
of Observations: 108
Number
of Groups: 
           ID orden %in% ID 
           36           108 
 
 
Germán G

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 

	[[alternative HTML version deleted]]


