It appears that average treatment effects are not calculated in the version of Zelig currently on CRAN. Note that this is a Zelig issue, not a MatchIt issue. See the "missing features" section of http://cran.r-project.org/web/packages/Zelig/NEWS.
Best, Ista On Mon, Feb 24, 2014 at 9:09 AM, Marwan Khawaja <marwan.khaw...@gmail.com> wrote: > Hello, > I am trying to estimate average treatment effect in the MatchIt package > (current R version on Windows), and ran the model exactly as in the > documentation page 13, and got the following error massage, > > ate.all<-c(s.out61$qi$att.ev, -s.out62$qi$att.ev)Error in > -s.out62$qi$att.ev : invalid argument to unary operator > > (s.out62 is similar to s.out2 in the example0 > > Appreciate your help. Kindly respond to my private email - am not a > subscriber to R help list at the moment. > > Thanks Marwan Khawaja > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.