This package provides functions to estimate age mixing preferences for mathematical models of STIs. The analysis methods were published in "Revisiting Assumptions about Age Preferences in Mathematical Models of Sexually Transmitted Infection" (Easterly, et al., 2018).
There are three functions provided by mixage
,
estimate_age_mixing to estimate age mixing from your data.
best_age_mixing, to run estimate_age_mixing with different assumptions and find the best mixing structure.
define_age_group_matrix, to take the best age mixing estimates from "Revisiting Assumptions about Age Preferences in Mathematical Models of Sexually Transmitted Infection" (Easterly, et al., 2018), and adapt them to your age groups and population age distribution.
Useful links:
Report bugs at https://github.com/caleb-easterly/mixage/issues
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.