Predictive accuracy belongs to tbl.now::score_nowcast() and
tbl.now::nowcast_backtest(). fit_check() deliberately reports only
diagnostics specific to the RTMB optimization performed by
diseasenowcasting.
Arguments
- object
A result from
nowcast()orauto_nowcast(). Native diseasenowcasting operations unwrap the common result automatically.- warn
If
TRUE, warn when any retained fit fails the common optimizer adequacy predicate: finite objective and derivatives, optimizer code zero, box-constrained KKT residual, positive-definite curvature on the locally free subspace, and a quadratic objective-gap estimate no larger than0.01.
Value
A data frame with one row per retained RTMB fit and columns fit,
rung, convergence, objective, raw and projected gradients, quadratic
objective gap, Hessian status, any Laplace-precision regularization used
for prediction, overall status, and diagnostic reasons.
See also
diseasenowcasting_workflows for the distinction between native fit
diagnostics and predictive scoring; nowcast_diagnostic(),
tbl.now::score_nowcast(), tbl.now::nowcast_backtest()
