multiply_probabilities: Probability of a vector of probabilities
Description
Calculates the probability that all probabilities happened simultaneously.
independent_probabilities just multiply the probabilities of the index passed.
Usage
multiply_probabilities(p, i)
independent_probabilities(p, i)
Value
A numeric value of the probability.
Arguments
p
Numeric vector of probabilities.
i
Numeric integer index of the complementary probability.