You want the following on the RANDOM line:
random visit/type=un subject=PTNO;
The type=un gives you the unstructured covariance matrix that you
asked for in the xtmixed code.
Hopefully that resolves the issue. If not, I'm not sure what else to
recommend without seeing the data. Best of luck.
Best,
Scott
On Fri, Dec 18, 2009 at 3:05 AM, Lucas Goossens <[email protected]> wrote:
> Thanks Scott,
> Next month, I am switching to Stata 11. So I will have to wait until I can
> try out your code.
> Meanwhile, changing the REPEATED statement in SAS to RANDOM does not get me
> the Stata results... Variances and constant are different, and covariances
> are not produced.
> Lucas
>
>
> *
> * 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/
>
*
* 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/