Uses simple Bayesian conjugate prior update rules to calculate the win probability of each option, value remaining in the test, and percent lift over the baseline for various marketing objectives. References: Fink, Daniel (1997) "A Compendium of Conjugate Priors" < https://www.johndcook.com/CompendiumOfConjugatePriors.pdf>. Stucchio, Chris (2015) "Bayesian A/B Testing at VWO" < https://vwo.com/downloads/VWO_SmartStats_technical_whitepaper.pdf>.
Uses simple Bayesian conjugate prior update rules to calculate the following metrics for various marketing objectives:
This allows a user to implement Bayesian Inference methods when analyzing the results of a split test or Bandit experiment.
See the intro vignette for examples to get started.
To add a new posterior distribution you must complete the following:
Create a new function called sample_...(input_df, priors, n_samples). Use the internal helper functions update_gamma, update_beta, etc. included in this package or you can create a new one.
This function (and the name) must be added to the switch statement in sample_from_posterior()
A new row must be added to the internal data object distribution_column_mapping.
use_data(new_tibble, internal = TRUE, overwrite = TRUE) and it will be saved as sysdata.rda in the package for internal use.Create a PR for review.
update_rulesThe name is a play on Bayes with an added r (bayesr). The added griz (or Grizzly Bear) creates a unique name that is searchable due to too many similarly named packages.