Skip to contents

Nowcasting

Workhorse functions. Both fit a negative binomial model to the delay triangle; nowcasting_inla() uses ‘INLA’ and nowcasting_mgcv() uses ‘mgcv’.

nowcasting_inla()
Nowcasting with a Bayesian negative binomial model fitted by 'INLA'
nowcasting_mgcv()
Nowcasting with a negative binomial GAM fitted by 'mgcv'

Model fitting

Lower-level functions called by the workhorse functions.

nowcasting_no_age_inla()
Fit the non-structured nowcasting model with 'INLA'
nowcasting_age_inla()
Fit the structured (age) nowcasting model with 'INLA'
nowcasting_no_age_mgcv()
Fit the non-structured nowcasting GAM
nowcasting_age_mgcv()
Fit the structured (age) nowcasting GAM

Post-processing

nowcasting.summary()
Summarise nowcasting trajectories
slope.estimate.quant()
Estimate the slope of the nowcasted curve

Data

sragBH
SARI data from Belo Horizonte