Description Usage Arguments Details Value Author(s)
Permutation test p-value
1 2 |
t |
observed test statistic |
dist |
permutation distribution |
type |
type of p-value to compute |
Type "non-randomized" will give the standard p-value, which is define by the proportion of sample permutations with larger or equal test statistic than the observed one. "midp" will give the mid-p value which is the proportion of sample permutations with larger test statistic plus one half the proportion of permutations with equal test statistic. "randomized" will return the proportion of permutations with larger test statistic plus a random number that is uniformly distributed between zero and the proportion of permutations with test statistic equal to the observed.
p-value
Florian Klinglmueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.