[Feature request]: Subset Statistics By Subpopulation/Date in gempyor.statistics.Statistic
#483
Labels
config
Relating to configuration files or their framework.
enhancement
Request for improvement or addition of new feature(s).
gempyor
Concerns the Python core.
inference
Concerns the parameter inference framework.
medium priority
Medium priority.
quick issue
Short or easy fix.
Milestone
Label
enhancement, gempyor, inference, config, quick issue
Priority Label
medium priority
Is your feature request related to a problem? Please describe.
In some cases ground truth data may be missing, such as not reported, but would like to fit to said data anyways. An example would be maybe data is missing for some date range or is missing for a particular subpopulation.
See GH-481 for an example of NaNs in the ground truth that could've been ignored.
Is your feature request related to a new application, scenario round, pathogen? Please describe.
No response
Describe the solution you'd like
The addition of new options to a
statistic
configuration for subsetting by date/subpopulation. An example would be:But this style of configuration assumes that if you want to make modifications to a statistic it's that data is limited to some period, not that it is missing from some period so maybe some thought should be given to how to best specify "all dates except December 2023" or similar.
In practice I think we could replace the corresponding entries in
likelihood
with 0s as that will not change the log-likelihood optimization.The text was updated successfully, but these errors were encountered: