wavVarTest(x, wavelet="s8", n.levels=NULL,
significance=c(0.1,0.05,0.01), lookup=TRUE, n.realization=10000,
n.repetition=3, tolerance=1e-6)
wavTransform
as output by the wavDWT
function, a
corresponding wavBoundary
object, or a
numeric vector. In the latter case, wavDWT
parameters can be passed to specify the
type of wavellookup
is TRUE
, this table is
accessed. The table is stored as the mawavTransform
or wavBoundary
.
Default: the maximum decomposition level that contains at least one interior wavelet coefficient.lookup
is FALSE
,
or when lookup
is TRUE
andn.realization
parameter. Default: 3
.wavTransform
or wavBoundary
.
Default: "s8"
.wavVarTest
.n.realization
times,
forming a distribution of the D-statistic.
The critical values corresponding to the significances
are calculated a total of n.repetition
times, and averaged to form
an approximation to the D-statistic(s).
Because the Monte Carlo study can be both computationally and memory
intensive, it is highly recommended that lookup be set to
TRUE
, its default value.wavVar
, wavDWT
, D.table
.## perform a homogeneity of variance test for a
## DWT decomposition of a long memory process
## realization
homogeneity <- wavVarTest(fdp045)
Run the code above in your browser using DataLab