ci_wave_variance | R Documentation |
Computes an estimate of the multiscale variance and a chi-squared confidence interval
ci_wave_variance(signal_modwt_bw, wv, type = "eta3", alpha_ov_2 = 0.025, robust = FALSE, eff = 0.6)
signal_modwt_bw |
A |
wv |
A |
type |
A |
alpha_ov_2 |
A |
robust |
A |
eff |
A |
This function can be expanded to allow for other confidence interval calculations.
A matrix
with the structure:
Column 1Wavelet Variance
Column 2Chi-squared Lower Bounds
Column 3Chi-squared Upper Bounds
set.seed(1337) x = rnorm(100) # Uses the internal MODWT function not associated with an S3 class. decomp = modwt_cpp(x, filter_name = "haar", nlevels = 4, boundary = "periodic", brickwall = TRUE) y = wave_variance(decomp) ci_wave_variance(decomp, y, type = "eta3", alpha_ov_2 = 0.025)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.