I get the following error when I call the summary() method of the
result of a multiply-imputed zelig model with model='mlogit' (with 5
imputations):
post92 <- as.factor(presvote) ~ (variables...)
z.mod92 <- zelig(post92, model='mlogit', data=midata)
summary(z.mod92)
Error in array("", c(n, 3), list(names(object),
c("Length", "Class", "Mode"))):
length of 'dimnames' [1] not equal to array extent
I can extract each of the imputation results from the object to see
the coefficients for each of the 5 imputed data sets (although summary
doesn't work right on each of those either).
I can summarize models run on each of the imputed data sets separately.
I can also summarize multiply imputed models with other methods like
probit without trouble.
I also tried to use 'mlogit.bayes' to estimate the model, and got a
different error message:
summary(z.mod92)
Error in apply(coef, 1, mean) :
dim(X) must have a positive length
I'm using Zelig 2.6-3. Thanks in advance, and let me know if you need
any additional information.
Chris
--
Christopher N. Lawrence <clawren6(a)slu.edu>
Assistant Professor of Political Science, Saint Louis University
109 Fitzgerald Hall
3500 Lindell Boulevard
St. Louis, Missouri 63103-1021
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=zelig
Zelig program information:
http://gking.harvard.edu/zelig/