Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Significance level has no effect with cross-wavelet #85

Open
JAFERRARI opened this issue Apr 5, 2021 · 0 comments
Open

Significance level has no effect with cross-wavelet #85

JAFERRARI opened this issue Apr 5, 2021 · 0 comments

Comments

@JAFERRARI
Copy link

Dear Sirs.
The significance level works with wavelet coherence, but has no effect with cross-wavelet.

Thank you

See the example:

library(biwavelet)

t1 <- cbind(1:200, rnorm(200))
t2 <- cbind(1:200, rnorm(200))

cross Wavelet sig.level HAS NO EFFECT

biwv.t1t2 <- xwt(t1, t2,sig.level = 0.95, sig.test = 0)
par(oma = c(0, 0, 0, 1), mar = c(5, 4, 4, 5) + 0.1)
plot(biwv.t1t2, plot.cb = TRUE, plot.phase = TRUE)

biwv.t1t2 <- xwt(t1, t2,sig.level = 0.2, sig.test = 0)
par(oma = c(0, 0, 0, 1), mar = c(5, 4, 4, 5) + 0.1)
plot(biwv.t1t2, plot.cb = TRUE, plot.phase = TRUE)

wavelet coherence sig.level WORKS

biwv.t1t2 <- wtc(t1, t2,sig.level = 0.95, sig.test = 0,nrands = 100)
par(oma = c(0, 0, 0, 1), mar = c(5, 4, 4, 5) + 0.1)
plot(biwv.t1t2, plot.cb = TRUE, plot.phase = TRUE)

biwv.t1t2 <- wtc(t1, t2,sig.level = 0.2, sig.test = 0,nrands = 100)
par(oma = c(0, 0, 0, 1), mar = c(5, 4, 4, 5) + 0.1)
plot(biwv.t1t2, plot.cb = TRUE, plot.phase = TRUE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant