Learn R Programming

FitAR (version 1.94)

ARSdf: Autoregressive Spectral Density Function

Description

Spectral density function of AR(p) is computed.

Usage

ARSdf(phi, pFFT = 8)

Arguments

phi
AR Coefficient vector
pFFT
FFT with $2^pFFF$ frequencies, default 8

Value

A vector of the density function values, $(f(1),..., f(2^pFFF))$

Details

The Fast Fourier Transform (FFT) is used to compute the spectral density function.

See Also

spectrum, spec.pgram, spec.ar

Examples

Run this code
ARSdf(0.8)
ARSdf(c(0.1,0.2))

Run the code above in your browser using DataLab