agesocial: Country-specific social contacts and demography #303
Replies: 3 comments 5 replies
-
Would be interested to hear thoughts from @sbfnk @finlaycampbell @nicholasdavies @kieshaprem @njtierney |
Beta Was this translation helpful? Give feedback.
-
Matrices from Prem et al. are packaged in contactdata. Is any functionality you need not available there? |
Beta Was this translation helpful? Give feedback.
-
For demographics I'm not convinced there is such a thing as a "best available" contact matrix (the modelled ones may well be more suited to some use cases). Once we streamline the returned S3 classes people will be able to pick & choose between modelled and observed contact data using the two packages which hopefully will provide a better user experience. What I would say is that it would be really useful to have a package that refits the Prem et al. model with arbitrary age groups, as both disaggregating and aggregating these would be pretty hard, and it would be good to have a way to reflect uncertainty in the estimates. |
Beta Was this translation helpful? Give feedback.
-
Description
Epidemic scenario models often need country-specific demography and data on age-stratified social mixing, particularly if implemented as interactive dashboards where users select a country. In Epiverse package vignettes, contact matrices are currently pulled from available data in {socialmixr}. Alternatively, synethic matrices can be generated with packages like conmat.
However, other model implementations, such as covidm shiny app and simex have backend functions that import demography and projected contact matrices for a range of countries from Prem et al or contactdata that align with model structure (e.g. number of age classes), as well as pulling from alternative sources where available.
Given these are so commonly used, it could make sense to modularise this particular functionality for matrix-model alignment so that could be called by the various scenario models out there – either as a small package or a contribution to the above ones.
Typical end-users
Users of epidemics, finalsize, simulist, odin, seir etc.
Key potential collaborators
Maintainers of simex, socialmixr, conmat, contactdata
Inputs
Social mixing data and demographic statistics
Outputs
Age-specific social mixing matrix and demography vector
Imports
simex and covidm_shiny2 include the underlying data files, but would probably not be best suited as dependencies – instead, they could use this modularised functionality.
Used by
finalsize
epidemics
seir
Related projects
Usage
Additional comments
...
Beta Was this translation helpful? Give feedback.
All reactions