Skip to content
/ paramix Public

a package for aggregating parameters and disaggregating outcomes from compartmental models

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

cmmid/paramix

Repository files navigation

paramix

Tools for calculating aggregate parameters and for disaggregating outcomes.

Overview

For more complex infectious disease compartmental models, you may need to represent populations groups which discretize or group some continuous feature. For example, your model might use broad age groups, but you might have higher resolution data on critical processes by age. And once you've run your model, you might want outcomes associated with those processes at finer resolution for some follow on analyses.

The paramix package provides convenient functions to create both the correct aggregate parameters and to disaggregate outcomes.

Installation

remotes::install_github("cmmid/paramix")

Usage

Briefly, there are three steps:

  • create a translation object (alembic) based on the parameter function (e.g. the infection fatality ratio as a function of age), the density distribution of the pertinent feature (e.g. the population age pyramid), the model partitions of the feature (e.g. age groups), and the post-processing partitions of the feature (e.g. age in years).
  • create model parameters (blend) from the alembic
  • apply the alembic to model results (distill) to impute higher resolution outcomes

About

a package for aggregating parameters and disaggregating outcomes from compartmental models

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published