Replication Materials for "Machine learning estimates on the impacts of detection times on wildfire suppression costs"
Description
This repository contains the data and the code necessary to replicate the results of "Machine learning estimates on the impacts of detection times on wildfire suppression costs", authored by Michael Shucheng Huang and Bruno Wichmann. DOI: 10.1371/journal.pone.0313200.
Files
Steps to reproduce
The results are obtained using two software: Stata and R. To replicate the results, unzip the "Replication" folder and save all files in a chosen working directory. Run the Stata do file first (file "Stata_Codes"). This will generate Tables 1 and 3, Figures 3, 4, 5, 6, and 7, and it will create the data required to replicate Table 4 (in R). Next, run the R script entitled "R_Codes". This code implements the orthogonalization and cross-fitting procedures and generates the results in Table 4. This code may take several hours to complete.