decomp_theoretical_wv: Each Models Process Decomposed to WV

Description Usage Arguments Value Examples

Description

This function computes each process to WV (haar) in a given model.

Usage

1
decomp_theoretical_wv(theta, desc, objdesc, tau)

Arguments

theta

A vec containing the list of estimated parameters.

desc

A vector<string> containing a list of descriptors.

objdesc

A field<vec> containing a list of object descriptors.

tau

A vec containing the scales e.g. 2^(1:J)

Value

A mat containing the wavelet variance of each process in the model

Examples

1
2
3
4
5
x.sim = gen_ar1( N = 10000, phi = 0.9, sigma2 = 4 )
ntau = floor(log(length(x.sim),2))
tau = 2^(1:ntau)
wv.theo = ar1_to_wv(phi = 0.9, sig2 = 16, tau)
plot(tau, wv.theo, col = "red")

gmwm documentation built on April 14, 2017, 4:38 p.m.

Search within the gmwm package
Search all R packages, documentation and source code