Skip to content
Prev 6884 / 20628 Next

valid estimates using lme4?

Maybe they are; that approximation can be terrible if there are many
weakly-identified or very correlated-given-data REs.
Expectation propagation and variational-Bayes are (often claimed)
substantially better in that regime; as best I know there is no R
package for those approaches.
A Gelmen's in-prep package "stan" seems like it will include something
along those lines, and there is the glm-ie package for Matlab/octave.
For the practical question,
For Mixed at least, I have produced identical output on VC estimates,
FE estimate, RE estimates, likelihood values, and other output I felt
like checking using my own from-scratch supplementation given the same
data for a few design structures. I could probably do the same with
GLIMMIX, though as noted by D Bates GLIMMIX is very restricted in the
models it will fit.


C Ryan King