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/