In each forward run of the forecast, each person get's assigned an age_group attribute depending on the probabilities specified in proba_Presenting_given_* defined in the parameter json file.
Along with the counts in each state, the counts in each group and each state are also computed as update_*_matrix_by_age() methods in the PatientTrajectory class.
11
Adding Counts in Age Group for Every Stage and Time-step
Summary
Updated param_simple_example.json, PatientTrajectory.py and run_forecast to now simulate counts for 4 age groups : 0-19", "20-44", "45-64", "65+.
These specific age groups were set as per literature survey done here : [https://docs.google.com/document/d/1a1lKY4ElVh7bh9RpD7TL3kzhfZGn13ELtsZRlUYCNsM/edit?usp=sharing]()
Implementation
In each forward run of the forecast, each person get's assigned an age_group attribute depending on the probabilities specified in
proba_Presenting_given_*
defined in the parameter json file.Along with the counts in each state, the counts in each group and each state are also computed as update_*_matrix_by_age() methods in the PatientTrajectory class.
Example simulation
python run_forecast.py --config_file "params_simple_example.json" --random_seed 8675309 --output_file "results.csv"
occupancy_total
always adds up the sum ofoccupancy_*
across age groups.