you can get the matched data only if you select the row of your data set for which
m$w>0
where m is the output of cem(), i.e.
m <- cem(treatment, data, ecc)
if you use a linear model lm() or similar commands which accept weights, you can pass m$w
as the argument to weights= in your command, i.e. model <- lm( outcome ~ .,
data=mydata, weights=m$w)
you can also use CEM via matchit()
best regards
stefano
On 13 Feb 2012, at 08:44, Ashkan Moazzez, MD wrote:
Dear members of the CEM list,
I was wondering if there is a way to extract the data after you match them with CEM? Is
there an equivalent command like match.data in matchit() for CEM?
Best regards,
Ashkan
Ashkan Moazzez, MD
-
--
cem Mailing List, served by HUIT
Send messages: cem(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=cem
More information on cem:
http://gking.harvard.edu/cem
Cem mailing list
Cem(a)lists.gking.harvard.edu
https://lists.gking.harvard.edu/mailman/listinfo/cem
-----------------------------------
Stefano M. Iacus
Department of Economics,
Business and Statistics
University of Milan
Via Conservatorio, 7
I-20123 Milan - Italy
Ph.: +39 02 50321 461
Fax: +39 02 50321 505
http://www.economia.unimi.it/iacus
------------------------------------------------------------------------------------
Please don't send me Word or PowerPoint attachments if not
absolutely necessary. See:
http://www.gnu.org/philosophy/no-word-attachments.html