Statalist


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

Re: st: STATA command for clustering at two levels during a Stepwise Binary Logistic Regression Analysis


From   Padmakumar Sivadasan <pmathru2@illinois.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: STATA command for clustering at two levels during a Stepwise Binary Logistic Regression Analysis
Date   Tue, 8 Dec 2009 13:14:55 -0600

You can get Stata ado files that can accommodate two-way clustering of
standard errors with linear regression and  logit models from either
of these websites

http://www.kellogg.northwestern.edu/faculty/petersen/htm/papers/se/se_programming.htm
http://personal.anderson.ucla.edu/judson.caskey/data.html

Padmakumar



On Tue, Dec 8, 2009 at 11:29 AM, Stas Kolenikov <skolenik@gmail.com> wrote:
> On Tue, Dec 8, 2009 at 10:47 AM, Marina Richardson <mricha22@uwo.ca> wrote:
>> I am performing Forward and Backward Stepwise Binary Logistic Regression Models for
>> which I would like to account for clustering at two levels. The option for clustering at one
>> level is simply cluster(PATID) however I would like to also control for clustering at DOCID.
>> Does anyone know if this is possible and what the syntax is for the command? Thank you.
>
> You only need to cluster at the highest level. If you want something
> more sophisticated, you could try -xtmelogit-, although it would be
> considerably slower due to numeric integration it performs (and you
> probably want something fast enough for your model selection
> purposes). I hope you've read Harrell's (2001) Regression Modeling
> Strategies tips and know what you are doing with all of this stepping
> around.
>
>
> --
> Stas Kolenikov, also found at http://stas.kolenikov.name
> Small print: I use this email account for mailing lists only.
> *
> *   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/
>

*
*   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   |   What's new   |   Site index