serocalculator
Estimating Infection Rates from Serological Data
A seroincidence engine grows up: whole API renamed, then clustered survey designs
◆Recent moves
- 3mo ago
Cluster-robust standard errors for household and school surveys
⚡ SPARKThe release that makes serocalculator usable on the survey designs its users actually field: cluster_var and stratum_var now flow through both estimation functions, and summary.seroincidence() switches to sandwich variance when clustering is declared. It also ships the crosswalk article that finally documents the 1.4.0 rename wave.
View source ↗ - 7mo ago
Every estimation function renamed, plus a simulation-study workflow
⚡ SPARKThe break in the arc: est.incidence() became estimate_scr() became est_seroincidence(), curve_params became sr_params, load_curve_params() became load_sr_params(). Alongside the renaming, analyze_sims() and autoplot.sim_results() turn the package's simulation helpers into a way to run design studies across sample sizes.
View source ↗ - 1y ago
Bundled example datasets and a locator to find them
Groundwork rather than direction: example datasets ship inside the package with serocalculator_example() to locate them, so documentation and tests stop reaching out to external links. A real fix lands too — the antibody response curve was computed incorrectly when r = 1.
View source ↗