threshold_data: Threshold data Thresholds the data according to the...

Description Usage Arguments

View source: R/threshold_data.R

Description

Threshold data Thresholds the data according to the corresponding multiple testing correction. This function is used internally.

Usage

1
2
3
4
5
6
7
threshold_data(
  perm_results,
  alpha_local,
  alpha_global,
  data_dim,
  null_distribution
)

Arguments

perm_results

object created from perm_dist function. Contains the distribution of maxT and STCS AND the matrix obtained from applying a hypothesis test at each grid cell.

alpha_local

significance threshold at the grid cell level.

alpha_global

desired overall significance level

data_dim

dimesions of original data. Used for calculating df for t distributed test statistics, ignored if the test statistic is normal


vroni-g/change_point_detection documentation built on Dec. 23, 2021, 4:12 p.m.