Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: ice problem: return code 2000


From   "Jon Heron (ALSPAC)" <Jon.Heron@bristol.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: ice problem: return code 2000
Date   Tue, 01 May 2007 15:02:20 +0100

Hi Robert,

I've found that some of the ice errors are less than intuitive

since you only have 5 variables, try fitting the 5 individual
prediction equations to see if a more sensible error arises


cheers


Jon


--On 30 April 2007 16:43 -0400 ROBERT BOZICK <rbozick@jhu.edu> wrote:

I am having a problem getting the ice multiple imputation command to run.
I have used it many times and it has worked without a problem.  Today is
a different story:

I am using the command structure:

ice x1 x2 x3 x4 x5 using "M:\statafiles\data\imputed.dta", seed(2007) m(5)

After a few minutes of "thinking" Stata provides the response:

r(2000).

I looked up the meaning of this error and it reads:

error  . . . . . . . . . . . . . . . . . . . . . . .  Return code 2000
         no observations;
         You have requested some statistical calculation and there are
         no observations on which to perform it.  Perhaps you specified
         if exp or in range and inadvertently filtered all the data.

I am not sure exactly what that means with respect to my data file.  The
file that I am using has valid values for the variables in the list
(x1...x5) and all the missing values are listed with a period "."

Does anyone have any idea why I am getting this message and what needs to
be done to rectify this?

Thanks,
Robert
*
*   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/


--------------------------------------------------
Dr Jon Heron
Statistics Team Leader
ALSPAC, Dept of Social Medicine
24 Tyndall Avenue
Bristol BS8 1TQ
Tel: 0117 3311616
Fax: 0117 3311704
*
*   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