Solution Notes for 'Minimal utilitarian benchmarks for NDCs yield equity, climate, and development advantages.'
This code provides the ability to replicate all modeling runs in the paper Budolfson et al. 2018 “Minimal utilitarian benchmarks for NDCs yield equity, climate, and development advantages.” This code also would permit a user familiar with Mimi to implement further modeling runs under alternative assumptions, by changing our code.
The code is run in the programming language Julia. You must have version 1.2 downloaded.
Within Julia, we use Mimi, which requires the Mimi Framework registry to be added in the following way:
- Open up the Julia package manager. In the latest version of Julia, you can do this by hitting the ] key. To exit the package manager, you can hit the backspace key.
- In the package manager, run the line: registry add https://github.com/mimiframework/MimiRegistry.git
Once this is comlete, you will need to add the following packages:
- MimiRICE2010.jl
- DataFrames.jl
- CSVFiles.jl
- NLopt.jl
This software is all available for free download. To download DataFrames, for example, go to Julia and type the command Pkg.add(“DataFrames.jl”)
- Our software: Our paper implements model runs under two scenarios: utilitarianism and cost-minimization. We have a Julia file that runs each of these simultaneously: “run_analysis.jl”. Running this produces csv files which contain our output. We produced our final figures from these csv files by using Stata’s graphics features. It is easy to amend the ethical parameters of our model (ρ, η) at the top of that file to produce the alternative runs in the Supplementary Information section of the paper. To change other parameters or the structure of the RICE model, it would be necessary to edit the 'create_rice.jl' file or individual underlying components.
- File structure: The folders on this page should be downloaded in their entirety. The code is set-up to look within specific sub-folders to call routines; failing to downloading one these may prevent the program from running successfully.
Our model is built upon Nordhaus’ RICE 2010 model. We made several slight modifications:
- Population numbers are updated to match the UN World Population Prospects. Data included in the 'data' folder here.
- Savings rates have been changed to 0.258, a fixed value. This is done in the 'create_rice.jl' file.
- The social rate of time preference (ρ) is changed to .008.
To replicate the original RICE solution:
- Edit ρ, η back to 0.015 and 1.5, respectively.
- Go into the 'create_rice.jl' file and comment out the lines manually setting the savings parameter as well as the population parameters.