Hi all!
I have a question about psmatch2. Now I am trying to use psmatch2 to generate untreated group for DID analysis, my final sample contains firm-year observations. Now I can perfectly generate 1-1 firm-year matching, for example, firmA in 2001 is matched with firmB in 2001, firmC in 2005 is matched with firmD in 2005. However, the problem is, sometimes, firmC in 2005 is also matched with firmB in 2005, so the numbers of firm in untreated group sometimes will be smaller than the numbers of firm in treated group (since I think my code is to match each firm-year with each firm-year observation). What I want to do is: if firmB is matched to firmA in 2001, then I do not want firmB to be matched with firmC in other year, say 2005, therefore the numbers of firm in treated group and untreated group will be the same.
Iwould like to askif there are options for psmatch2 to solve this problem? or i should use other methods?
Many thanks in advance!!!
Example of my code:
probit Indicator Ln_Asset Leverage Profitability Tangibility ROA i.fyear, iterate(10)
predict pscore1 if e(sample), pr
gen pscore2=fyear*100+pscore1
psmatch2 Indicator, pscore(pscore2) noreplacement caliper(0.5) comm neighbor(1)
Related Posts with Psmatch2 matched by firm
Using mi estimate with any commandThe formulas implemented by -mi estimate:- apply to any efficient estimator, but -mi estimate:- only…
Generating duplicate observations with one variable changedI am working with data containing observations for patients undergoing a surgical procedure that is …
How should I keep only observations with consecutive data around certain events without missing values in some varsHi, I'm a new one to this forum, and I wanted to ask for some help regarding a (maybe naive) questi…
mlogit not concave when year dummies are includedDear Statalisters, I am running a mlogit regression. When I include year dummies in the regression, …
Turning point for quadratic and interaction termsHi, I used dynamic panel estimation model - GMM to examine the relationship between institutions an…
Subscribe to:
Post Comments (Atom)
0 Response to Psmatch2 matched by firm
Post a Comment