Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Exact Matching


From   Alexander James <alexandre_lille-paris@hotmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Exact Matching
Date   Wed, 10 Apr 2013 09:57:05 -0300

Dear Statalist members,

I am trying to run a coarsened exact matching to create comparable pair of individuals within my sample. 
In summary, I need to match an employees that leaves a firm with another employees within the same firm on several characteristics. So, the treatment is leaving the firm or not (0 or 1).

I am trying to performe the matching in the following way:

cem firm_id(#0) experience(#5) salary(#5), treatment(leave)

I am trying to first coarse the matching only within the individuals that belong to the same firm (have the same firm_id). However, After the matching I observe that although most of the control group that was generated (matched) belongs to the same firm, some observations do not. 

Would someone have a suggestion on how I could set the program to first perform an exact matching on firm_id and then match on the addition characteristics?

Best,

Alexander 		 	   		  
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index