multiply_probabilities {BaseSet} | R Documentation |
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)
Arguments
p |
Numeric vector of probabilities. |
i |
Numeric integer index of the complementary probability. |
Value
A numeric value of the probability.
See Also
Examples
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))
[Package BaseSet version 0.9.0 Index]