Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: variation in estimation sample with mi estimate & svy


From   ymarchenko@stata.com (Yulia Marchenko, StataCorp)
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   Re: st: variation in estimation sample with mi estimate & svy
Date   Sun, 02 Sep 2012 12:19:47 -0500

Marcus L Britton <britton@uwm.edu> tries to use -mi estimate-'s -esampvaryok-
option to allow estimation on varying estimation samples when running 
-mi estimate: svy: logit- and receives the following error:

> According to the mi estimate documentation, I should be able to use the
> esampvaryok option to override this error message, but when I do, I get this
> error message:
> 
>  Imputations (20):
>   option esampvaryok not allowed
>  an error occurred when svy executed logit
>  an error occurred when mi estimate executed svy: logit on m=1
>
> Any ideas on why this is happening or what I should do about it?

The most likely reason for this error message is that Marcus is specifying the
-esampvaryok- option with -svy: logit- instead of with -mi estimate-.
The correct syntax for this is:

  . mi estimate, esampvaryok: svy: logit ...

If this does not solve the problem for Marcus, he should contact Stata
technical services at tech-support@stata.com for additional help with this.


-- Yulia
ymarchenko@stata.com
*
*   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   |   Site index