Skip to contents

And/or rules, the general or-rule, and the independent/exclusive classification. Mirrors morie.fn ...2e2/2e14/2e21/2e24/2e70.

Usage

morie_prob_rules(p_a, p_b, p_ab)

Arguments

p_a, p_b

marginal probabilities.

p_ab

joint probability P(A and B).

Value

list: and_independent, or_exclusive, or_general, independent, exclusive.

References

Morin (2016), eqs. (2.2), (2.14), (2.21), (2.24), (2.70)-(2.71).

Examples

morie_prob_rules(1 / 13, 1 / 4, 1 / 52)$or_general
#> [1] 0.3076923