Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: margins with svy: biprobit


From   Steve Samuels <[email protected]>
To   [email protected]
Subject   Re: st: margins with svy: biprobit
Date   Thu, 7 Oct 2010 10:51:22 -0400

This was probably caused by a bug that was fixed in the  30 September
2010 Stata update.

" 4. margins with unconditional variance estimates and survey
subpopulation estimation results with some of the independent
variables containing missing values in observations where the sampling
weights were zero would report the error "unconditional standard
errors derived assuming full estimation sample; indepvars dropped
observations from the estimation sample". This has been fixed."

Steve

[email protected]
18 Cantine's Island
Saugerties NY 12477
USA
Voice: 845-246-0774
Fax:    206-202-4783

On Thu, Sep 23, 2010 at 4:50 PM, Wassim Tarraf <[email protected]> wrote:
> Dear list members- I am estimating a bivariate probit model (with svy:
> biprobit; as per the example code below) in Stata 11.1 using complex design
> survey data. Using the margins command while specifying the subpopulation
> used to estimate the model and the vce(unconditional) option leads to Stata
> issuing the following error message : "unconditional standard errors derived
> assuming full estimation sample; indepvars dropped observations from the
> estimation sample." I am faced with the same problem when estimating a
> single equation probit (or logit) as well. Any clarification on what the
> problem might be would be greatly appreciated.
>
> ****begin code********************************
> svyset  cluster [pweight=weight], strata(strata)
> svy, subpop(if a==1 & b==2): biprobit x1 x2 i.y1 i.y2 i.y3
> margins i.y1, subpop(if a==1 & b==2) vce(unconditional)
> ****end code*********************************
>
> Thanks,
> Wassim
>
> *
> *   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index