Description Usage Arguments Details Value Author(s) Examples
Perform Pairwise Multiple Comparisons Using Kolmogorov-Smirnov Test
1 2 | pairwise_ks_test(value, group, n_min = 50, warning = 0,
alternative = "two.sided")
|
value |
a numeric vector of data values |
group |
a group indicator |
n_min |
The minimum number of observations in each group. Group(s) with observation less than |
warning |
sets the handling of warning messages. If |
alternative |
indicates the alternative hypothesis and must be one of " |
Missing values are silently omitted from x and (in the two-sample case) y.
The possible values "two.sided
", "less
" and "greater
" of alternative specify the null hypothesis that the true distribution function of x is equal to, not less than or not greater than the hypothesized distribution function (one-sample case) or the distribution function of y (two-sample case), respectively. This is a comparison of cumulative distribution functions, and the test statistic is the maximum difference in value, with the statistic in the "greater" alternative being D^+ = max[F_x(u) - F_y(u)]. Thus in the two-sample case alternative = "greater" includes distributions for which x is stochastically smaller than y (the CDF of x lies above and hence to the left of that for y), in contrast to t.test
or wilcox.test
.
Pairwise Kolmogorov-Smirnov Test p-value Matrix
Hui Lin, longqiman@gmail.com
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.