Probability space is defined by sample space
- The sample space is the set of all possible outcomes.
- The event space is the set of possible results, each result being a set of outcomes
from the sample space. - Probabilities are associated with each event
to measure how likely it is for to occur.
Probability distributions use probability space to describe how likely a ๐ช Random Variable is to take on each of its different states. These states belong in the target space
For random variable
These probabilities can be either discrete or continuous.
- If
is discrete, we can specify for using the probability mass function. - If
is continuous, we instead specify using the cumulative distribution function.
Types of Distributions
Distributions with random variables
- Joint probability models probabilities for each pair
. - Marginal probability for
finds probabilities for irrespective of what value is taken for . This is defined as . - Conditional probability considers only instances for
to find probabilities for and is written as .
Discrete Probabilities
With a discrete target space, each outcome has its own probability, so our probability mass function
where
Continuous Probabilities
In continuous target space, we need functions to define probabilities rather than explicit fractions. The probability density function
Using
This value is captured by the cumulative distribution function,
Probability Rules
Given a joint distribution
Info
Many computational challenges in probabilistic modeling come from the sum rule. If we have many random variables, itโs computationally expensive to calculate the sum or integral over them.
We can also relate the joint to the conditional and marginal using the product rule,
Using this property, we can derive ๐ช Bayesโ Theorem,