This is the code to recreate the analysis in Quantifying the direct and indirect protection provided by insecticide treated bed nets against malaria.
Files 01, 02 and 05-09 use the Imperial College London deterministic malaria model. This can be installed following the instructions here.
Files 03 and 04 download and analyses Demographic Health Survey data. Access to this data can be requested from the previous link. We include code to download the data using the rdhs R package once access has been granted. Installation and set up is needed for the rdhs package and instructions can be found here.