oneStepAhead_hhh4lag: Predictive Model Assessment for hhh4_lag Models

View source: R/hhh4lag_oneStepAhead.R

oneStepAhead_hhh4lagR Documentation

Predictive Model Assessment for hhh4_lag Models

Description

A version of surveillance::oneStepAhead for hhh4_lag objects. NOTE: by default the lag_par parameter is not re-fit in this function!

Usage

oneStepAhead_hhh4lag(
  result,
  tp,
  type = c("rolling", "first", "final"),
  refit_par_lag = FALSE,
  which.start = c("current", "final"),
  keep.estimates = FALSE,
  verbose = TRUE,
  cores = 1
)

Arguments

refit_par_lag

Only new argument compared to surveillance:oneStepAhead: should the lag weighting parameter lag_par be re-fitted in each iteration? Defaults to FALSE.


jbracher/hhh4addon documentation built on Feb. 16, 2024, 1:45 a.m.