Hi Gregory,
Are there other variables in your imputation model aside from any that
you are setting to "cs" or "id"? Also, to get a sense for the
problem,
can you run "sapply(mydata, var, na.rm=TRUE)" on your data to see what
happens. There should be a number associated with that variable. It
might help track down the problem.
Cheers,
matt.
On Tue, Sep 28, 2010 at 6:48 PM, Gregory Eady <gregory.eady(a)gmail.com> wrote:
I added a new real number variable to my dataset, but
when I try to impute
it along with the rest of the dataset, I receive the following error:
Error in if (sum(non.vary == 0)) { :
argument is not interpretable as logical
It is a real number variable (checked it with is.real()), and it doesn't
seem to be different from the other real number variables in the dataset.
I've updated to the newest version of Amelia (Version 1.2-17, built:
2010-05-10). I noticed from looking through the mailing list archives that
this error was present in 1.2-14, and was fixed (by Matt Blackwell) in
1.2.-15. It seems to be back. Perhaps this is my fault somehow however. Any
help would be appreciated.
Thank you,
Gregory
-
Amelia mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive:
http://lists.gking.harvard.edu/?info=amelia
More info about Amelia:
http://gking.harvard.edu/amelia