Learn R Programming

ump (version 0.5-6)

fci.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

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.

Value

none

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.

Examples

Run this code
library(ump)
fci.binom(4, 10)
fci.binom(0, 10)
fci.binom(9, 10)

Run the code above in your browser using DataLab