serofoi
Estimates the Force-of-Infection of a given pathogen from population based sero-prevalence studies
serofoi grew a serosurvey simulator alongside the force-of-infection models it was built to fit.
◆Recent moves
- 1y ago
Constant FoI plots, r-hat plotting and shorter parameter names
Visualisation functions gain plot_constant and x_axis arguments so constant force-of-infection estimates and their r-hat values can be plotted without ambiguity about the axis, and a round of renaming shortens the simulation module's long parameter names.
View source ↗ - 1y ago
Serological surveys can now be simulated end to end
Simulation expands from force-of-infection trends to whole serosurveys, separating the serocatalytic model from the survey design so each can be specified independently. A dedicated vignette accompanies it.
View source ↗ - 2y ago
Simulation functions added; fitted output simplified to a Stan fit
Data can be simulated from time- or age-varying force-of-infection trends and grouped into serosurveys. fit_seromodel() stops returning a bundled list and returns the Stan fit object directly, which breaks code reaching into the old structure.
View source ↗ - 3y ago
First release: three force-of-infection models and the core modules
The initial release ships the data preparation, modelling and visualisation modules together with constant, time-varying normal and normal-log force-of-infection models.
View source ↗