pairwiseprobabilities: Pairwise probabilities of Exceedence
Description
pairwiseprobabilities calculates probabilities of one variable exceeding another,
where the variables are independent, and with identical distributions except for a location shift.
This calculation is useful for power of Mann-Whitney-Wilcoxon, Jonckheere-Terpstra, and Kruskal-Wallis testing.
A matrix with as many rows and colums as there are shift parameters. Row i and column j give the probability of an observation from group j exceeding one from group i.
Arguments
shifts
The offsets for the various populations, under the alternative hypothesis.
distname
The distribution of the underlying observations; normal, cauchy, and logistic are currently supported.
taylor
Logical flag forcing the approximation of exeedence probabilities using a Taylor series.
Details
Probabilities of particular families must be calculated analytically.