Displaying 1 result from an estimated 1 matches for "dent1".
Did you mean:
dent
2008 May 07
0
Help with Mixed effect modeling in R
...matrix for;
* each group.
* D = (2x2) unstructured matrix differs across groups;
* Specified in the RANDOM statement by the GROUP=grp option;
title 'RANDOM COEFFICIENT MODEL WITH DIAGONAL WITHIN-PATIENT';
title1 'DIFFERENT D MATRIX FOR BOTH GENDERS';
proc mixed method=ml data=dent1;
class pt grp;
model y = grp grp*t / noint solution;
random intercept t / type=un group=grp subject=pt g gcorr v vcorr;
run;
The key to specifying different covariance structure for the random
effects seems to be the highlighted portion in the code. What would be
it's equivalent in R?...