2 with $j=n=0$.
2 as many times as necessary until a suitable transform is found.wavDWPTWhitest(x, significance=0.05, test="port2", wavelet="s8", n.level=NULL)wavTransform.x is a time series. Default: floor(logb(length(x), base=2)) - 2.significance is used to calculate comparative chi-square distribution
$p$ x $100$ percentage points where $p=1 - significance$
(the chi-square degrees of freedom are estimated automatically within the specified white noise test).
Default: 0.05."port1", "port2", "port3" and "cumper" respresenting
the Portmanteau I, II, III and cumulative periodogram tests, respectively. See the
reference(s) for more details. Default: "port2".wavDaubechies for details. This argument is used only if
x is a time series. Default: "s8".list containing the level and osc vectors denoting
the level and oscillation index, respectively, of the whitest transform.
wavDWPT, wavBootstrap.## calculate the DWPT of the sunspots series
W <- wavDWPT(as.numeric(sunspots), wavelet="s8", n.levels=9)
## find the whitest transform based on the
## Portmanteau I white noise test
z <- wavDWPTWhitest(W, test="port1")
print(z)
Run the code above in your browser using DataLab