Learn R Programming

LS2Wstat (version 2.1-5)

avespecvar: 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)

Value

statistic

The value of the test statistic for the given spectrum.

Arguments

spectrum

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

Author

Sarah L. Taylor

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).

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

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

testspec<-cddews(X,smooth=FALSE)

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

Run the code above in your browser using DataLab