Dear list
Is there a way to estimate the ATT and ATE effect sizes after calling MatchIt? I am using MatchIt to perform optimal matching for causal inference.
Thanks in advance
Barth Riley
Dear lists
I am using both MatchIt and Zelig to perform propensity score and post hoc
analyses. It appears, particularly with zelig, that the only way I can
specify an equation is to first attach the dataset to the environment. The
unfortunate consequence of doing this is that some variables in the dataset
are masked and inaccessible.. I have tried running this program using with (
{} ) and by prepending the dataset name to the variables in my equations,
but each of these strategies cause other errors (e.g., variables not being
found, or confusion between the dataset name and the variable name). So my
question is hether there are other alternatives that could be used in lieu
of attach() or ways of avoiding variable masking.
Thanks in advance
Barth
Hi
I am trying to do a “nearest neighbour match”, using the MatchIt package in R. The dataset I use I quite large (4million rows). And MatchIt takes forever, 24hours+ and still counting. I have set the verbose = TRUE, and MatchIt has not yet reached 10%
Is there a way to speed it up?
/Olaf Irgens
University of southern denmark
Dear Sir
Greetings!
I am from Nepal. I am using matchIt package in r for creating matched
data-set. I want to do full matching but the problem I am facing is that It
doesn't allow larger sample size..my sample is based on Nepal Living
standard survey with 9901 number of observations. How should I deal with
this. The command and output is shown below.
m.out <- matchit(rural ~ hhsize+fuel+garbage, data=dat1,
+ method="full")
Output:
Error: matrix arg to fmatch may have only 1e+07 -(nrows+ncols+2) finite
entries; 8432333 too many
Thank you very much
Greetings,
I am doing the optimal 1:1 matching using the MatchIt package in R. I
wanted to explore the “discard=” option, but got some errors.
Specifically, with the discard=”both” option (all units (treated and
control) that are outside the support of the distance measure will be
discarded), I got the following error: Error in d[i, ] <- abs(d1[i] - d0) :
number of items to replace is not a multiple of replacement length.
With the discard=’hull.both” option (all units that are not within the
convex hull will be discarded), I got the error message below: Error in
value[[1L]] : subscript out of bounds.
According to the MatchIt manual, the "discard" option applies to the
optimal matching. But I only see this option included in full matching.
Could you kindly confirm if this option works for Optimal matching or not?
If so, what are the solutions for the above error messages?
Thank you and I look forward to hearing from you soon!
Jessie