Learn R Programming

⚠️There's a newer version (1.8-2) of this package.Take me there.

RBesT (version 1.3-6)

R Bayesian Evidence Synthesis Tools

Description

Tool-set to support Bayesian evidence synthesis. This includes meta-analysis, (robust) prior derivation from historical data, operating characteristics and analysis (1 and 2 sample cases).

Copy Link

Version

Install

install.packages('RBesT')

Monthly Downloads

1,532

Version

1.3-6

License

GPL (>= 3) | file LICENSE

Maintainer

Sebastian Weber

Last Published

November 15th, 2018

Functions in RBesT (1.3-6)

crohn

Crohn's disease.
oc1S

Operating Characteristics for 1 Sample Design
mixbeta

Beta Mixture Density
decision2S_boundary

Decision Boundary for 2 Sample Designs
mixcombine

Combine Mixture Distributions
oc2S

Operating Characteristics for 2 Sample Design
decision1S_boundary

Decision Boundary for 1 Sample Designs
dlink<-

Transform Densities with a link function
SimSum

Summarize Arrays
decision2S

Decision Function for 2 Sample Designs
automixfit

Automatic Fitting of Mixtures of Conjugate Distributions to a Sample
forest_plot

Forest Plot
decision1S

Decision Function for 1 Sample Designs
knn

k nearest neighbor algorithm for multi-variate data
log_sum_exp

Numerically stable summation of logs
dBetaBinomial

Beta-Binomial Probabilities
colVars

Fast column-wise calculation of unbiased variances
robustify

Robustify Mixture Priors
likelihood

Read and Set Likelihood to the Corresponding Conjugate Prior
ess

Effective Sample Size for a Conjugate Prior
gMAP

Meta-Analytic-Predictive Analysis for Generalized Linear Models
mixnorm

Normal Mixture Density
lodds

Logit (log-odds) and inverse-logit function.
transplant

Transplant.
mixlink

takes x and transforms it according to the defined link function of the mixture
fill

Fill numeric objects
plot.EM

Diagnostic plots for EM fits
logLik.EM

Extract log likelihood from fitted EM objects
uniroot_int

Find root of univariate function of integers
log_colSum_exp

Matrix version of log_sum_exp
mix

Mixture Distributions
mixfit

Fit of Mixture Densities to Samples
mixdiff

Difference of mixture distributions
mixdist3

Utility function to instantiate 2 parameter mixture densities.
support

Support of Distributions
plot.mix

Plot mixture distributions
mixgamma

The Gamma Mixture Distribution
postmix

Conjugate Posterior Analysis
pos2S

Probability of Success for 2 Sample Design
plot.gMAP

Diagnostic plots for gMAP analyses
pos1S

Probability of Success for a 1 Sample Design
preddist

Predictive Distributions for Mixture Distributions
predict.gMAP

Predictions from gMAP analyses
RBesT-package

R Bayesian Evidence Synthesis Tools
Curry

Functional programming utilities
AS

Ankylosing Spondylitis.
chains2sample

Scrambles the order of a mcmc array object for usage as a mcmc sample. It is advisable to set order once per mcmc run, otherwise correlations in the mcmc sample will be lost.
colitis

Ulcerative Colitis.
BinaryExactCI

Exact Confidence interval for Binary Proportion
integrate_density_log

internal function used for integration of densities which appears to be much more stable from -Inf to +Inf in the logit space while the density to be integrated recieves inputs from 0 to 1 such that the inverse distribution function must be used. The integral solved is int_x dmix(mix,x) integrand(x) where integrand must be given as log and we integrate over the support of mix.