This code repository contains Matlab codes to reproduce the simulations discussed in sections 4.2 (Model simulation) and 4.3 (Insights for financial sector policies) and appendix B (General model with tau=phi=1).THIS DATASET IS ARCHIVED AT DANS/EASY, BUT NOT ACCESSIBLE HERE. TO VIEW A LIST OF FILES AND ACCESS THE FILES IN THIS DATASET CLICK ON THE DOI-LINK ABOV