update_priors: Update the hyper-parameters of prior distributions

Description Usage Arguments Value

Description

This function updates the hyper-parameters of our prior distributions

Usage

1
update_priors(priors, evidence_dt = NULL, stats_dt = NULL)

Arguments

priors

A named list of distribution objects. This list specifies the distributions that are used as priors when estimating some parameter from the data generating distribution. Currently, the list must only have elements named 'a' and 'b'. See Details for more information.

evidence_dt

A data.table containing the raw data generated by each variant. Column names must be identical to variant names in priors

stats_dt

A data.table containing statistics about the raw data generated by each variant.

Value

A list of distribution objects that represented the updated prior distributions


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