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 on April 23, and its replacement, statalist.org is already up and running.


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

st: multilevel logistic model on aggregated data


From   Maria Paola Caria <Maria.Paola.Caria@ki.se>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: multilevel logistic model on aggregated data
Date   Tue, 22 Nov 2011 09:58:55 +0000

I need to fit logistic models on data aggregated at the school level. 
Since there is a hierarchy in the data with schools clustered in regions,
 I need to add a random intercept  at the region level.
To clarify, If I had data at the individual level my model would be: 

xtmelogit binaryoutcome x1  x2  || country: || school: , or     

gllamm binaryoutcome x1 x2, i(school country) eform  family(binomial) link(logit)   

but data are aggregated at the school level.
Is there a command to fit multilevel logistic model on aggregated data in StataSE 12 ?
Any help is appreciated. 
Thanks. 
Maria Paola 









Maria Paola Caria 

PhD student  

Dept. of Public Health Sciences

Division of Public Health Epidemiology 

Karolinska Institutet 

SE-11891 Stockholm, Sweden

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index