Learn R Programming

gmwm (version 2.0.0)

arma_to_wv: ARMA process to WV

Description

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

Usage

arma_to_wv(ar, ma, tau, sigma)

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

Value

A vec containing the wavelet variance of the ARMA process.

See Also

ARMAtoMA_cpp,ARMAacf_cpp

Examples

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

Run the code above in your browser using DataLab