Description Usage Arguments Value References Examples

Test for anomalies using either `bonferroni`

, `FDR`

, `EFDR`

or `LOS`

in the wavelet domain using the 2D wavelet transform.

1 2 3 4 5 6 7 8 | ```
test.efdr(Z, wf = "la8", J = 3, alpha = 0.05, n.hyp = 100, b = 11,
iteration = 200, parallel = 1L)
test.fdr(Z, wf = "la8", J = 3, alpha = 0.05)
test.bonferroni(Z, wf = "la8", J = 3, alpha = 0.05)
test.los(Z, wf = "la8", J = 3, alpha = 0.05)
``` |

`Z` |
image of size |

`wf` |
type of wavelet to employ. Defaults to ‘la8’, the Daubechies orthonormal compactly supported wavelet of length |

`J` |
number of resolutions to employ in wavelet decomposition |

`alpha` |
significance level at which tests are carried out |

`n.hyp` |
number of hypotheses tests to carry out with EFDR. If a vector is supplied, the optimal one from the set of proposed number of tests is chosen |

`b` |
the number of neighbours to consider in EFDR |

`iteration` |
number of Monte Carlo iterations to employ when determining which of the proposed number of tests
in |

`parallel` |
number of cores to use with parallel backend; needs to be an integer less than or equal to the number of available cores |

List with three fields:

`filtered`

the discrete wavelet transform containing the anomalous wavelet coefficients in the signal

`Z`

the image containing the anomalous wavelets in the signal

`reject_coeff`

indices of wavelets under which the null hypothesis of no anomaly was rejected

`pvalue_ordered`

ordered p-values under the null hypothesis. The column names indicate the wavelet to which the p-value belongs

`nhat`

the number of tests carried out.

Daubechies, I. (1992) Ten Lectures on Wavelets, CBMS-NSF Regional Conference Series in Applied Mathematics, SIAM: Philadelphia.

Shen, X., Huang, H.-C., and Cressie, N. 'Nonparametric hypothesis testing for a spatial signal.' Journal of the American Statistical Association 97.460 (2002): 1122-1140.

1 | ```
## See vignettes by typing vignette("EFDR_vignettes")
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.