serofoi
serofoi copied to clipboard
Estimates the Force-of-Infection of a given pathogen from population based sero-prevalence studies
We may have data from multiple years. The current approach assumes a single survey year. This is linked to #70
Including replacing calls to simulated data with code in vignettes.
At the moment, it seems that several arguments are passed from `fit_seromodel()` to `rstan::sampling()` directly, without any transformation. Additionally, some `rstan::sampling()` are hardcoded, even though users might want to adjust...
* **Please check if the PR fulfills these requirements** - [x] I have read the CONTRIBUTING guidelines - [ ] A new item has been added to `NEWS.md` - [...
This is to address https://github.com/epiverse-trace/serofoi/pull/83#discussion_r1294343451 in a separate PR.
There are a number of Stan files with very similar structure. This redundancy will make it harder to extend functionality, test etc. So I propose we combine them into a...
Verify that parameters have the correct datatype and format
Users may want to perform a quick optimisation to check their fit to data rather than wait for MCMC sampling. I'd propose something like: ``` fit
Currently, the MCMC is initialised using arbitrary FOI values etc. which vary according to the specific model being fitted. To make this more robust, I'd suggest the following approach: 1....