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]

re: st: PSMATCH with 2 conditions


From   "Caskey, Judson" <judson.caskey@anderson.ucla.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   re: st: PSMATCH with 2 conditions
Date   Tue, 7 Sep 2010 11:07:37 -0700

See the following post for an example of forcing a match:

http://www.stata.com/statalist/archive/2010-09/msg00073.html

In your case, say you have a 4-digit industry code (e.g. SIC). You can first compute propensity scores, then make a new variable pscore2 that looks like:

pscore2 = year*100000+industry*10+pscore

If you have year 1999, industry 1234 and p-score 0.25, you get:

pscore2 = 199912340.25

If you put a caliper of, say, 0.5, it is impossible to match to a firm in a different industry/year.

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


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