Skip to main content

bayesian_update_binary

Function bayesian_update_binary 

Source
pub fn bayesian_update_binary(
    prior: f64,
    true_positive_rate: f64,
    false_positive_rate: f64,
) -> StatsResult<f64>
Expand description

Computes a binary-test posterior from prior, true-positive, and false-positive rates.