***********************************************************************************
* "Responses to Eliminating Savings Commitments: Evidence from Mortgage Run-offs" *       
*  Steffen Andersen, Philippe d'Astous, Jimmy Martinez-Correa, and Stephen Shore  *
***********************************************************************************

This directory contains:

README.txt file
0_Main.do
1_Data.do
2_Runoffs.do
3_MainResults.do
4_AppendixResults.do
5_Graphs.do

The stata .do files replicate all results presented in the paper, and should run in sequence as explained below.

0_Main.do runs all other .do files and generates all results presented in the manuscript and in the online appendix,

1_Data.do generates all data from raw data files currently available on the closed server environment at Statistics Denmark (as of October, 2020) under project 703278. 

2_Runoffs.do constructs the runoffs and the datafiles to run the main analysis

3_MainResults.do reproduces the tables from the main body of the JMCB paper.

4_AppendixResults.do reproduces the tables from the appendix of the JMCB paper.

5_Graphs.do reproduces the graphs presented in the JMCB paper.

STATA files are written such that they generate usable files for the raw data currently available from Statistics Denmark as of March 31, 2020. 

Administrative registers are corrected over time for minor mistakes, implying that the underlying raw data might change in the future. Although this might make exact replication of estimated coefficients difficult in the future, results are usually replicable to second decimal precision.

For more information on how to obtain the exact Dataset generated in the file 1_Data.do (i.e. DATA_FINAL.dta and DATA.dta), please contact Steffen Andersen (san.fi@cbs.dk) as these files are stored at Statistics Denmark under project 703278. 



