LS2Wstat index

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

1 |

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

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

).

`statistic` |
The value of the test statistic for the given spectrum. |

Sarah L. Taylor

Taylor, S.L., Eckley, I.A., and Nunes, M.A. (2014) A test of stationarity for textured images. Technometrics (to appear).

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)
#
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.