Probabilities
Definitions
Two events and are said to be mutually exclusive if they cannot occur at the same time.
Example
For example, when tossing a coin, the events "heads" and "tails" are mutually exclusive.
The union of two events and is denoted by and is defined as the event that at least one of the events occurs.
The probability of the union of two events is given by:
Which is given by the general formula via inclusion-exclusion principle:
For events tha are mutually exclusive, the formula simplifies to:
Which is just the sum of the probabilities of the events.
Conditionals
A set of events are exhaustive if at least one of them would occur in a sample space (the universe of possible outcomes).
A set of events are paritions of a sample space if they are:
- Mutually exclusive
- Collectively exhaustive
- for all
We can generalize the theorem by the total probability theorem. Suppose that is an event from a sample space that is partitioned by events . For an index of events :
Independence
A and B are said to be independent if .
Being independent means that the probability of an event has no influence on the other
For all events in a set of events,
By definition, all events inside a mutually independent set of events are pairwise independent. This might not be true in the reverse: pairwise independent events might not be mutually independent.
Random variables
Random variables are denoted with capital letters
The possible outcomes are denoted with regular letters
Probability that the outcome of is is denoted by
gives the expected value, which represents the mean value (outcome) of the random variable.
gives the variance, which is a measure of the variability of the random variable's outcomes.
, which any addition / subtraction function within can be expanded.
If and are independent:
Binomial distribution
A Bernoulli trial is an experiment or process that results in a binary outcome: success or failure.
The probability of success is denoted by and the probability of failure is denoted by .
The binomial distribution is a discrete probability distribution that describes the number of successes in a fixed number of independent Bernoulli trials.
The probability of getting exactly successes in trials is given by:
Where is the binomial coefficient, which represents the number of ways to choose successes from trials.