Statalist


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

st: xtmixed & PROC MIXED


From   "Raphael Fraser" <[email protected]>
To   [email protected]
Subject   st: xtmixed & PROC MIXED
Date   Sun, 4 Jan 2009 00:55:24 -0500

I am trying to reproduce the code below in SAS into Stata. proc mixed
by default uses restricted maximum likelihood. The model estimates the
fixed effects and standard error.
The options R and RCORR estimates the covariance and correlation
matrices respectively.
I can't seem to replicate the standard errors. Is there anyone that can help?

PROC MIXED;
	CLASS id group time;
	MODEL y = group time group*time/ S CHISQ;
	REPEATED time/ TYPE = UN SUBJECT = id R RCORR;


-- 
Raphael A. Fraser, MSc
Lecturer in Biostatistics
Tropical Medicine Research Institute
Faculty of Medical Sciences
University of the West Indies
Mona Campus
Kingston, JAMAICA

Tel:  (876) 927-2471; 977-6151
Mobile: (876) 410-4699
Fax: (876) 927-2984
e-mail: [email protected]
*
*   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