Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: xtlogit and svy command


From   "Margaret Gassanov" <gassanov.1@osu.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: xtlogit and svy command
Date   Sat, 24 Feb 2007 15:19:43 -0500 (EST)

Hello,

I am trying to run a discrete-time model (random-effects), correcting for
unobserved heterogeneity, and using weights for complex survey data.

Unfortunately, I am having a problem getting this model to run.

This is my syntax:
svyset [pweight=weight], strata(region) psu(psu)
svy, subpop(sampled): xtlogit DV [list of IVs], i(id)

I get this response: xtlogit is not supported by svy with vce(linearized);
see help survey for a list of Stata estimation commands that are supported
by svy

If I run the model without the survey command, I see that I do have
unobserved heterogeneity.  I can also run the model with the weights but
not with the checks for unobserved heterogeneity.  But I cannot seem to do
both.

Is there another method I could do to get around this?  Or is there
another way to do event-history analysis that uses both survey weights and
corrects for unobserved heterogeneity?  I would be very happy to hear any
suggestions.

Thank you,
Margaret

Margaret Gassanov
Ph.D. student at Ohio State University


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