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 <isaac.gravestock@uzh.ch>
LicenseGPL (>= 2)
Version0.0.3

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.fun.list: Create mixture model

dbinomc: Extension of the binomial distribution to allow real values...

ess.fun.list: Calculate the effective sample size of mixture model

eval.fun.list: Get density of mixture

mean.fun.list: 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

p.fun.list: Probabilty density function

plot.fun.list: Plot mixture model

posterior.fun.list: Calculate posterior mixture model

print.fun.list: Print mixture model

q.fun.list: Quantile function

sample.fun.list: Sample from the mixture distribution

sig.matrix: Title

update.fun.list: Update parameters or weights in mixture model

var.fun.list: Calculate the variance of mixture model

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

Files in this package

StudyPrior/DESCRIPTION
StudyPrior/MultiPriorPackage.Rproj
StudyPrior/NAMESPACE
StudyPrior/R
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/Test
StudyPrior/Test/Study3.R
StudyPrior/Test/Study4.R
StudyPrior/Test/Study5.R
StudyPrior/Test/Study5nr.R
StudyPrior/man
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/create.fun.list.Rd StudyPrior/man/dbinomc.Rd StudyPrior/man/ess.fun.list.Rd StudyPrior/man/eval.fun.list.Rd StudyPrior/man/mean.fun.list.Rd StudyPrior/man/mix.plot.Rd StudyPrior/man/normal.PP.FB.MC.Rd StudyPrior/man/p.fun.list.Rd StudyPrior/man/plot.fun.list.Rd StudyPrior/man/posterior.fun.list.Rd StudyPrior/man/print.fun.list.Rd StudyPrior/man/q.fun.list.Rd StudyPrior/man/sample.fun.list.Rd StudyPrior/man/sig.matrix.Rd StudyPrior/man/update.fun.list.Rd StudyPrior/man/var.fun.list.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

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