Running a Bayesian AB Test

Construct a Bayesian AB Test object from some data and priors.

bayesTest()

Fit a Bayesian model to A/B test data.

Plotting Distributions

Functions for plotting distributions. Useful for experimenting with data and choosing priors for your bayesTest objects.

plotBeta()

Plot the PDF of the Beta distribution.

plotGamma()

Plot the PDF of the Gamma distribution.

plotInvGamma()

Plot the PDF of the Inverse Gamma distribution.

plotLogNormal()

Plot the PDF of the Log Normal distribution.

plotNormal()

Plot the PDF of the Normal distribution.

plotPareto()

Plot the PDF of the Pareto distribution.

plotPoisson()

Plot the PDF of the Poisson distribution.

plotNormalInvGamma()

Plot the bivariate PDF of the Normal Inverse Gamma Distribution.

Generics

Generic functions that can help you examine a trained bayesTest object.

plot(<bayesTest>)

Plot bayesTest objects

summary(<bayesTest>)

Summarize bayesTest objects

c(<bayesTest>)

Concatenate bayesTest objects

Helpers

Helper functions for further exploring a trained bayesTest object.

grab()

Grab the supplied posterior from a bayesTest object

rename()

Rename the posterior for a bayesTest object

combine()

Combine two bayesAB objects given a binary function.

Deploying

Functions to construct and deploy a Bayesian Bandit from a bayesTest object.

banditize()

Create a multi-armed Bayesian bandit object.

deployBandit()

Deploy a bayesBandit object as a JSON API.