Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: xtmixed SAS to Stata


From   Ricardo Ovaldia <ovaldia@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: xtmixed SAS to Stata
Date   Wed, 26 Aug 2009 06:59:09 -0700 (PDT)

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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index