View source: R/permDistribution.R
calc_perm_p_value | R Documentation |
calc_perm_p_value
calculates the permutation p-value following \insertCitePhiSmy10perm;textualrobnptests.
calc_perm_p_value( statistic, distribution, m, n, randomization, n.rep, alternative )
statistic |
observed value of the test statistic. |
distribution |
a numeric vector with the permutation/randomization distribution. |
m |
an integer value giving size of first sample. |
n |
an integer value giving size of second sample. |
randomization |
a logical value indicating whether the p-value should be
computed from a permutation ( |
n.rep |
an integer value specifying the number of random splits used to
calculate the randomization distribution if |
alternative |
a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater", or "less". |
p-value for the specified alternative.
PhiSmy10permrobnptests
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.