wave_variance: Generate a Wave Variance for a Univariate Time Series

View source: R/RcppExports.R

wave_varianceR Documentation

Generate a Wave Variance for a Univariate Time Series

Description

Computes an estimate of the wave variance

Usage

wave_variance(signal_modwt_bw, robust = FALSE, eff = 0.6)

Arguments

signal_modwt_bw

A field<vec> that contains the brick walled modwt or dwt decomposition

robust

A boolean to determine the type of wave estimation.

eff

A double that indicates the efficiency.

Value

A vec that contains the wave variance.

Examples

set.seed(1337)
x = rnorm(100)
decomp = modwt_cpp(x, filter_name = "haar", nlevels = 4, boundary = "periodic", brickwall = TRUE)
wave_variance(decomp)

wave_variance(decomp, robust = TRUE, eff = 0.6)

schoi355/gmwm documentation built on April 11, 2022, 1:21 a.m.