chjackson / healthchecks

0 stars 0 forks source link

Health Checks Microsimulation Model

Requirements

Simulating a population

import HC_main as hc
H = hc.HealthChecksModel(population_size=250000,
                         simulation_time=60, # number of years to simulate
                         HealthChecks=False,
                         randseed=1,         # random number seed 
                         randpars=False,     # draw random parameter values?
                         nprocs=4  # number of CPU cores for parallelisation
                         )
H.Run()

The python object H contains all simulated outcomes.

Examples of extracting aggregate results from the simulated population are given in getresults.py.

The memory of a typical desktop computer permits a maximum of about 250000 people per model run.

Shell scripts are therefore used to simulate larger populations in batches.

Scripts to reproduce the analyses in the paper

Base case only

All scenarios

All scenarios, with statistical uncertainty

Key variables

Formatting results