doTest | R Documentation |
Perform permutation test for a linear statistic
doTest(object, teststat = c("maximum", "quadratic", "scalar"), alternative = c("two.sided", "less", "greater"), pvalue = TRUE, lower = FALSE, log = FALSE, PermutedStatistics = FALSE, minbucket = 10L, ordered = TRUE, maxselect = object$Xfactor, pargs = GenzBretz())
object |
an object returned by |
teststat |
type of test statistic to use. |
alternative |
alternative for scalar or maximum-type statistics. |
pvalue |
a logical indicating if a p-value shall be computed. |
lower |
a logical indicating if a p-value ( |
log |
a logical, if |
PermutedStatistics |
a logical, return permuted test statistics. |
minbucket |
minimum weight in either of two groups for maximally selected statistics. |
ordered |
a logical, if |
maxselect |
a logical, if |
pargs |
arguments as in |
Computes a test statistic, a corresponding p-value and, optionally, cutpoints for maximally selected statistics.
A list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.