update.hhh4ZI: Refit a 'hhh4ZI' Model

update.hhh4ZIR Documentation

Refit a hhh4ZI Model

Description

Re-fit a hhh4ZI model with a modified control list, equivalently to update.hhh4.

Usage

## S3 method for class 'hhh4ZI'
update(
  object,
  ...,
  S = NULL,
  subset.upper = NULL,
  use.estimates = object$convergence,
  evaluate = TRUE
)

Arguments

object

a fitted "hhh4ZI" model.

...

elements modifying the original control list.

S

a named list of numeric vectors (with names "ar", "end", etc) to adjust the number of harmonics in the model components via addSeason2formula, or NULL (meaning no modification of seasonal terms).

subset.upper

refit on a subset of the data up to that time point (used by oneStepAhead).

use.estimates

logical indicating if coef(object) should be used as starting values for the new fit.

evaluate

logical indicating if the updated hhh4ZI call should be evaluated or returned.


Junyi-L/hhh4ZI documentation built on Oct. 14, 2024, 11:45 p.m.