Ben Bolker
2018-05-17 19:57:06 UTC
That looks about right. You didn't specify the variance of e_ij in
your description, and you didn't say explicitly that the u_ and e_
values are Normally distributed ...
On Thu, May 17, 2018 at 2:27 PM, Juan Pablo Edwards Molina
your description, and you didn't say explicitly that the u_ and e_
values are Normally distributed ...
On Thu, May 17, 2018 at 2:27 PM, Juan Pablo Edwards Molina
Sorry, I edited the lmer function...
============================================
Dear list,
I fitted a linear mixed effects models to a set of 41 field trials
with plot-level assessments of x,y, for estimating the linear
regression coefficients β_0 and β_1
res1 <- lmer(y ~ x+ (x|trial), data=mydata, REML=F)
W_ij= (β_0 + u_0i)+ (β_1+ u_1i) x_ij + e_ij
where j subscript represents the j-plot within i-trial, both for y or
x. β0 and β1 are the population average intercept and slope; u0i and
u1i are the effect of the i-trial on the intercept and the slope,
respectively, considered as random variables (with mean 0 and
variances τ_u0 and τ_u1 a )
I´m not sure if I´m in the right path... I would really appreciate any guidance.
Juan Edwards
National Institute of Agriculture Technology - Argentina
_______________________________________________
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
============================================
Dear list,
I fitted a linear mixed effects models to a set of 41 field trials
with plot-level assessments of x,y, for estimating the linear
regression coefficients β_0 and β_1
res1 <- lmer(y ~ x+ (x|trial), data=mydata, REML=F)
W_ij= (β_0 + u_0i)+ (β_1+ u_1i) x_ij + e_ij
where j subscript represents the j-plot within i-trial, both for y or
x. β0 and β1 are the population average intercept and slope; u0i and
u1i are the effect of the i-trial on the intercept and the slope,
respectively, considered as random variables (with mean 0 and
variances τ_u0 and τ_u1 a )
I´m not sure if I´m in the right path... I would really appreciate any guidance.
Juan Edwards
National Institute of Agriculture Technology - Argentina
_______________________________________________
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models