Welcome to epimodels’ documentation!¶
This is the documentation for the implementation of a collection of three epidemiological models used in the modelling of cases observed during the COVID-19 pandemic.
- List of Epidemiology Models
- Public Health England & Cambridge Model
PheSEIRModelPheSEIRModel.age_groups_names()PheSEIRModel.check_death_format()PheSEIRModel.check_positives_format()PheSEIRModel.compute_rt_trajectory()PheSEIRModel.compute_transition_matrix()PheSEIRModel.loglik_deaths()PheSEIRModel.loglik_positive_tests()PheSEIRModel.mean_deaths()PheSEIRModel.mean_positives()PheSEIRModel.n_outputs()PheSEIRModel.n_parameters()PheSEIRModel.new_infections()PheSEIRModel.output_names()PheSEIRModel.parameter_names()PheSEIRModel.read_contact_data()PheSEIRModel.read_regional_data()PheSEIRModel.region_names()PheSEIRModel.samples_deaths()PheSEIRModel.samples_positive_tests()PheSEIRModel.set_age_groups()PheSEIRModel.set_outputs()PheSEIRModel.set_regions()PheSEIRModel.simulate()
- Roche SEIRD Model
RocheSEIRModelRocheSEIRModel.age_groups_names()RocheSEIRModel.check_death_format()RocheSEIRModel.check_positives_format()RocheSEIRModel.compute_rt_trajectory()RocheSEIRModel.compute_transition_matrix()RocheSEIRModel.formula_SI()RocheSEIRModel.loglik_deaths()RocheSEIRModel.loglik_positive_tests()RocheSEIRModel.mean_deaths()RocheSEIRModel.mean_positives()RocheSEIRModel.n_outputs()RocheSEIRModel.n_parameters()RocheSEIRModel.new_deaths()RocheSEIRModel.new_infections()RocheSEIRModel.output_names()RocheSEIRModel.parameter_names()RocheSEIRModel.read_contact_data()RocheSEIRModel.read_npis_data()RocheSEIRModel.read_regional_data()RocheSEIRModel.region_names()RocheSEIRModel.samples_deaths()RocheSEIRModel.samples_positive_tests()RocheSEIRModel.set_age_groups()RocheSEIRModel.set_outputs()RocheSEIRModel.set_regions()RocheSEIRModel.simulate()
- Warwick-Household Model
WarwickSEIRModelWarwickSEIRModel.age_groups_names()WarwickSEIRModel.check_death_format()WarwickSEIRModel.check_new_deaths_format()WarwickSEIRModel.check_new_hospital_beds_format()WarwickSEIRModel.check_new_hospitalisation_format()WarwickSEIRModel.check_new_icu_beds_format()WarwickSEIRModel.check_new_icu_format()WarwickSEIRModel.check_positives_format()WarwickSEIRModel.compute_rt_trajectory()WarwickSEIRModel.compute_rt_trajectory_paper()WarwickSEIRModel.compute_transition_matrix()WarwickSEIRModel.loglik_deaths()WarwickSEIRModel.loglik_positive_tests()WarwickSEIRModel.mean_deaths()WarwickSEIRModel.mean_positives()WarwickSEIRModel.n_outputs()WarwickSEIRModel.n_parameters()WarwickSEIRModel.new_deaths()WarwickSEIRModel.new_hospital_beds()WarwickSEIRModel.new_hospitalisations()WarwickSEIRModel.new_icu()WarwickSEIRModel.new_icu_beds()WarwickSEIRModel.new_infections()WarwickSEIRModel.output_names()WarwickSEIRModel.parameter_names()WarwickSEIRModel.read_contact_data()WarwickSEIRModel.read_regional_data()WarwickSEIRModel.region_names()WarwickSEIRModel.samples_deaths()WarwickSEIRModel.samples_positive_tests()WarwickSEIRModel.set_age_groups()WarwickSEIRModel.set_outputs()WarwickSEIRModel.set_regions()WarwickSEIRModel.simulate()
- Public Health England & Cambridge Model
- Inference Classes
- Public Health England & Cambridge Model
- Roche SEIRD Model
- Warwick-Household Model
WarwickSEIRInferWarwickSEIRInfer.inference_problem_setup()WarwickSEIRInfer.optimisation_problem_setup()WarwickSEIRInfer.read_deaths_data()WarwickSEIRInfer.read_delay_data()WarwickSEIRInfer.read_extended_contact_matrices()WarwickSEIRInfer.read_extended_population_structure()WarwickSEIRInfer.read_model_data()WarwickSEIRInfer.read_serology_data()WarwickSEIRInfer.return_loglikelihood()
WarwickLogLikWarwickLogPrior
- Setup Matrices
- Contact Population Matrix
- Region-specific Susceptibility Matrix
- Mono Time&Region-specific New Infections Matrix
- Multi Time&Region-specific Contact Matrix
- Mono Time&Region-specific Infectivity Matrix and Reproduction Number Computer
- Multi Time&Region-specific Infectivity Matrix and Reproduction Number Computer
- Model Parameters Classes
- Parameter Classes for the PHE Model
- Initial Conditions Parameters
- Regional and Time Dependent Parameters
- Disease Specific Parameters
- Simulation Method Parameters
- Parameters Controller
- Parameter Classes for the Roche SEIRD Model
- Initial Conditions Parameters
- Average Times in Compartments Parameters
- Proportions of Asymptomatic, Super-spreader and Dead Parameters
- Transmission Specific Parameters
- Simulation Method Parameters
- Parameters Controller
- Parameter Classes for the Warwick-Household Model
- Initial Conditions Parameters
- Regional and Time Dependent Parameters
- Disease Specific Parameters
- Transmission Specific Parameters
- Simulation Method Parameters
- Social Distancing Parameters
- Parameters Controller