Skip to contents

Controls either the autoregresive AR() or the moving-average MA() components of the epidemic and delay process

Usage

AR(epidemic_trend = 1, delay_trend = 1)

MA(epidemic_errors = 1)

Arguments

epidemic_trend

Integer. Degree of the epidemic trend. Refers to the p parameter in an ARMA(p,q) for the epidemic process.

delay_trend

Integer. Degree of the delay trend. Refers to the q parameter in an ARMA(p,q) for the delay process.

epidemic_errors

Integer. Degree of the errors in the epidemic trend. Refers to the q parameter in an ARMA(p,q) for the epidemic process.

Examples

AR(2,2)
#> $mu_p
#> [1] 2
#> 
#> $nu_p
#> [1] 2
#> 
MA(1)
#> $mu_q
#> [1] 1
#>