[R] LMER vs PROC MIXED estimates

sandip1006 sandip.1006 at gmail.com
Wed Nov 7 08:38:12 CET 2012


Hi David,

Thanks for the reply. sorry for typo in the R script ...what I meant to
write was
testdata <- read.csv("adstest.csv",header=TRUE,sep=",") 
 attach(testdata) 
 library(lme4) 
 options(contrasts = c(factor = "contr.SAS",ordered = "contr.poly")) 
 lmm.2=lmer(y~X1+X2+X3 + (X2|Geography),REML=TRUE,data=testdata)

not sure if attaching the dataset causes any problem. Also, I would take
your suggestion and post this in Mixed Models SIG.

Regards,
Sandip



--
View this message in context: http://r.789695.n4.nabble.com/LMER-vs-PROC-MIXED-estimates-tp4648653p4648671.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list