Hello
I reported this error message a few weeks back (search for subject "Hard
to trace error message"). Now, with a different (improved, I hope) data
setup I am still getting stuck at this same point. Amelia runs through
the first MI step and then aborts with the message shown below.
What can I do about it? What could be the problem? (Whom could I provide
more information about the error/data to locate the problem?)
Thank you very much for your help.
Best regards,
Marcus
PS. Having N=2441, I tried different values for empri: NULL,50,100,200.
am <-
amelia(mdi,m=5,p2s=2,idvars=ids,noms=noms,ords=ords,collect=FALSE,
+
outname="Routput/imputed", write.out=TRUE,empri=NULL)
amelia starting
beginning prep functions
running bootstrap
-- Imputation 1 --
setting up EM chain indicies
1(1705) 2(1523) 3(924) 4(285) 5(55) 6(4) 7(1) 8(0)
Error in unsubset(x.orig = prepped$trans.x, x.imp = ximp, blanks =
prepped$blanks, :
subscript out of bounds
traceback()
2: unsubset(x.orig =
prepped$trans.x, x.imp = ximp, blanks = prepped$blanks,
idvars = prepped$idvars, ts = prepped$ts, cs = prepped$cs,
polytime = polytime, intercs = intercs, noms = prepped$noms,
index = prepped$index, ords = prepped$ords)
1: amelia(mdi, m = 5, p2s = 2, idvars = ids, noms = noms, ords = ords,
collect = FALSE, outname = "Routput/imputed", write.out = TRUE,
empri = NULL)
--
Marcus M. Dapp | PhD student | ETH Zurich |
www.ib.ethz.ch/people/mdapp
Prof. Thomas Bernauer, International Relations |
www.ib.ethz.ch
On the shoulders of giants?
http://science.creativecommons.org
-
Amelia mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive:
http://lists.gking.harvard.edu/?info=amelia