arpv.binom: Abstract Randomized P-value for the Binomial Distribution
Description
Calculate the abstract randomized P-value for the UMPU two-tailed test
for the binomial distribution.
Usage
arpv.binom(x, n, p, plot = TRUE, ...)
Arguments
x
binomial observations.
n
number of observations.
p
the success probability under the null hypothesis.
plot
if TRUE make a plot.
...
additional arguments passed to arpv.plot.
Value
a list containing two components:
alpha
significance level values at the knots.
phi
distribution function values at the knots.
Details
The first three arguments must be scalar.
Evaluates the distribution function of the abstract randomized P-value
for the UMPU two-tailed test for the binomial distribution, which
is a continuous, piecewise linear function. Gives the knots.