Zelig does not automatically handle the weights created by MatchIt. You can either use
them as regression weights or simply run the model within each subclass. Try
demo(analysis) for MatchIt to see some examples.
Kosuke
Department of Politics
Princeton University
http://imai.princeton.edu
On Jul 19, 2011, at 9:45 PM, Francois Maurice wrote:
Hi,
I'm using MathcIt with Zelig to estimate a causal effect. How Zelig handle weights
created by a matching method ? I try to folllow Example 4 from Zelig's demo(match).
The example is about calculating the conditional average treatment effect for the entire
sample using subclassification.
The example specify the 'by' argument like this : by="subclass",
which is fine. But there is nothing about weights created by the subclassification
mehtod.
Is the zelig() function automatically handles weignts created by any matching methods
from the MatchIt package ?
If no, how to specify weights within the zelig() function ?
If yes, can I extract the match dataframe before using zelig() and thus specifying the
argument 'data=matcheddata' or is it necessary to specify the argument as in the
example 4 : 'data=match.data(m.out) ?
Merci,
François Maurice
Candidat à la maîtrise
Département de sociologie
Université de Montréal
-
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/