ar1_to_wv: AR(1) process to WV

Description Usage Arguments Details Value Process Haar Wavelet Variance Formula See Also

View source: R/RcppExports.R

Description

This function computes the Haar WV of an AR(1) process

Usage

1
ar1_to_wv(phi, sigma2, tau)

Arguments

phi

A double that is the phi term of the AR(1) process

sigma2

A double corresponding to variance of AR(1) process

tau

A vec containing the scales e.g. 2^tau

Details

This function is significantly faster than its generalized counter part arma_to_wv.

Value

A vec containing the wavelet variance of the AR(1) process.

Process Haar Wavelet Variance Formula

The Autoregressive Order 1 (AR(1)) process has a Haar Wavelet Variance given by:

(2*sigma2)/((1-phi)^2*(1-phi^2)*tau[j]^2)*(4*phi^(tau[j]/2 + 1) - phi^(tau[j]+1) - .5 * phi^2 * tau[j] + tau[j]/2 - 3*phi)

See Also

arma_to_wv, arma11_to_wv


wv documentation built on Jan. 17, 2020, 1:07 a.m.

Related to ar1_to_wv in wv...