<aside> <img src="/icons/table_red.svg" alt="/icons/table_red.svg" width="40px" /> Table of Contents
</aside>
<aside> 💡
Random Variable
Probability Distribution of a Random Variable
Discrete Probability Function
Consider the roll of a die.
Possible outcomes: $x = \{1, 2, 3, 4, 5, 6\}$.
Each outcome has an equal probability: $f(x) = \frac{1}{6}$.
The probability distribution can be represented as:
$x$ | $f(x)$ |
---|---|
1 | $\frac{1}{6}$ |
2 | $\frac{1}{6}$ |
3 | $\frac{1}{6}$ |
4 | $\frac{1}{6}$ |
5 | $\frac{1}{6}$ |
6 | $\frac{1}{6}$ |
Verification of Conditions:
$f(x) \geq 0$:
$$ f(x) = \frac{1}{6} \ \text{is non-negative.} $$
$\sum f(x) = 1$:
$$ \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} = 1 $$
Continuous Probability Function
A continuous probability function is defined over intervals, and the probabilities are computed as the area under the curve of the probability density function $f(x)$.
Key Properties:
$$ f(x) \geq 0 \text{ for all x } $$
The total area under the curve of $f(x)$ over the interval equals 1:
$$ \int_{-\infty}^\infty f(x) \, dx = 1 $$
Example:
The height of individuals in a population might follow a normal distribution (bell curve). If $X$ represents height, the probability that a randomly selected person has a height between 160 cm and 170 cm is computed as:
$$ P(160 \leq X \leq 170) = \int_{160}^{170} f(x) \, dx $$
Graphical Representation
Suppose a car dealership tracks the number of cars sold in a day, with the following probability distribution:
| --- | --- |
Verification of Conditions:
Graphical Representation:
Summary of Required Conditions