Random Variable | Definition |
Discrete random variables | A random variable assigns numbers to the possible outcomes of a random experiment.
A discrete random variable, , has a finite or countably infinite set of distinct values.
Discrete probability distributions are representable in a table due to its categorical nature. The probabilities must add up to 1.
The probability distribution of a discrete random variable describes the probabilities associated with each value.
For a random variable with possible values {} and corresponding probabilities {}:
•
•
Example: If for , then is a valid probability mass function. |
Expectation (Mean) | The expected value
of a discrete random variable with values and probabilities :
is the mean of the probability distribution of , denoted . |
Variance | measures the spread of the random variable around its mean:
Alternatively:
Standard deviation |
Linear transformations | •
•
•
• if and are independent.
• |
Random Variable | Definition |
Continuous random variables | A random variable is continuous if its cumulative distribution function is continuous. If we have:
is the probability density function (PDF) of . Note that PDF and PMF are fundamentally different objects, as PDFs can be greater than 1. Below, for simplicity, we denote PDF as .
A continuous random variable can take any value within an interval .
PDF describes the probability distribution:
•
• for all
• |
Mode, median, mean | Mode: The value at which is maximum.
Median: The value such that .
Mean (Expected Value): |
Variance and standard deviation | Variance:
Standard deviation: |


