You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Users identified several issues with configuration file specification, and regularizing the approach to parameters seems necessary to support those changes.
Is your feature request related to a new application, scenario round, pathogen? Please describe.
No response
Describe the solution you'd like
There are currently several ways various analysis parameters are approached in the examples:
files, either read in or run a file (initial_conditions)
parameters:
X0:
file: # or treating this with a more functional representation, like file(name, opt=, opt=)read: model_input/ic_2pop.csvallow_missing_subpops: TRUEallow_missing_compartments: TRUEsigma: 1 / 4gamma: 1 / 5Ro: ~trunc(norm(mean=2.5, sd=0.1), min=1.1, max=3) # or some unbundlingomega_pess: 0.02omega_opt: 0.01nu_pess: 0.01nu_opt: 0.03detection_probability: ~trunc(norm(mean=0.5, sd=0.05), min=0.3, max=0.7)detect_delay: 5hosp_probability: 0.05hosp_delay: 7hosp_duration: 10death_prob: 0.2death_delay: 14seir:
# definition basically identical, but no parameters sectionscenarios: # base = some reference scenario; if not present (including if there is no scenario key at all), automatically defined by no modifiersuse: [base, no_vax, pess_vax, opt_vax] # default to all scenarios, use this to specify which; base only automatically included when unspecifiedpess_vax_nu:
description: turn off nu_opt, only nu_pess leftnu_opt: 0pess_vax_wane:
description: turn off omega_opt, only omega_pess leftomega_opt: 0pess_vax:
description: turn off all vaccinationstack: [pess_vax_nu, pess_vax_wane]opt_vax_nu:
description: turn off nu_pess, only nu_opt leftnu_pess: 0opt_vax_wane:
description: turn off omega_pess, only omega_opt leftomega_pess: 0opt_vax:
description: turn off all vaccinationstack: [opt_vax_nu, opt_vax_wane]no_vax:
description: turn off all vaccinationmodifiers: [pess_vax, opt_vax]outcomes:
incidCase: delay(sample(incidence(I), detection_probability), detect_delay)incidHosp: delay(sample(incidence(I), hosp_probability), hosp_delay)prevHosp: accumulate(incidence(incidHosp), window = hosp_duration)incidDeath: delay(sample(incidence(incidHosp), death_prob), death_delay)scenarios: # base = some reference scenario; otherwise a "base" scenario is automatically defined in terms of no mods, and scenarios is unnecessarytest_limits:
incidCase: trunc(incidCase, max = SOMENUMBER) # slightly different model spec than example, but communicates idea
The text was updated successfully, but these errors were encountered:
Hmm, also a tough part of this: the general case for distinct populations is that they are different collections of parameter values (e.g. population size). Need to do a bit of thinking about how to approach that.
Label
documentation, enhancement, meta/workflow
Priority Label
low priority
Is your feature request related to a problem? Please describe.
Users identified several issues with configuration file specification, and regularizing the approach to parameters seems necessary to support those changes.
Is your feature request related to a new application, scenario round, pathogen? Please describe.
No response
Describe the solution you'd like
There are currently several ways various analysis parameters are approached in the examples:
Ideally, these would be under a unified interface. Thinking roughly from https://github.com/HopkinsIDD/flepiMoP/blob/main/examples/tutorials/config_sample_2pop_vaccine_scenarios.yml:
The text was updated successfully, but these errors were encountered: