Description Usage Arguments Details Value Examples
Calculate the abstract randomized P-value for the UMPU two-tailed test for the binomial distribution.
1 | arpv.binom(x, n, p, plot = TRUE, ...)
|
x |
binomial observations. |
n |
number of observations. |
p |
the success probability under the null hypothesis. |
plot |
if |
... |
additional arguments passed to |
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.
a list containing two components:
alpha |
significance level values at the knots. |
phi |
distribution function values at the knots. |
1 2 3 4 | library(ump)
print(arpv.binom(10, 10, 0.7, plot = FALSE))
arpv.binom(10, 10, 0.7)
arpv.binom(10, 10, 0.7, df = FALSE)
|
$alpha
[1] 0.000000000 0.000019683 0.000433026 0.004290894 0.025294842 0.052384365
$phi
[1] 0.0000000000 0.0004877631 0.0102430249 0.0956015654 0.5204974118
[6] 1.0000000000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.