theo_pacf: Computes the Theoretical Partial Autocorrelation (PACF) of an...

Description Usage Arguments Examples

Description

Acts as a wrapper around 'ARMAacf' to calculate the theoretical PACF process of an ARMA process.

Usage

1
theo_pacf(model = ARMA(ar = c(0.5, -0.25), ma = 0.2), lag.max = 20)

Arguments

lag.max

A integer indicating the max length.

Examples

1
2
3
4
# Computes the theoretical ACF for an ARMA(1,0) or better known as an AR(1)
theo_pacf(ARMA(ar = -0.25, ma = NULL), lag.max = 7)
# Computes the theoretical ACF for an ARMA(2, 1)
theo_pacf(ARMA(ar = ARMA(ar = c(.50, -0.25), ma = .20), lag.max = 10)

SMAC-Group/exts documentation built on May 9, 2019, 11:15 a.m.