Learn R Programming

bpp (version 1.0.4)

UniformNormalTails: Density and CDF for Uniform Distribution with Normal tails

Description

Density function and cumulative distribution function for a Uniform density with Normal tails. Introduced in Rufibach et al (2016a) as pessimistic distribution to compute Bayesian Predictive Power.

Usage

dUniformNormalTails(x, mu, width, height)
pUniformNormalTails(x, mu, width, height)

Arguments

x

Vector of quantiles.

mu

Mean of the pessimistic prior.

width

Width of the flat part of the prior.

height

Height of the flat part of the prior.

Value

Density at x.

References

Rufibach, K., Jordan, P., Abt, M. (2016a). Sequentially Updating the Likelihood of Success of a Phase 3 Pivotal Time-to-Event Trial based on Interim Analyses or External Information. J. Biopharm. Stat., 26(2), 191--201.

Examples

Run this code
# NOT RUN {
# type ?bpp_1interim for code of all the computations in Rufibach et al (2016a).

# }

Run the code above in your browser using DataLab