Learn R Programming

gmwm (version 2.0.0)

arma_to_wv_app: ARMA process to WV approximation

Description

This function computes the (haar) WV of an ARMA process

Usage

arma_to_wv_app(ar, ma, tau, sigma, alpha = 0.9999)

Arguments

ar
A vec containing the coefficients of the AR process
ma
A vec containing the coefficients of the MA process
tau
A vec containing the scales e.g. 2^tau
sigma
A double containing the residual variance
alpha
A double indicating the cutoff.

Value

A vec containing the wavelet variance of the ARMA process.

See Also

ARMAtoMA_cpp,ARMAacf_cpp

Examples

Run this code
arma_to_wv_app(c(.23,.43), c(.34,.41,.59), 2^(1:9), 3, .9)

Run the code above in your browser using DataLab