Distribution {coin} | R Documentation |
Specification of the exact, or approximation of the exact, conditional distribution of test statistics under the null hypothesis.
exact(algorithm = c("shift", "split-up"), fact = NULL) approximate(B = 1000) asymptotic(maxpts = 25000, abseps = 0.001, releps = 0)
algorithm |
a character, specifying the algorithm to be used for the computation of the exact conditional distribution. |
fact |
a positive integer to multiply the response values with. |
B |
a positive integer, the number of Monte-Carlo replications to approximate the exact conditional distribution. |
maxpts |
a positive integer, the maximum number of function
values, see |
abseps |
double, the absolute error tolerance,
see |
releps |
double, relative error tolerance,
see |
The distribution
argument to independence_test
can be specified with additional arguments using those functions.
Exact algorithms are currently only implemented for two-sample problems.
An object of class exact
, approximate
or asymptotic
,
respectively.