EC_T: Compute the Euler characteristic for a given field
Description
It computes the Euler characteristic (EC) of a given field above specified thresholds over a specified search area.
Usage
EC_T(ck, Ts, THETA)
Arguments
ck
Vector of thresholds defining the excursions sets with respect to which the ECs are computed.
Ts
Vector of values of the field for each grid point in THETA.
THETA
A vector or matrix of grid values for the nuisance parameter with respect to which the search is performed.
Value
Returns a vector of EC values with respect to the thresholds specified in ck.
References
S. Algeri and D.A. van Dyk. Testing one hypothesis multiple times: The multidimensional case. arXiv:1803.03858, submitted to the Journal of Computational and Graphical Statistics, 2018.