estimate_toIntegrate: Product of posterior density and conditional power for known...

Description Usage Arguments Value Author(s) References Examples

View source: R/estimate_toIntegrate.r

Description

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

Usage

1
2
estimate_toIntegrate(x, prior = c("normal", "flat"), successmean, 
            finalSE, interimmean, interimSE, priormean, propA = 0.5, ...)

Arguments

x

Value at which to evaluate the function.

prior

Prior density on effect sizes.

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.

finalSE

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

interimmean

Mean of the data.

interimSE

(Known) standard error of interimmean.

priormean

Prior mean.

propA

Proportion of subjects randomized to arm A.

...

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

Value

Value of the function, a real number.

Author(s)

Kaspar Rufibach (maintainer)
kaspar.rufibach@roche.com

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

1
# type ?bpp_1interim for code of all the computations in Rufibach et al (2016a).

bpp documentation built on Jan. 13, 2022, 5:09 p.m.