upgrade.hhh4: Refit a HHH4 model with a ZI Component

View source: R/hhh4ZI_hhh4.R

upgrade.hhh4R Documentation

Refit a HHH4 model with a ZI Component

Description

Refits a previous hhh4 fit with a ZI component using hhh4ZI.

Usage

## S3 method for class 'hhh4'
upgrade(object, control = list(f = ~1, lag = 1, lag.unitSpecific = FALSE), ...)

Arguments

object

a "hhh4" fit.

control

either a list of specifications for the zi component of hhh4ZI or a hhh4 control list with added zi specification.

...

further (non-zi) control elements.


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