ARMAauto: compute the autocovariance function of an ARMA process

View source: R/ARMAauto.r

ARMAautoR Documentation

compute the autocovariance function of an ARMA process

Description

Background: function computes autocovariances of ARMA (p,q) from lag zero to lag.max, with inputs ar and ma. Format: (1 - ar[1]z ... - ar[p]z^p) X_t = (1 + ma[1]z ...+ ma[q]z^q) WN For absent AR or MA portions, pass in NULL

Usage

ARMAauto(ar = NULL, ma = NULL, lag.max)

Arguments

ar

numeric vector of AR coefficients

ma

numeric vector of MA coefficients

lag.max

Largest autocovariance lag required

Value

autocovariances at lags 0 through lag.max


jlivsey/sigex documentation built on March 20, 2024, 3:17 a.m.