Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: RE: Multilevel survival analysis

From   "Figueroa Armijos, Maria Augusta (MU-Student)" <>
To   "" <>
Subject   st: RE: Multilevel survival analysis
Date   Mon, 14 Feb 2011 19:47:06 +0000

Hi Katie,

I am not an expert on survival analysis, but I can help a bit from one experience I had on a project with survival analysis in Stata 11. In the end, I gave up because even though my dataset was big (12,000 obs), it had too many missing values and most of the variables were dummies. I couldn't use HLM because of the missing values, so I tried Stata. 

I used xt set and then xtmelogit, options. This command took ages to perform because of my missing values and dummy variables. The longest time I waited was 9 hours. It ran more than 16,000 iterations. If you have continuous variables, you could get it to run.  

Because xtmelogit didn't work for me, I used -gllam- (user created) This one worked, and I got the results I needed. The website has books and tutorials you can take. 

Good luck! 
PhD Student
Community Policy Analysis Center (CPAC)
Truman School of Public Affairs

-----Original Message-----
From: [] On Behalf Of Katie Brooks Biello
Sent: Monday, February 14, 2011 1:30 PM
Subject: st: Multilevel survival analysis

Hi -
I am using Stata/SE 11.1 for Windows (32-bit). I have multilevel data  
where individuals are nested in metropolitan areas (MAs). I have a  
time-to-event outcome, and want to estimate the effect of an MA-level  
variable on this time-to-event outcome, controlling for other MA-level  
variables and individual-level variables. In other words, I am hoping  
to do the survival equivalent of HLM. It is my understanding that  
Stata 11 can perform multilevel survival analysis but I can not find  
direct guidance on what commands are used and how this is performed.  
Does anyone have experience with this? Can you offer up the code  
necessary to run this?

Thank you,

Katie Brooks Biello, MPH
PhD Candidate
Yale University
School of Epidemiology and Public Health

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index