Description Usage Arguments Value Author(s) References Examples
Determine significance of wavelet transform
1 2 3 4 5 6 7 8 9 10 11 12 13 |
d |
Time series in matrix format ( |
dt |
Length of a time step. |
scale |
The wavelet scale. |
sig.test |
Type of significance test. If set to 0, use a regular χ^2 test. If set to 1, then perform a time-average test. If set to 2, then do a scale-average test. |
sig.level |
Significance level. |
dof |
Degrees of freedom for each point in wavelet power. |
lag1 |
AR(1) coefficient of time series used to test for significant patterns. |
mother |
Type of mother wavelet function to use. Can be set to
|
param |
Nondimensional parameter specific to the wavelet function. |
sigma2 |
Variance of time series |
arima.method |
Fitting method. This parameter is passed as the
|
Returns a list containing:
signif |
vector containing significance level for each scale |
signif |
vector of red-noise spectrum for each period |
Tarik C. Gouhier (tarik.gouhier@gmail.com)
Code based on wavelet MATLAB program written by Christopher Torrence and Gibert P. Compo.
Torrence, C., and G. P. Compo. 1998. A Practical Guide to Wavelet Analysis. Bulletin of the American Meteorological Society 79:61-78.
1 2 | # Not run: wt.sig(d, dt, scale, sig.test, sig.level, lag1,
# dof = -1, mother = "morlet", sigma2 = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.