multiply_probabilities {BaseSet} | R Documentation |
Calculates the probability that all probabilities happened simultaneously.
independent_probabilities()
just multiply the probabilities of the index
passed.
multiply_probabilities(p, i)
independent_probabilities(p, i)
p |
Numeric vector of probabilities. |
i |
Numeric integer index of the complementary probability. |
A numeric value of the probability.
multiply_probabilities(c(0.5, 0.1, 0.3, 0.5, 0.25, 0.23), c(1, 3))
independent_probabilities(c(0.5, 0.1, 0.3, 0.5, 0.25, 0.23), c(1, 3))