Skip to content
Back to formatted view

Raw Message

Message-ID: <1352273892616-4648671.post@n4.nabble.com>
Date: 2012-11-07T07:38:12Z
From: sandip1006
Subject: LMER vs PROC MIXED estimates
In-Reply-To: <EB09B25E-9532-423B-95DD-9CC0CC47798A@comcast.net>

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.