Notes - Matwa - PAS 2025
P and C
permute . Permutation of elements with replacement/repetition. The formula returns all possible samplings of length from vector of length .
choose . The number of ways to choose items from a set of distinct items without regard to the order in which they are chosen.
Binomial
Events
The formula for probabilities is just the number of favorable outcomes divided by the number of possible outcomes.
The probability where does not happen is called the complement.
Addition Rule
Use addition when you want A OR B.
The above is the formula if and are mutually exclusive. Subtract by if they aren't mutually exclusive, aka they can happen together.
You should subtract by due to the Inclusion Exclusion rule as to not double count occasions where both and happen.
Multiplication Rule
Use multiplication when we want A AND B to happen together, either at the same time or in sequence.
Use the formula above if does not affect , such as when throwing a dice and a coin, or throwing dice at once.
Use the formula above if the probability changes after something happens. is the probability of given already happened.