bayesian_simulation: Bayesian A/B Test Performance using Monte-Carlo Simulation

Description Usage Arguments Details Value Author(s)

View source: R/bayesian_simulator.R

Description

This program will perform a monte-carlo simulation over the posterior distrubtions of an A/B test and calculate relative performance measures.

Usage

1
2
bayesian_simulation(x = bayesian_test_output, trials = 10000,
  a_is_champion = TRUE)

Arguments

x

a data frame from the bayesian_test output including posterior alpha and beta values for the A/B cells

trials

an integer value representing the number of trails for the monte-carlo simulation

a_is_champion

logical, indicating is A is the champion cell.

Details

This function accepts the output of the bayesian_test function. Relative performance is measured by performing monte-carlo simulations of both distributions.

Value

An output string identifying the outperformance probability from monte carlo simulations and the relative outperformance of A over B. Plots generated are the relative performance histogram and a cumulative density function of the results.

Author(s)

Dean Marchiori


deanmarchiori/UpliftTestR documentation built on May 12, 2017, 9:53 p.m.