Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: SAS to Stata


From   "Stas Kolenikov" <[email protected]>
To   [email protected]
Subject   Re: st: SAS to Stata
Date   Wed, 20 Aug 2008 15:48:31 -0500

That's some sort of the hierarchical linear model...

xi: xtmixed y i.group i.time i.group*time || id: , cov(unstructured)

is all I can think of.

On Wed, Aug 20, 2008 at 2:44 PM, Raphael Fraser
<[email protected]> wrote:
> Can anyone convert this SAS code to Stata?
>
> PROC MIXED NOCLPRINT=10 ORDER=data;
>        CLASS id group time;
>        MODEL y = group time group*time / SOLUTION CHISQ;
>        REPEATED time / TYPE = un SUBJECT = id R;
> run;
>
> Raphael
> *
> *   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/
>



-- 
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index