ARMAtoSD: Find the spectral density function of an ARMA(p,q) process.

View source: R/tscourse.R

ARMAtoSDR Documentation

Find the spectral density function of an ARMA(p,q) process.

Description

Find the spectral density function of an ARMA(p,q) process.

Usage

ARMAtoSD(phi = NULL, theta = NULL, sigma, plot = TRUE)

Arguments

phi

a vector with autoregressive coefficients.

theta

a vector the moving average coefficients.

sigma

the white noise variance.

plot

if TRUE the spectral density is plotted

Value

a list containing values of the spectral density function and the corresponding frequencies


gregorkb/tscourse documentation built on Oct. 3, 2022, 5:31 p.m.