estimate_posterior {bpp} | R Documentation |
Posterior density conditional on known interim result
Description
If we update the prior with a known estimate at an interim analysis, we get this density.
Usage
estimate_posterior(x, prior = c("normal", "flat"), interimmean, interimSE, priormean, ...)
Arguments
x |
Value at which to evaluate the function. |
prior |
Prior density on effect sizes. |
interimmean |
Mean of the data. |
interimSE |
(Known) standard error of |
priormean |
Prior mean. |
... |
Further arguments specific to the chosen prior (see |
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
# type ?bpp_1interim for code of all the computations in Rufibach et al (2016a).
[Package bpp version 1.0.4 Index]