Displaying 1 result from an estimated 1 matches for "tstnum3".
Did you mean:
tstnum
2008 Jul 28
1
Mixed model question.
...l model be fitted in lmer()? I tried using
fit <- lmer(y ~ tstnum + (1|stdnt), data=schooldat)
and got estimates of the coefficients for tstnum as follows:
Fixed effects:
Estimate Std. Error t value
(Intercept) 3.22917 0.09743 33.14
tstnum2 0.46667 0.08461 5.52
tstnum3 0.50000 0.08461 5.91
tstnum4 0.83750 0.08461 9.90
tstnum5 0.47083 0.08461 5.56
tstnum6 0.97500 0.08461 11.52
The mean of (the columns of) the data matrix is
3.229167 3.695833 3.729167 4.066667 3.700000 4.204167
which is in exact agreement with the lmer(...