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
GMM estimation and Agumented taylor ruleHow to estimate the four parameters of the Augmented Taylor Rule i_t=(1-ρ)α+(1-ρ)βπ_(t+n)+(1-ρ)γx_t+…
Trailing but not leading zeros in display formatI would like to display a set of probabilities at two decimal places but with no leading zeros. E.g.…
Formatting datetime from one format to another in same variableHello everyone! I am facing some issues with my timestamp variable. The data that I have received f…
graph x-axis not legibleI used the code below to generate the attached plot but the values on the x-axis are not legible. Ki…
Color for figure: twoway (tsline)Hi all, I am making a figure and I would like to differentiate between colors. Specifically, I want…
Subscribe to:
Post Comments (Atom)
0 Response to Psmatch2 matched by firm
Post a Comment