maps: Compute theorectical MA(q) power spectrum.

Description Usage Arguments Value Examples

View source: R/tps.R

Description

Compute theorectical MA(q) power spectrum.

Usage

1
maps(q = 1, b = c(0.9), freq = 100)

Arguments

b

single coefficient (a = 1) or vector of coefficients, b1, b2, ..., bq. No check is made to insure stationarity.

freq

either a scalar specifying how many frequencies between 0 and 0.5 to return or a vector of frequencies.

a

process order (defaults to 1)

Value

MA(q) power spectral density

Examples

1
2
3
f <- seq( 0, 0.5, 0.01 )
s <- maps( p = 1, a = 0.5, freq = f )
plot( f, s, type = "l" )

jrevenaugh/TSAUMN documentation built on Nov. 8, 2019, 2:20 p.m.