Two things you might try. First, lmer uses maximum likelihood as a default, while MIXED uses restricted maximum likelihood (REML). So you might add method=ml to the PROC MIXED statement. The other is to change the random effect to specifically fit random intercepts:
random intercept/subject=id
That is as much as I really know about the two platforms.
I do have a couple of questions that could affect your analysis. Is there any reason to suspect autocorrelation of the residuals? If so, a type= option to model that might be in order. The second has to do with specification of repeated effects in lmer. It looks to me as if you are modeling week as a random effect, rather than modeling correlation in the residuals. The latter is what the REPEATED statement in PROC MIXED does. I could certainly be wrong on this, but if you want to check this, then change the REPEATED statement to a RANDOM statement, and see if the results are closer to the lmer results.
SteveDenham
... View more