Continuous distributions: uniform, normal and logistic
A continuous uniform spreads probability evenly over [a, b]: mean (a + b)/2, variance (b − a)²/12. The normal is a symmetric bell set by μ and σ: about 68% of outcomes within one σ, about 95% within two. The logistic is similar but fatter-tailed, with variance s²π²/3.
Watch the lesson 14 min
This lesson's video is for Plus members. The written lesson below is free, as always.
Before this: Random variables and distribution functions
On the exam
- Calculate, interpret, and evaluate the principal moments of key statistical distributions used in finance
Calculate and interpret the moments of the continuous uniform, normal and logistic distributions. Expect a uniform probability or variance, the 68% or 95% range of a normal return, which distribution has heavier tails or an S-shaped cumulative curve, and how the logistic variance responds to its scale parameter.
How deeply to learn each part
- Know the idea
- Understand it in general. It frames other topics, but you will not calculate with it.
- Use it
- Understand it well enough to solve a question with it. Recognize when it applies.
- Memorize
- Learn it by heart. The exam will not give it to you.
You know this one. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still do.
You tested strong here. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still know it.
What is a continuous uniform distribution?
A continuous uniform distribution makes every value between a and b equally likely. The density is a flat line at 1/(b − a), and the cumulative curve is a straight line from 0 to 1.
How does a uniform draw turn into any distribution?
Draw u between 0 and 1, then find the outcome whose cumulative probability equals u. That is the inverse of the cumulative distribution function, and the method is called inverse transform sampling . It is how a simulation produces draws from any distribution.
A Monte Carlo simulation of a share price works the same way. It draws u, converts it to a standard normal draw with the inverse of the normal cumulative distribution function (CDF), and feeds it into a price model (the next lesson, and Learning Module 9).
What is the normal distribution?
The normal distribution is a symmetric bell fully described by its mean μ and variance σ², written N(μ, σ²). Mean, median and mode are equal. Its skewness is 0 and its kurtosis is 3 (excess kurtosis 0). The standard normal distribution has μ = 0 and σ = 1.
The normal appears everywhere because the sum of many small independent effects tends to a normal. Confidence intervals and tests in Learning Module 7 build on it. There is no table lookup in this lesson.
What is the logistic distribution?
The logistic distribution is a symmetric bell with an S-shaped cumulative curve. It has a location parameter μ, which is its mean, and a scale parameter s. Its variance is s²π²/3, its skewness is 0, and its kurtosis is 4.2 (excess kurtosis 1.2), so its tails are heavier than the normal’s.
The logistic distribution is the one behind logistic regression, which models yes/no outcomes such as default or no default, and it turns up in machine learning and in growth processes that level off. Poisson regression, by contrast, models counts.
How do the four moments compare?
The four moments of a distribution are its mean (center), variance (spread), skewness (lopsidedness) and kurtosis (tail weight). Learning Module 5 measured them from data. Here they come from the distribution’s formulas.
| Distribution | Mean | Variance | Skewness | Kurtosis (excess) |
|---|---|---|---|---|
| Continuous uniform [a, b] | (a + b)/2 | (b − a)²/12 | 0 | 1.8 (−1.2) |
| Normal N(μ, σ²) | μ | σ² | 0 | 3 (0) |
| Logistic (μ, s) | μ | s²π²/3 | 0 | 4.2 (1.2) |
All three are symmetric. What separates them is the tails: none for the uniform, moderate for the normal, heavy for the logistic.
- Continuous uniform Memorize flat, no tails; kurtosis 1.8
- Normal Memorize symmetric bell; kurtosis 3
- Logistic Memorize symmetric bell, heavier tails; kurtosis 4.2
- Log-normal Use it next lesson: skewed right, bounded at zero
Try this 0 of 3
- Logistic: double the scale s from 0.6 to 1.2 and watch the variance
- Uniform: find a range whose standard deviation is about 10%
- Logistic: zoom on the tails and compare the two probabilities
Uniform from 20% to 60%: every value equally likely, mean 40.0%, standard deviation 11.55%. P(X ≤ 30%) = 0.25.
PDF: flat at 1 ÷ (b − a)
Drag the x marker, tap the chart, or focus the handle and use the arrow keys.
- P(X ≤ 30%) = 0.25
CDF: a straight line from 0 to 1
| Moment | Formula | Value |
|---|---|---|
| Mean | (a + b) ÷ 2 | 40.0% |
| Variance | (b − a)² ÷ 12 | 0.01333 |
| Standard deviation | (b − a) ÷ √12 | 11.55% |
| Skewness | symmetric | 0 |
| Kurtosis (excess) | no tails at all | 1.8 (−1.2) |
Show working
P(X ≤ 30%) = (x − a) ÷ (b − a) = (30 − 20) ÷ (60 − 20) = 0.25.
Mean = (20 + 60) ÷ 2 = 40.0%. Variance = (b − a)² ÷ 12 = 0.4² ÷ 12 = 0.01333; standard deviation 11.55%.
Kurtosis 1.8 (excess −1.2): flatter than the normal, with no tails at all.
- 30−20=÷40=0.25
- 30ENTER20−40÷0.25
ENTER enter (on the HP, puts the number on the stack)
Display: 0.25
- 0.4x²÷12=0.01333
x² square
- 0.4ENTER×12÷0.01333
ENTER enter (on the HP, puts the number on the stack)
Display: 0.01333
Try the Uniform tab first, then the inverse draw. On the Normal tab change μ and σ to see where the 68% and 95% bands fall. On the third tab both curves share the same mean and standard deviation, so any difference you see is in the tails; zoom in on them.
How do you do this in a spreadsheet?
Know the idea
| Task | Excel and Google Sheets |
|---|---|
| Uniform draw between a and b | RAND()*(b − a) + a |
| Normal density / cumulative probability | NORM.DIST(x, mean, sd, FALSE) / NORM.DIST(x, mean, sd, TRUE) |
| Normal draw (inverse CDF of a uniform draw) | NORM.INV(RAND(), mean, sd); Google Sheets also accepts NORMINV |
| Uniform cumulative probability | (x − a)/(b − a), or BETA.DIST(x, 1, 1, TRUE, a, b) |
Go deeper The normal density and distribution function in symbols
The density is f(x) = [1 ÷ (σ√(2π))] × e^(−½((x − μ) ÷ σ)²), and the cumulative function is F(x) = Φ((x − μ) ÷ σ), where Φ is the standard normal cumulative function. You do not need to memorize either. In this module, normal probabilities come from the 68% and 95% ranges; a spreadsheet’s NORM.DIST does the rest.
Go deeper Tails in numbers
With the same standard deviation, the chance of a move beyond three standard deviations in either direction is about 0.27% for the normal and about 0.86% for the logistic. That is the practical meaning of excess kurtosis of 1.2: more extreme moves than the normal predicts. These figures are for intuition, not for the exam.
Go deeper Why logistic regression uses this curve
A logistic regression turns any score into a probability between 0 and 1 by passing it through the S-shaped cumulative curve. That is why it suits yes/no questions such as “will this borrower default?”. Counts, such as the number of defaults in a quarter, call for Poisson regression instead.
Memorize this
MemorizeContinuous distributions: the moments
| Distribution | Mean | Variance | Skewness | Kurtosis (excess) |
|---|---|---|---|---|
| Continuous uniform [a, b] | 0 | 1.8 (excess −1.2) | ||
| Normal N(μ, σ²) | μ | σ² | 0 | 3 (0) |
| Logistic (μ, s) | μ | 0 | 4.2 (1.2) |
Memory hook Uniform 1.8, normal 3, logistic 4.2: flat, normal, fat. The 12 in both uniform variances is the same 12.
Know it cold Normal: 68% within ±1σ, about 95% within ±2σ. Logistic variance = , so it scales with .
- Continuous uniform Memorize flat, no tails; kurtosis 1.8
- Normal Memorize symmetric bell; kurtosis 3
- Logistic Memorize symmetric bell, heavier tails; kurtosis 4.2
- Log-normal Use it next lesson: skewed right, bounded at zero
Quick example
Uniform on [0, 12]: mean 6, variance 144 ÷ 12 = 12.
Quick example
Uniform on [10, 50]: P(20 ≤ X ≤ 30) = 10 ÷ 40 = 0.25.
- 30−20=÷(50−10)= 0.25
- 30ENTER20−50ENTER10−÷ 0.25
ENTER enter (on the HP, puts the number on the stack)
Quick example
N(5%, 10%²): about 95% of outcomes lie between 5 − 20 = −15% and 5 + 20 = 25%.
- 5−(2×10)= -15
- 5+(2×10)= 25
- 5ENTER2ENTER10×− -15
- 5ENTER2ENTER10×+ 25
ENTER enter (on the HP, puts the number on the stack)
Quick example
Scale s = 1.5: 2.25 × 9.8696 ÷ 3 = 7.40, so the standard deviation is 2.72.
- 1.5x²×9.8696÷3= 7.4022
- √x 2.7207
x² square · √x square root
- 1.5ENTER×9.8696×3÷ 7.4022
- g√x 2.7207
ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root
How it is asked
-
Uniform probability
Uniform between 5% and 45%. P(above 37%)?
(45 − 37) ÷ 40 = 0.20. Trap: 0.80 (that is P(below)).
-
Normal range
Returns N(4%, 11%²). About 95% lie between?
4 ± 22: −18% and 26%. Trap: −7% and 15% (±1σ, 68%).
-
Which tails are heavier?
Logistic or normal?
Logistic (excess kurtosis 1.2).
-
Logistic scale
The scale s triples. Variance?
× 9.
Exam traps
- Calling the continuous uniform's kurtosis 0. It is 1.8 (excess kurtosis −1.2).
- Saying the logistic has thinner tails than the normal. It has heavier tails.
- Using ±1σ for the 95% range. That is the 68% range.
- Expecting the logistic variance to grow in line with s. It grows with s².
Checkpoint
3 exam-style questions. About 90 seconds each.
1A simulation draws a bond's recovery rate from a continuous uniform distribution between 25% and 55%. The probability that a draw is above 46% is closest to:
2An analyst wants a symmetric, bell-shaped model of daily returns that gives extreme moves more probability than the normal distribution does. The most appropriate choice is the:
3Annual returns on an equity fund are normally distributed with a mean of 8% and a standard deviation of 12%. Approximately 95% of annual returns lie between:
Key takeaways
- Uniform on [a, b]: mean (a + b)/2, variance (b − a)²/12, kurtosis 1.8.
- Normal: set by μ and σ; about 68% within ±1σ, about 95% within ±2σ.
- Logistic: symmetric, heavier tails than the normal; variance s²π²/3.
- Draw u from a uniform and invert a cumulative distribution function to simulate any distribution.
Quick example
Uniform on [0, 12]: mean 6, variance 144 ÷ 12 = 12.
Quick example
Uniform on [10, 50]: P(20 ≤ X ≤ 30) = 10 ÷ 40 = 0.25.
- 30−20=÷(50−10)= 0.25
- 30ENTER20−50ENTER10−÷ 0.25
ENTER enter (on the HP, puts the number on the stack)
Quick example
N(5%, 10%²): about 95% of outcomes lie between 5 − 20 = −15% and 5 + 20 = 25%.
- 5−(2×10)= -15
- 5+(2×10)= 25
- 5ENTER2ENTER10×− -15
- 5ENTER2ENTER10×+ 25
ENTER enter (on the HP, puts the number on the stack)
Quick example
Scale s = 1.5: 2.25 × 9.8696 ÷ 3 = 7.40, so the standard deviation is 2.72.
- 1.5x²×9.8696÷3= 7.4022
- √x 2.7207
x² square · √x square root
- 1.5ENTER×9.8696×3÷ 7.4022
- g√x 2.7207
ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root
Questions about this lesson?
Where this comes back
- Why asset prices are log-normal Statistical Distributions
- Estimation and Hypothesis Testing Quantitative Methods
Questions candidates ask
What is the variance of a continuous uniform distribution?
(b − a)²/12. A uniform between 20% and 60% has variance 0.40²/12 = 0.0133 and a standard deviation of 11.55%.
How does the logistic distribution differ from the normal?
Both are symmetric bells. The logistic has heavier tails (excess kurtosis 1.2 against 0), so it gives extreme outcomes more probability. Its variance is s²π²/3, where s is the scale parameter.
What does the 68–95 rule say?
For a normal distribution, about 68% of outcomes lie within one standard deviation of the mean and about 95% within two.
Spotted an error? Tell us and we will fix it.