This repository contains the Matlab code for the numerical calculations for the working paper "Should I stay or should I go: Modelling disaster risk behaviour using a dynamic household level approach" by Freiberger, Hoffmann and Prskawetz (2024) available at https://pure.iiasa.ac.at/19725.