I was give the following SAS code and want to replicate in Stata. I am not sure how to do this.
SAS code:
proc mixed data=nutrit.main covtest;
class ParticipantID Gender feedgroup;
model WeightAvgKg=Gender|feedgroup|Time GestAgeWks DietHxScore/solution ;
repeated / type=un subject=ParticipantID;
ods output Tests3=WeightAvgKg ;
run;
Thank you in advance,
Ricardo
Ricardo Ovaldia, MS
Statistician
Oklahoma City, OK
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/