The file run_all reproduces the VAR results (Figures 9 and 10 and the VAR figures in the appendix) contained in the paper "Measuring Geopolitical Risk". Change nd=20000 to obtain 20,000 draws from the posterior distribution.