**Positive integers identify pairs matched, negative integers identify matched non-LBOs in years other than the match, -0.1 identifies LBOs that failed to match to any non-LBOs under constraints provided
===Running Code===
*Open Julia command line in administrator mode
*Change directory to E:\McNair\Projects\LBO\New matching\
There are a few things options that can be customized in the scriptbefore running. Getting this the code into a more user-friendly form is a WIP. In fact, some parts might be difficult, if not impossible, to write in a more accessible way.
Before running, modify the following options if necessary:
====Specify input file (if using different file than default)====
*Alternatively, can use the aboveoptions, with regressions performed using winsorized values of regressors (trimmed at 1st and 99th percentiles): logitpw, probitpw, hrw
Line 58:
mscore = :logitpw;
===Specify whether matching priority should be deterministic or random===
*If deterministic, priority goes to lower GVKEY
Line 61:
randoption = 0;
===Specify whether matching priority should be deterministic or random. additional constraints on valid matches (modify code within function mcexpr as desired)===*If deterministicFor example, priority goes default code forces matches to lower GVKEYbe within the same industry group, within the same decade, and with patent stocks within +/- 20% of LBO firm.
Lines 69-81:
return eval(parse(mcriteria))
end
*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.