Run gen_figX or gen_tableX to generate figures and tables in the paper. 

All codes require VAR toolbox from Ambrogio Cesa-Bianchi. The package include the toolbox in the folder "VAR_Toolbox"

All codes were only tested in Matlab 2019a under Windows 10. 