(Not implemented yet: More user-friendly way to input restrictions)
*Specify which observations are valid for matching. For now, we filter out all firms that were never granted a single patent in the period 1970-2015
**For firms that LBO, we also drop their observations in all other years from the list of candidates to match to other LBOs**See inline comments in code for detailed description of what matchfilter2, matchfilter4, etc. represent
Lines 38-48
*Specify propensity score type to use for matching
**Options are: logitp (panel logit), probitp (panel probit), or Cox proportional hazard (hr)**Alternatively, can use the above, with regressions performed using winsorized values of regressors (trimmed at 1st and 99th percentiles):logitpw, probitpw, hrw
line 58:
mscore = :logitpw;
*Specify additional constraints on valid matches (modify code within function mcexpr as desired)
**For example, default code forces matches to be within the same industry group, within the same decade, and with patent stocks within +/- 20% of LBO firm.
lines 69-81: