For R, I understand that the package lme4 and the function glmer roughly corresponds to glimmix in SAS. What is the default covariance structure when fit and can it be changed? If so how?
Asked
Active
Viewed 1,232 times
7
-
3Check out this answer: http://stats.stackexchange.com/questions/5344/how-to-choose-nlme-or-lme4-r-library-for-mixed-effects-models/5350#5350 – fabians Feb 24 '11 at 12:43
1 Answers
1
I do not know about SAS, but variance in glmer
is controlled by family
argument. If you want to change correlation structure then I suspect you will have to use nlme
from nlme package.

mpiktas
- 33,140
- 5
- 82
- 138