Given several independent probabilities of an event, return the final probability of the event.
combine_probs(...)
... | Probability vectors. |
---|
A probability vector.
This function is only correct if the probabilities are independent!
#> [1] 0.080750138 0.834333037 0.600760886 0.157208442 0.007399441#> [1] 0.4663935 0.4977774 0.2897672 0.7328820 0.7725215combine_probs(p1, p2)#> [1] 0.5094823 0.9167983 0.7164473 0.7748752 0.7742047