Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: Random effect Cox Regression_Shared() option in stcox


From   Sanam P <sanamp25@yahoo.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Random effect Cox Regression_Shared() option in stcox
Date   Tue, 4 Dec 2012 22:10:14 -0800 (PST)

Dear Statalist
 
In the project I am working on, I have both patient level factors and hospital level factors to look at (e.g. age, gender, type of hospital(public/private) etc).
 I would like to fit a random effect cox regression model to be able to account for clustering of patients within hospitals and also to investigate the effect of both individual level and hospital level factors on the outcome.
 
Just would like to double check whether this can be done using "shared(hospital)" option in stcox? 
 
stcox age i.gender i.hosptype, shared(hospital) 
 
Any comment would be very useful and very much appreciated.
 
Many thanks,
Sanam

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index