EC_T: Compute the Euler characteristic for a given field

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/Functions_only.R

Description

It computes the Euler characteristic (EC) of a given field above specified thresholds over a specified search area.

Usage

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

Author(s)

Sara Algeri

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.

See Also

EC_LRT

Examples

1
EC_T(ck=c(3,4),Ts=rnorm(10), THETA=cbind(1:10,21:30))

TOHM documentation built on March 10, 2021, 1:05 a.m.