The initial case description and the model implementation for jupyter notebook could be found according to the structure below:
case description |__ case sub-saharan psa.pdf html |__ psa_cashflow_projection.html jupyter notebook win |__ mc_simulation.py |__ psa_cashflow_projection-win.ipynb jupyter notebook |__ psa_cashflow_projection.ipynb requirements.txt
To run a jupyter notebook one should install the necessary python packages, i.e.:
> conda create --name ENV_NAME python=3.6.9
> conda activate ENV_NAME
> pip install -r requirements.txt
To directly download of an html version please follow this Dropbox link.
P.S. Due to specific jupyter notebook arrangement for the multiprocessing package ('spawn' start method), please use separate win version with the supplementary python file to import.