Hi - Zelig 4.1-2 has just been put on CRAN (as of... a few minutes ago). This may solve
your issue. If not, I will release a nightly fix for it.
To download the patch immediately, enter the following into the R-console:
install.packages("Zelig", type = "source", repos =
"http://iqss.github.com/")
To download directly from CRAN (available later tonight, as it goes through the mirrors):
install.packages("Zelig")
On Jan 24, 2013, at 12:43 PM, Olivia Lau wrote:
Which version of Zelig are you using? If version 4+, could you roll back to 3.x and see
if you have the same error? Thanks, Olivia
On Thu, Jan 24, 2013 at 5:25 AM, Joe Sakshaug
<joesaks@umich.edu<mailto:joesaks@umich.edu>> wrote:
Dear Zelig Users,
Has anyone encountered this error in Zelig after performing a subclassification of the
propensity score using the MatchIt package? The error is presented below using example
data and code from the MatchIt website
(
http://r.iq.harvard.edu/docs/matchit/2.4-20/Examples2.html) under the Subclassification
heading
I'm very interested to know if anyone has encountered, or better yet, found a
solution to this problem.
Thanks,
Joe
m.out2 <- matchit(treat ~ age + educ + black +
hispan + nodegree +
+ married + re74 + re75, data = lalonde,
+ method = "subclass", subclass = 4)
z.out3 <- zelig(re78 ~ re74 + re75 + distance,
+ data = match.data(m.out2, "control"),
+ model = "ls", by = "subclass")
The following object(s) are masked from 'env (position 7)':
..., data, formula, weights
The following object(s) are masked from 'env (position 8)':
..., data, formula, weights
The following object(s) are masked from 'env (position 3)':
weights
The following object(s) are masked from 'env (position 8)':
weights
The following object(s) are masked from 'env (position 9)':
weights
Error in `[[<-`(`*tmp*`, label, value = list(result = list(coefficients =
c(4342.81293440479, :
no such index at level 1
-
--
Zelig Mailing List, served by HUIT
Send messages: zelig@lists.gking.harvard.edu<mailto:zelig@lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/mailman/listinfo/zelig
Zelig program information:
http://gking.harvard.edu/zelig/
Zelig mailing list
Zelig@lists.gking.harvard.edu<mailto:Zelig@lists.gking.harvard.edu
To unsubscribe from this list or get other information:
https://lists.gking.harvard.edu/mailman/listinfo/zelig
-
--
Zelig Mailing List, served by HUIT
Send messages: zelig@lists.gking.harvard.edu<mailto:zelig@lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/mailman/listinfo/zelig
Zelig program information:
http://gking.harvard.edu/zelig/
Zelig mailing list
Zelig@lists.gking.harvard.edu<mailto:Zelig@lists.gking.harvard.edu
To unsubscribe from this list or get other information:
https://lists.gking.harvard.edu/mailman/listinfo/zelig