StudyPrior: Distributions for Historical Information

Implements useful prior distributions for incorporating data from previous studies into a new study, such as power priors, meta-analytic priors.

AuthorIsaac Gravestock
Date of publication2016-11-27 18:49:34
MaintainerIsaac Gravestock <>
LicenseGPL (>= 2)

View on R-Forge

Man pages

binom.Beta.EB: Empirical Bayes Beta Prior for Binomial Data

binom.Bias.FB: Full Bayes Bias Prior for Binomial Data

binom.MAP.EB: Empirical Bayes Meta-Analytic Prior for Binomial Data

binom.MAP.FB: Full Bayesian Meta-Analytic Prior for Binomial Data

binom.PP.EB: Empirical Bayes Power Prior for Binomial Data

binom.PP.EB.Beta: Empirical Bayes Power Prior for Binomial Data

binom.PP.EB.Sep: Empirical Bayes Power Prior for Binomial Data Esimated...

binom.PP.FB: Full Bayes Power Prior for Binomial Data

binom.PP.FB.INLA: Title

binom.PP.FB.MC: Title

binom.PP.FB.MC.BE: Title

binom.prior: Prior distribution for binomial data

bool.mat.plot: Plot a boolean matrix in two colours

calc.bias: Calculate bias

calc.coverage: Coverage using prior using the Bayarri thing

calc.MSE: Calculate mean squared error

calc.power: Calculate power

conj.approx: Mixture distribution

conj.approx2: Approximate distribution with mixture model

conj.approx.robust: Approximate distribution with mixture model Create mixture model

dbinomc: Extension of the binomial distribution to allow real values... Calculate the effective sample size of mixture model Get density of mixture Calculate the mean of mixture model

mix.plot: Plot the mixture model

normal.PP.FB.MC: Normal power prior with full Bayes by Monte Carlo Probabilty density function Plot mixture model Calculate posterior mixture model Print mixture model Quantile function Sample from the mixture distribution

sig.matrix: Title Update parameters or weights in mixture model Calculate the variance of mixture model

VP: Print messages if verbose=TRUE in calling function.


binom.Beta.EB Man page
binom.Bias.FB Man page
binom.MAP.EB Man page
binom.MAP.FB Man page
binom.PP.EB Man page
binom.PP.EB.Beta Man page
binom.PP.EB.Sep Man page
binom.PP.FB Man page
binom.PP.FB.INLA Man page
binom.PP.FB.MC Man page
binom.PP.FB.MC.BE Man page
binom.prior Man page
bool.mat.plot Man page
calc.bias Man page
calc.coverage Man page
calc.MSE Man page
calc.power Man page
conj.approx Man page
conj.approx2 Man page
conj.approx.robust Man page Man page
dbinomc Man page Man page Man page Man page
mix.plot Man page
normal.PP.FB.MC Man page Man page Man page Man page Man page Man page Man page
sig.matrix Man page Man page Man page
VP Man page


StudyPrior/R/Bias.R StudyPrior/R/Coverage.R StudyPrior/R/MSE1.R StudyPrior/R/Power.R StudyPrior/R/VP.R StudyPrior/R/approx.2.R StudyPrior/R/approx.3.R StudyPrior/R/approx.3.robust.R StudyPrior/R/approx.R StudyPrior/R/binom.Beta.EB.R StudyPrior/R/binom.Bias.R StudyPrior/R/binom.MAP.EB.R StudyPrior/R/binom.MAP.FB.R StudyPrior/R/binom.PP.EB.Beta.R StudyPrior/R/binom.PP.EB.R StudyPrior/R/binom.PP.EB.Sep.R StudyPrior/R/binom.PP.FB.INLA.R StudyPrior/R/binom.PP.FB.MC.BE.R StudyPrior/R/binom.PP.FB.MC.R StudyPrior/R/binom.PP.FB.R StudyPrior/R/binom.continuous.R StudyPrior/R/binom.prior.R StudyPrior/R/bool.mat.plot.R StudyPrior/R/fun.list.R StudyPrior/R/mix.plot.R StudyPrior/R/normal.PP.FB.MC.R StudyPrior/R/sig.matrix.R
StudyPrior/man/VP.Rd StudyPrior/man/binom.Beta.EB.Rd StudyPrior/man/binom.Bias.FB.Rd StudyPrior/man/binom.MAP.EB.Rd StudyPrior/man/binom.MAP.FB.Rd StudyPrior/man/binom.PP.EB.Beta.Rd StudyPrior/man/binom.PP.EB.Rd StudyPrior/man/binom.PP.EB.Sep.Rd StudyPrior/man/binom.PP.FB.INLA.Rd StudyPrior/man/binom.PP.FB.MC.BE.Rd StudyPrior/man/binom.PP.FB.MC.Rd StudyPrior/man/binom.PP.FB.Rd StudyPrior/man/binom.prior.Rd StudyPrior/man/bool.mat.plot.Rd StudyPrior/man/calc.MSE.Rd StudyPrior/man/calc.bias.Rd StudyPrior/man/calc.coverage.Rd StudyPrior/man/calc.power.Rd StudyPrior/man/conj.approx.Rd StudyPrior/man/conj.approx.robust.Rd StudyPrior/man/conj.approx2.Rd StudyPrior/man/ StudyPrior/man/dbinomc.Rd StudyPrior/man/ StudyPrior/man/ StudyPrior/man/ StudyPrior/man/mix.plot.Rd StudyPrior/man/normal.PP.FB.MC.Rd StudyPrior/man/ StudyPrior/man/ StudyPrior/man/ StudyPrior/man/ StudyPrior/man/ StudyPrior/man/ StudyPrior/man/sig.matrix.Rd StudyPrior/man/ StudyPrior/man/

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.