get_losses: Expected Losses For Variants

Description Usage Arguments Value

Description

Evaluate the expected loss for each variant

Usage

1
get_losses(posteriors, sim_batch_size, method = c("absolute", "percent"))

Arguments

posteriors

A list of distribution objects that identify the posterior distributions for each variant

sim_batch_size

A positive integer that specifies how much data is simulated when evaluating the expected loss for variants that do not have an analytic solution (i.e. normal data).

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

Value

A list of expected losses for each variant


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