Compute the Step-down version of the max-T given a matrix a permuted statistics.

compute_stepdownmaxT(distribution, alternative)

Arguments

distribution

A matrix of permuted statistical signal. The first row indicating the observed statistics.

alternative

A character string indicating the alternative hypothesis. Default is "greater". Choose between "greater", "less" or "two.sided".