Displaying 1 result from an estimated 1 matches for "statug_mixed_sect034".
2013 Apr 30
1
Mixed Modeling in lme4
...ift from running mixed models in SAS using PROC MIXED
to using lme4 package in R. In trying to match the coefficients of R
output to that of SAS output, I came across this problem.
The dataset I am using is this one:
http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_mixed_sect034.htm
If I run the following code:
proc mixed data=rc method=ML covtest;
class Batch;
model Y = Month / s;
random Int Month / type=cs sub=Batch s;
run;
The Fixed effect coefficients match with that of R. But the random
effect does not. Here is the R code:
rc <- read.table('rc.csv', sep...