wvcov(signal.modwt, signal.wvar, compute.v = "diag")
modwt
object that contains the modwt decomposition.wvar
object that contains the wavelet variance.string
that indicates the type of covariance matrix to compute. Supports: "diag"list
with the structure:
set.seed(999)
x = rnorm(100)
decomp = modwt(x)
wv = wvar(x)
out = wvcov(decomp, wv, compute.v="diag")
# Robust
decomp = modwt(x)
wv = wvar(x, robust = TRUE)
out = wvcov(decomp, wv, compute.v="diag")
Run the code above in your browser using DataLab