This replication package contains the following files and folders:

% table_1_and_2.do

This routine creates Tables 1 and 2 and generate the intermediate file 'data_processed.csv', the data input to the Matlab files.

% data

This folder stores all the dataset. The file 'data_init_pseudo.dta' provides a pseudo dataset that mimics the format and names of all variables. A detailed description of those variables is available under data\data_description.txt 

Note that the routines (in particular the MLE estimations) are not designed to converge on the pseudo dataset.

% matlab

This folder contains the routines to create Figures 10 to 12 and Table 2. All of these routines require the data file './data/data_processed.csv' to run, which itself is generated by the routine 'table_1_and_2.do'.

The routine 'unrestricted_estimation_bootstrap.m' runs the estimation of the unrestricted model with bootstrap. 

The routine 'restricted_bootstrap.m' runs the estimation of the restricted (structural) model and estimates the standard deviation of the estimates with bootstrap.

The routine 'restricted_estimation_counterfactuals.m' produces the counterfactuals.

The routine 'depositchannel_estimation.m' runs the estimation of the restricted (structural) model with the deposit channel extension.

The subfolder 'graphs' contains all the figures produced by the Matlab routines.

% output

This folder stores all the table produced by 'table_1_and_2.do'.