This repository contains the code for "How Good is International Risk Sharing? Stepping outside the Shadow of the Welfare Theorems" by Mark Aguiar, Oleg Itskhoki, and Dmitry Mukhin
The main file is Analysis.m, which calls FOC.m and EQM.m as functions and inputs the data contained in "wb_data_1962_2022.csv". This file creates the file "Variables.mat". "figures_and_tables.m" calls Variables.mat and generates all figures and tables in Section 5 of the paper. The figures are saved to the "Figures" folder.