b_gt_a: Probability Variant B is Greater Than Variant A

Description Usage Arguments Value

Description

Given two distributions, find the probability that the expected value of variant B is greater than the expected value of variant A

Usage

1
b_gt_a(dist_a, dist_b, theta_a, theta_b, exact = NULL, ...)

Arguments

dist_a

Some distribution object (see examples)

dist_b

Some distribution object (see examples)

theta_a

A vector of simulated values from dist_a

theta_b

A vector of simulated values from dist_b

exact

A boolean that indicates whether the calculation should be approximated using the normal distribution. Default is NULL, which means that it will use the normal distribution if there is sufficient data.

...

Arguments to be passed onto other methods

Value

A numeric value


convoyinc/abayes documentation built on May 12, 2019, 1:34 a.m.