Skip to content

[Feature request]: Gamma and Weibull Distribution support #573

@MacdonaldJoshuaCaleb

Description

@MacdonaldJoshuaCaleb

Label

enhancement

Priority Label

medium priority

Is your feature request related to a problem? Please describe.

As part of gearing up for the upcoming flu season, I’ve been refining our priors for influenza config files. I’ve stitched together posterior parameter sets from our cross-seasonal resampling and rejection sampling to empirically inform prior choices.
Based on AIC comparisons (ΔAIC ≥ 4 marked with ★), Gamma and Weibull distributions frequently fit these empirical posteriors better than LogNormal, as shown in the attached plots:

Image

I'd like to request support for Gamma and Weibull priors in FlepiMoP—this should be relatively straightforward, likely just a wrapper around scipy.stats.gamma and weibull_min, analogous to how lognorm is currently handled.

Is your feature request related to a new application, scenario round, pathogen? Please describe.

This would be generally useful, but is motivated by the upcoming influenza round.

Describe the solution you'd like

The ability to have gamma and Weibull as options when specifying distributions

Metadata

Metadata

Assignees

Labels

enhancementRequest for improvement or addition of new feature(s).inferenceConcerns the parameter inference framework.medium priorityMedium priority.r-inferenceRelating to the R inference package.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions