Hi,
I just downloaded the MatchIt package and am using R version 2.0.1 on
Windows XP.
As I was playing around with some of your examples, I couldn't get the
following command on page 22 of your pdf documentation to work (section
2.17: Diagnosing a Propensity Score Model). Just thought I'd bring it to
your attention.
Cheers,
Wang
************************************
> data(lalonde)
> match.out1 <- matchit(treat ~ age + married + black + hispan +
+ nodegree + educ + re74 + re75, data=lalonde,
+ subclass=c(0, .5, 1))
Calculating propensity score...Done
Matching Treated:
10%...20%...30%...40%...50%...60%...70%...80%...90%...100%...Done
Calculating summary statistics...Done
Warning message:
the condition has length > 1 and only the first element will be used in: if
(subclass) {
> summary(match.out1, verbose=F)
Error in rep.default(data, length.out = vl) :
invalid number of copies in "rep"
In addition: Warning messages:
1: no finite arguments to max; returning -Inf
2: NAs introduced by coercion
*************************************
Wang-Sheng Lee
Melbourne Institute of Applied Economic and Social Research
The University of Melbourne
Melbourne, VIC 3010
Australia
Phone: +61 3 8344 2106
Fax: +61 3 8344 2111