arpv.plot: Plot Abstract Randomized P-value

Description Usage Arguments Value Examples

Description

Plot ether the distribution function or the probability density function of an abstract randomized P-value

Usage

1
arpv.plot(alpha, phi, df = TRUE, verticals = TRUE)

Arguments

alpha

significance levels at which the density is discontinuous ("knots").

phi

values of the distribution function at these knots.

df

if TRUE plot the distribution function, otherwise the density.

verticals

if TRUE plot vertical lines at the jumps of the density. Ignored if df == TRUE.

Value

none.

Examples

1
2
3
out <- arpv.binom(10, 10, 0.7)
arpv.plot(out$alpha, out$phi)
arpv.plot(out$alpha, out$phi, df = FALSE)

ump documentation built on May 1, 2019, 11:10 p.m.