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, 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]" <>
To   "" <>
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??


-----Original Message-----
From: [] On Behalf Of Maarten buis
Sent: Monday, July 12, 2010 2:54 AM
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 L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index