Usage
hint.dist.test(d, n1, a1, b1, n2, a2, b2, q1 = 0, q2 = 0, alternative = "greater")
Arguments
d
A positive integer specifying the observed distance to be tested.
n1
An integer specifying the number of categories in the urns for the first distribution.
a1
An integer specifying the number of balls drawn from the first urn for the first distribution.
b1
An integer specifying the number of balls drawn from the second urn for the first distribution.
n2
An integer specifying the number of categories in the urns for the second distribution.
a2
An integer specifying the number of balls drawn from the first urn for the second distribution.
b2
An integer specifying the number of balls drawn from the second urn for the second distribution.
q1
An integer specifying the number of categories with duplicates in the second urn of the first distribution. If 0 then the symmetric, singleton case is computed, otherwise the asymmetric, duplicates case is computed (see
q2
An integer specifying the number of categories with duplicates in the second urn of the second distribution. If 0 then the symmetric, singleton case is computed, otherwise the asymmetric, duplicates case is computed (see
alternative
A characer string specifying the hypothesis to be tested. Can be one of "greater"
, "less"
, or "two.sided"
.