Dear users,
I am wondering whether Matchit allows for multiple treatments in the latest
version? Or I have to code it by myself.
Thanks,
Tingting
--
Tingting Liu
Department of Environment and Natural Resources Economics
University of Rhode Island
Hello:
I am interested in using MatchIt with an imputed dataset (m=10). I have
read previous questions on this listserv related to imputations and
matchit, and see that I should run the matching on each imputation.
The problem I am facing, however, is that there is missingess on the
matching variable itself, which may result in different matches per
imputation. Do you have any suggestions on how to deal with this
restriction? I was thinking of using a randomizer to "hard assign"
membership into case/control (the matching variable) with the probabilty of
being selected as a case equal to the number of imputations in which case
was imputed. Does that sound plausible, or is there a way to handle this
non-deterministic problem in MatchIt?
Andrea
--
Andrea Lamont, MA
Clinical-Community Psychology
University of South Carolina
Barnwell College
Columbia, SC 29208
Please consider the environment before printing this email.
CONFIDENTIAL: This transmission is intended for the use of the
individual(s) or entity to which it is addressed, and may contain
information that is privileged, confidential, and exempt from disclosure
under applicable law. Should the reader of this message not be the intended
recipient(s), you are hereby notified that any dissemination, distribution,
or copying of this communication is strictly prohibited. If you are not
the intended recipient, please contact the sender by reply email and
destroy/delete all copies of the original message.
Dear users,
I am wondering whether Matchit allows for multiple treatments in the latest
version? Or I have to code it by myself.
Thanks,
Tingting
--
Tingting Liu
Department of Environment and Natural Resources Economics
University of Rhode Island
> library(MatchIt)
Loading required package: MASS
> m.out <- matchit(treat ~ re74 + re75 + age + educ, data = lalonde,
+ method = "optimal", ratio = 2)
Warning message:
In fullmatch(d, min.controls = ratio, max.controls = ratio, omit.fraction =
(n0 - :
Without 'data' argument the order of the match is not guaranteed
to be the same as your original data.
Is there a problem here?
--
Ajay Shah
ajayshah(a)mayin.org
http://www.mayin.org/ajayshahhttp://ajayshahblog.blogspot.com
Hi All,
Thank you so much for all of your helpful advice! I've imported a distance
measure into MatchIt and when I try to use it for matching I receive the
following message:
Warning message:
In if (distance %in% c("GAMlogit", "GAMprobit", "GAMcloglog", "GAMlog", :
the condition has length > 1 and only the first element will be used
It looks as though MatchIt thinks I'm trying to use generalized additive
models to estimate the distance measure. However, when I list the variables
in my data set, MatchIt lists the propensity score that I read in as the
"distance". Data set also includes a variable called "weights" that's
equal to one for all observations. My imported distance measure ranges from
0.007 to 0.9479.
I'd appreciate any advice you may have on what this message means and how
to address it so that I can match. Thanks again for your help.
Best wishes,
Sharon Simonton
Hello,
I hope that this finds you well. I have a data set where I have estimated the propensity score previously, and now I need MatchIt to read that propensity score and perform the matching process. With this in mind, I was wondering if there was syntax or code that could be used to have MatchIt use this existing propensity score? Thank you.
George
George E. Higgins, Ph.D.
Professor
Editor of Journal of Criminal Justice Education
2301 South Third Street
208 Brigman Hall
Department of Justice Administration
University of Louisville
Louisville, KY 40292
Phone: (502) 852-0331
Fax: (502) 852-0065