Description Usage Arguments Details Value Author(s)

View source: R/bayesian_simulator.R

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

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

`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. |

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

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.

Dean Marchiori

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.