Last data update: 2014.03.03
|
R: Abstract Randomized P-value for the Binomial Distribution
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
fci.binom(x, n, alpha = 0.05, p = seq(0, 1, length = 10001), flat = 1 / 4)
Arguments
x |
binomial observation.
|
n |
number of observations.
|
alpha |
the significance level, one minus the coverage probability.
|
p |
the vector of parameter values at which (the membership function
of) the fuzzy confidence interval is evaluated.
|
flat |
the amount of flat parts of the membership function shown,
expressed as a fraction of the curved parts.
|
Details
prints the core and support of the fuzzy confidence interval
and makes one or two plots (as appropriate) showing the edges of the
fuzzy interval.
Value
none
Examples
library(ump)
fci.binom(4, 10)
fci.binom(0, 10)
fci.binom(9, 10)
Results
|