search for: solutionf

Displaying 1 result from an estimated 1 matches for "solutionf".

Did you mean: solution
2012 Nov 07
2
LMER vs PROC MIXED estimates
...rent. My SAS code is as follows (trying to randomise X2 and Intercept): PROC MIXED DATA = <DATASET NAME> NAMELEN=100 METHOD=REML MAXITER=1000; CLASS GEOGRAPHY; MODEL y = X1 X2 X3/SOLUTION; RANDOM INTERCEPT X2/SOLUTION SUBJECT = GEOGRAPHY; ODS OUTPUT SOLUTIONR=RANDOM_EFFECT; ODS OUTPUT SOLUTIONF= FIXED_EFFECT; RUN; the equivalent code that I was writting in R is as follows: 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~...