epinowcast
A Bayesian Framework for Real-time Infectious Disease Surveillance
epinowcast added Gaussian processes to its formula interface and made the sampler twice as fast
◆Recent moves
- 1mo ago
gp() brings Gaussian processes to every module, and centring doubles sampling speed
⚡ SPARKA gp() formula helper places an approximate Gaussian process on any module's linear predictor — growth rate, latent-to-observation proportion, both delay forms, report hazards and missing-reference proportion — using a Hilbert-space reduced-rank approximation with five selectable kernels. Separately, the fixed-effects design and integrated residuals are centred against the module intercept, decorrelating intercept from slopes and latent drift.
View source ↗ - 3mo ago
CRAN preparation, inspection methods, and retrospective-only fitting
Moves cmdstanr and scoringutils to Suggests, adds print(), summary(), plot() and enw_get_data() accessors, and restructures the getting-started vignette around three competing models to present the package as a toolkit rather than one model. max_delay = 1 support means it can now fit fully reported counts with no nowcasting at all, widening the use case beyond right-truncation.
View source ↗ - 7mo ago
Structural reporting patterns for non-daily reporting cycles
Adds enw_structural_reporting_metadata() and enw_dayofweek_structural_reporting() so weekly or other non-daily reporting cycles can be modelled over a daily generative process, with precomputed sparse index lookups for the aggregation. Closes a gap the features vignette had listed as in development.
View source ↗ - 10mo ago
Lifecycle moves to stable; pathfinder and negative binomial support
The package declares interface stability, adds experimental pathfinder support for rapid prototyping and HMC initialisation, and introduces a negative binomial observation model with a linear mean-variance relationship. Sparse design matrices address memory pressure on larger models. The stability declaration is the notable part — it signals the formula interface is now something to build on.
View source ↗ - 2y ago
Non-parametric reference date models and a stricter max_delay default
Adds support for non-parametric reference date models alongside the existing parametric form, and changes the max_delay default to the maximum observed delay with a warning, pushing users to set it from their data. Broad contributor list on this release relative to the ones around it.
View source ↗ - 3y ago
Fix initial conditions for cmdstan 2.32.1 compatibility
Passes optional initial conditions as arrays to satisfy a cmdstan 2.32.1 change, plus input checking on max_delay. Required to use newer cmdstan, but no modelling change.
View source ↗