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

st: svy commands and missing cases


From   "Owens, Douglas Hamilton" <dho@neo.tamu.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: svy commands and missing cases
Date   Wed, 9 Jun 2004 23:55:29 -0000

how about using e(sample) to identify the obeservations dropped from the
svylogit?  Is there something odd about the psu, strata, or weight in those
observations? Perhaps -svydes- might report something useful.  


> Hey Stata listers,
>
> I hope you can help me.  I am stumped on what seems to be an easy problem to
> fix.
>
> I am trying to estimate a logit model using the survey commands on a sample
> of 9,966.  When I estimate the model:
>
> svylogit y x1 x2 x3
>
> Stata lists 9,559 observations
> 
> When I estimate the model without the survey commands:
> 
> logit y x1 x2 x3
> 
> Stata lists 9,966 observations, which is the correct number of observations.
>   How can I get the svy procedures to estimate the model on ALL
> observations?
> 
> Thoughts, anyone?


*
*   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