Learn R Programming

bpp (version 1.0.4)

interval_toIntegrate: Product of posterior density and conditional power for blinded interim result

Description

Product of posterior density and conditional power for blinded interim result, integrate over this function to get BPP.

Usage

interval_toIntegrate(x, prior = c("normal", "flat"), interimSE, 
             finalSE, successmean, IntEffBoundary, IntFutBoundary, 
             priormean, ...)

Arguments

x

Value at which to evaluate the function.

prior

Prior density on effect sizes.

interimSE

(Known) standard error of interimmean, i.e. at interim analysis.

finalSE

(Known) standard error at which the final analysis of the study under consideration takes place.

successmean

The mean that defines success at the final analysis. Typically chosen to be the minimal detectable difference, i.e. the critical on the scale of the effect size of interest corresponding to the significance level at the final analysis.

IntEffBoundary

Efficacy boundary at the interim analysis.

IntFutBoundary

Futility boundary at the interim analysis.

priormean

Prior mean.

...

Further arguments specific to the chosen prior (see bpp for examples).

Value

Value of the function, a real number.

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