Drift to WV

Description

This function compute the WV (haar) of a Drift process

Usage

1
dr_to_wv(omega, tau)

Arguments

omega

A double corresponding to variance of drift

tau

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

Value

A vec containing the wavelet variance of the drift.

Examples

1
2
3
4
5
x.sim = 1:1000
ntau = floor(log(length(x.sim),2))
tau = 2^(1:ntau)
wv.theo = dr_to_wv(1, tau)
plot(tau, wv.theo, col = "red")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.