expected_loss_b: Expected Loss of Choosing Variant B

Description Usage Arguments Value

Description

This function calculates the expected loss of choosing variant B

Usage

1
2
expected_loss_b(dist_a, dist_b, theta_a, theta_b, method = c("absolute",
  "percent"), ...)

Arguments

dist_a

The distribution object for variant A

dist_b

The distribution object for variant B

theta_a

A vector of simulated values from dist_a

theta_b

A vector of simulated values from dist_b

method

One of 'absolute' or 'percent' that indicates whether the loss function takes the absolute difference or the percent difference between theta_a and theta_b

...

Arguments to be passed onto other methods

Value

A numeric


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