Methods for computation of the asymptotic, approximative (Monte Carlo) and exact reference distribution.
# S4 method for MaxTypeIndependenceTestStatistic
AsymptNullDistribution(object, ...)
# S4 method for QuadTypeIndependenceTestStatistic
AsymptNullDistribution(object, ...)
# S4 method for ScalarIndependenceTestStatistic
AsymptNullDistribution(object, ...)# S4 method for MaxTypeIndependenceTestStatistic
ApproxNullDistribution(object, nresample = 10000L, B, ...)
# S4 method for QuadTypeIndependenceTestStatistic
ApproxNullDistribution(object, nresample = 10000L, B, ...)
# S4 method for ScalarIndependenceTestStatistic
ApproxNullDistribution(object, nresample = 10000L, B, ...)
# S4 method for QuadTypeIndependenceTestStatistic
ExactNullDistribution(object, algorithm = c("auto", "shift", "split-up"), ...)
# S4 method for ScalarIndependenceTestStatistic
ExactNullDistribution(object, algorithm = c("auto", "shift", "split-up"), ...)
An object of class "AsymptNullDistribution"
,
"ApproxNullDistribution"
or
"ExactNullDistribution"
.
an object from which the asymptotic, approximative (Monte Carlo) or exact reference distribution can be computed.
a positive integer, the number of Monte Carlo replicates used for the
computation of the approximative reference distribution. Defaults to
10000L
.
deprecated, use nresample
instead.
a character, the algorithm used for the computation of the exact reference
distribution: either "auto"
(default), "shift"
or
"split-up"
.
further arguments to be passed to or from methods.
The methods AsymptNullDistribution
, ApproxNullDistribution
and
ExactNullDistribution
compute the asymptotic, approximative (Monte
Carlo) and exact reference distribution, respectively.