pmaxstat.Rd
Approximates the probability that a maximally selected rank
statistic is greater or equal to b
.
pmaxstat(b, scores, msample, quant=FALSE)
qmaxstat(p, scores, msample)
Small sample approximation by Hothorn and Lausen (2003).
An upper limit for the probability that, under the hypothesis of
independence, a maximally selected statistic greater equal b
is observed. qmaxstat
needs optimization.
Hothorn, T. and Lausen, B. (2003). On the Exact Distribution of Maximally Selected Rank Statistics. Computational Statistics & Data Analysis, 43, 121–137.
pmaxstat(2.5, 1:20, 5:15)
#> [1] 0.09403538