Random variables and distribution functions
KnownMemorizeWhich function, which variable
| Function | Gives | Discrete | Continuous |
|---|---|---|---|
| Mass (PMF) | yes | no (every point has 0) | |
| Density (PDF) | density: area = probability | no | yes |
| Cumulative (CDF) | staircase | smooth curve |
Memory hook Mass sits on points, density spreads over a range, cumulative keeps a running total.
Know it cold Continuous: . Discrete with both ends included: .
MemorizeLaw of large numbers against the central limit theorem
Know it cold More trials: the sample mean converges to the true mean (law of large numbers). The shape of the sample mean: approximately normal (central limit theorem).
Key terms
- random variable Use it
- stochastic variable Know the idea
- discrete random variable Use it
- continuous random variable Use it
- probability mass function Memorize
- probability density function Memorize
- cumulative distribution function Memorize
- law of large numbers Use it
- Discrete Memorize countable outcomes, such as a count of defaults
- Probability mass function (PMF) P(X = x) for each outcome
- Cumulative distribution function (CDF) a staircase that jumps at each outcome
-
- Continuous Memorize any value in a range, such as a return
- Probability density function (PDF) probability is the area under it
- Cumulative distribution function (CDF) a smooth curve
-
Formulas
Quick example
A cumulative table reads 0.09, 0.25 and 0.69 at x = 0, 1 and 2. P(X ≤ 1) = F(1) = 0.25.
Quick example
F(x) = x² on the range 0 to 1. P(0.2 ≤ X ≤ 0.5) = 0.25 − 0.04 = 0.21.
- 0.5x²−0.2x²= 0.21
x² square
- 0.5ENTER×0.2ENTER×− 0.21
ENTER enter (on the HP, puts the number on the stack)
Quick example
Mass of 0.12, 0.38 and 0.28 at x = 1, 2 and 3. P(1 ≤ X ≤ 3) = 0.78.
- 0.12+0.38+0.28= 0.78
- 0.12ENTER0.38+0.28+ 0.78
ENTER enter (on the HP, puts the number on the stack)
Quick example
Four outcomes have probabilities 0.22, 0.41, 0.19 and p. p = 1 − 0.82 = 0.18.
- 1−0.22−0.41−0.19= 0.18
- 1ENTER0.22−0.41−0.19− 0.18
ENTER enter (on the HP, puts the number on the stack)
Quick example
F(x) = x² gives f(x) = 2x, so the density at x = 0.5 is 1.0.