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

Re: st: svy commands and missing cases


From   Dan Blanchette <dan_blanchette@unc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: svy commands and missing cases
Date   Thu, 10 Jun 2004 10:44:59 -0400 (EDT)

If any of the following variables are used and have missing values, then the survey
command will drop that observation:
 strata variable
 psu variable
 pweight variable
 subpop variable

Dan Blanchette
Carolina Population Center UNC-CH
dan_blanchette@unc.edu

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