# A test statistic for spatial stationarity.

### Description

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

### Usage

1 |

### Arguments

`spectrum` |
A local wavelet spectrum estimate, i.e. a |

### 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 (to appear).

### See Also

`TOS2D`

### Examples

1 2 3 4 5 6 7 8 9 10 | ```
#Generate a cddews object
#
X <- Haar2MA.diag(64)
testspec<-cddews(X,smooth=FALSE)
#Find the value of the test statistic
#
avespecvar(testspec)
#
``` |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.