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: mi impute chained


From   [email protected] (Yulia Marchenko, StataCorp)
To   [email protected]
Subject   Re: st: mi impute chained
Date   Thu, 25 Oct 2012 07:21:35 -0500

Chong Shiauyun <[email protected]> receives a "no observation" error
when he runs the following imputation model using -mi impute chained-:

> . mi impute chained (reg) birthweight (ologit, augment) ednmatpat 
>    (logit, augment)sex (truncreg, ll(lVIQ) ul(uVIQ))verbiq,
>    add(20) rseed(11349730) burnin(50) chainonly dryrun report

Shiau probably meant to omit the -dryrun- option in the above since 
-mi impute chained- does not perform any estimation when the -dryrun- option
is specified.

The -mi impute chained- command starts off by fitting univariate models on the
observed data to obtain initial imputed values for each imputed variable.  The
"no observation" error typically occurs when one of such models contains no
observations and is often caused by the existence of missing values in
variables other than the imputed variables.  In Shiau's case, the offending
variables may be -lVIQ- and -uVIQ-.

Shiau can use the -noisily- option of -mi impute chained- to identify the
particular conditional model for which there are no observations and run this
model manually on the observed data to determine the problem.

Shiau can also send his data and do file to our technical support group at
[email protected] to help him identify the problem.


-- Yulia
[email protected]
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index