Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Date: Thu, 5 Feb 2004 16:05:09 -0600


From   "Winfield Scott Burhans" <[email protected]>
To   [email protected]
Subject   Re: st: Date: Thu, 5 Feb 2004 16:05:09 -0600
Date   Thu, 5 Feb 2004 17:54:20 -0500 (EST)

Peter,

I think you would find that -gllamm- from ssc can handle the two levels of
clustering for this model

Buzz Burhans


> Dear Statalist,
>
> I am running the following logistic regression model.
>
>
> xi: logistic mort30 SpecHosp age i.sex i.race alcohol_ex arrhyth_ex
>
>
>
> However I have hospitals clustered within regions (variable hrrnum) and
> patients clustered within hospitals (variable prov_num).
>
> I have been able to run my regression with a single cluster included:
>
> xi: logistic mort30 SpecHosp age i.sex i.race alcohol_ex arrhyth_ex,
> cluster
> (hrrnum)
>
>
> but am unable to run the model with 2 clusters because I receive error
> messages each time I do so.
>
> xi: logistic mort30 SpecHosp age i.sex i.race alcohol_ex arrhyth_ex,
> cluster
> (hrrnum) cluster (prov_num)
>
>
> How can I account for the 2 levels of clustering in my data in my
> regression
> model?
>
> Thanks,
> Pete
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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