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

st: xtmixed SAS to Stata

From   Ricardo Ovaldia <>
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 ;

Thank you in advance,

Ricardo Ovaldia, MS
Oklahoma City, OK

*   For searches and help try:

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