julia -i LBOmatchscript.jl
Note that this is going to throw lots of warnings about various methods being deprecated, but it works just fine.
MatchInput2V2.txt must be in the same folder as the script. Edit lines 61-66 to change the matching criteria.
Matching takes place at t-1!
Also -i dumps you to an interactive prompt for debugging.
println("Number of LBOs with complete data available for matching ", size(LBOs,1))
3 Create the patent measures
psql lbo
Note that you will need to open the connection from a directory containing matchresults.txt and PatentMeasures.sql
\i PatentMeasures.sql