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
Hi experts,
I have just about started to use R (after using SAS for more than 5 years)
and still finding my way...I have been trying to replicate PROC MIXED
results in LMER but noticed that the estimates are coming different.
My SAS code is as follows (trying to randomise X2 and Intercept):
PR
2 matches
Mail list logo