Does the same command work on one of the imputed data sets without mi()?
Kosuke
--
Department of Politics
Princeton University
http://imai.princeton.edu
On Tue, 24 Feb 2009, Casey Klofstad wrote:
Hey all-
I posted the below onthe Zelig discussion board, but I think this
might also be related to MatchIt:
I just weighted some data, and am trying to examine the results with
ordered logit. The code is:
z.out <- zelig(as.factor(polact) ~ treat, weights="weights", data =
mi(ds1, ds2, ds3, ds4, ds5), model = "ologit")
This produces the error:
Error in model.frame.default(formula = as.factor(polact) ~ treat, data = list( :
variable lengths differ (found for '(weights)')
The same weighted model above runs fine in OLS, and I am running
MatchIt Version 2.4-10 (downloaded from Gary King's website).
Thoughts?
Thanks much,
-c
-
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/