Displaying 3 results from an estimated 3 matches for "cudgel".
Did you mean:
budget
2006 Nov 21
1
lme4 model with no fixed effects?
Crossed random effects:
> lmer( y ~ (1 | i1) + (1|i2) ,data=dta)
Linear mixed-effects model fit by REML
Formula: y ~ (1 | i1) + (1 | i2)
Data: dta
AIC BIC logLik MLdeviance REMLdeviance
91.18 94.84 -42.59 85.2 85.18
Random effects:
Groups Name Variance Std.Dev.
i1 (Intercept) 0.068224 0.26120
i2 (Intercept) 0.463112
2006 Oct 03
0
[R-pkgs] New versions of Matrix and lme4 packages for R-2.4.0
Thanks, Douglas.
It works.
Only one gripe. Every time I want to
try a new version of your software, I have
to get, compile, patch the latest bleeding edge version of R
as well:
ERROR: This R is version 2.3.1
package 'Matrix' needs R >= 2.4.0
Douglas Bates wrote:
> Versions 0.9975-1 of the Matrix and lme4 packages will soon be available on
> CRAN for use with R
2006 Oct 04
1
extracting nested variances from lme4 model
I have a model:
mod1<-lmer( x ~ (1|rtr)+ trth/(1|cs) , data=dtf) #
Here, cs and rtr are crossed random effects.
cs 1-5 are of type TRUE, cs 6-10 are of type FALSE,
so cs is nested in trth, which is fixed.
So for cs I should get a fit for 1-5 and 6-10.
This appears to be the case from the random effects:
> mean( ranef(mod1)$cs[[1]][1:5] )
[1] -2.498002e-16
> var(