Displaying 1 result from an estimated 1 matches for "lastvisit".
2007 Jun 05
1
lme vs. SAS proc mixed. Point estimates and SEs are the same, DFs are different
...p values are different. I am clearly doing something wrong in my R code. I would appreciate any suggestions of how I can change the R code to get the same DFs as are provided by SAS.
SAS code:
proc mixed data=lipids2;
model ldl=jweek/solution;
random int jweek/type=un subject=patient;
where lastvisit ge 4;
run;
SAS output:
Solution for Fixed Effects
Standard
Effect Estimate Error DF t Value Pr > |t|
Intercept 113.48 7.4539 25 15.22 <.0001
jweek -1.7164 0.5153 24 -3.33...