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 on April 23, and its replacement, statalist.org is already up and running.


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

RE: st: error when running ice


From   "Ploutz-Snyder, Robert (JSC-SK)[USRA]" <robert.ploutz-snyder-1@nasa.gov>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: error when running ice
Date   Mon, 12 Jul 2010 08:41:31 -0500

I ran into this problem a lot using the latest Stata and -ice- commands.  My only workaround was to dramatically simplify the impute equations--reducing the number of right-hand variables per each imputed var.  I'm not satisfied with that solution, but it was the only way to kill that error.

I assumed in my case that the data were the problem--too small of an n, given k predictors per impute equation.  Ultimately I abandoned Stata -ice- and went to a Bayesian approach for the imputations.  Following that, we created a dataset that could utilize Stata's MI prefix.  

I'm very curious what you learn and how you solve this in your situation David and I hope you can keep us posted??

Rob

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Maarten buis
Sent: Monday, July 12, 2010 2:54 AM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: error when running ice

--- On Sun, 11/7/10, David Backer wrote:
> While using ice to do multiple imputation in Stata version
> 10.1, I encounter the following error:
> 
>  Obs. nos. out of range
>  r(198)
> 
> The "dry run" of the command worked fine.

Sounds like an error in the program. I would first make sure
that I have the most recent version of -ice- (the one on SSC
not the one from the SJ). So type in Stata: 

ssc install ice, replace

If that does not solve your problem I would sent an email,
containing a dataset and a .do file that reproduces your
problem to Patrick Royston, the author of -ice-. Patrick is,
to the best of my knowledge, not a member of the Statalist,
so you need to contact him directly.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index