avespecvar {LS2Wstat}R Documentation

A test statistic for spatial stationarity.

Description

Calculates a test statistic for a test of stationarity based on the local wavelet spectrum.

Usage

avespecvar(spectrum)

Arguments

spectrum

A local wavelet spectrum estimate, i.e. a cddews object.

Details

The test statistic given by Taylor et al. (2014) for a test for stationarity is computed for use in the boostrap testing procedure (TOS2D).

Value

statistic

The value of the test statistic for the given spectrum.

Author(s)

Sarah L. Taylor

References

Taylor, S.L., Eckley, I.A., and Nunes, M.A. (2014) A Test of Stationarity for Textured Images. Technometrics, 56 (3), 291-301.

See Also

TOS2D

Examples

#Generate a cddews object
#
X <- Haar2MA.diag(64)

testspec<-cddews(X,smooth=FALSE)

#Find the value of the test statistic
#
avespecvar(testspec)
#

[Package LS2Wstat version 2.1-5 Index]