Skip to contents

P(A1 and ... and Ak) = prod P(Ai).

Usage

PandInd(ps)

Arguments

ps

marginal probabilities, each in [0, 1].

Value

list(ps, p_and); p_a and p_b are added when exactly two events are given, for the eq (2.2) callers.

References

Morin, D. J. (2016). Probability: For the Enthusiastic Beginner. Createspace. Eqs. (2.2), (2.3), (2.70).

Examples

PandInd(c(1 / 6, 1 / 6))$p_and
#> [1] 0.02777778