Kurtosis
Descriptive Statistics
Where Do Extreme Events Hide?
Kurtosis measures the heaviness of a distribution's tails — and reveals whether extreme events are rare surprises or regular visitors.
- Assess tail risk — know if crashes and outliers are more frequent than a normal model predicts
- Evaluate models — detect when a normal assumption dangerously underestimates extreme events
- Classify distributions — distinguish mesokurtic, leptokurtic, and platykurtic shapes
- Test normality — combine with skewness in the Jarque-Bera test for a rigorous check
What You'll Learn
- 1Define kurtosis as a fourth-moment ratio and explain why the popular peakedness reading is misleading
- 2Compute excess kurtosis by hand on a five-value dataset and verify it against SciPy
- 3Translate kurtosis into concrete tail-event frequencies for risk and quality decisions
- 4Combine skewness and kurtosis in the Jarque-Bera normality test and interpret its p-value
A distribution's variance says how wide it is; its skewness says which side stretches; its kurtosis says how much probability hides in the extremes. That third property is the one that ruins models quietly. Gaussian assumptions underpin confidence intervals, control charts, and countless risk calculations, and every one of them inherits the normal distribution's thin tails — where a three-sigma event arrives roughly two days in a thousand. Real returns, real machine metrics, and real claim sizes arrive three-sigma events far more often, and kurtosis is the summary statistic that flags the discrepancy before the first surprise loss. This lesson treats kurtosis as tail insurance: what it measures, how to compute it, and how to act on it.
Tailedness, Not Peak Height
Kurtosis is the standardized fourth central moment:
Subtracting 3 sets the normal distribution's benchmark to zero, which is the Fisher (excess) convention used by SciPy, pandas, and most modern software. The non-excess Pearson convention keeps the normal at 3; if a report quotes "kurtosis = 3" and calls the data normal, the author is speaking Pearson. Popular tutorials often describe high kurtosis as "a sharp peak with fat tails," but that pairing is an artifact of specific families, not the definition. The uniform distribution is perfectly flat-topped and still has excess kurtosis −1.2; the Laplace distribution is sharply peaked with excess kurtosis +3; a wide mixture of two narrow Gaussians can be bimodal and mildly platykurtic. The fourth moment grows on fourth powers, so distant observations dominate the numerator — kurtosis is tail-weighted by construction, and peak shape is incidental.
Computing Excess Kurtosis by Hand
Take the five values 0, 1, 2, 3, 4. The mean is 2 and the deviations are −2, −1, 0, 1, 2. The second moment about the mean is , so . The fourth moment is . The ratio is , and the excess kurtosis is : clearly platykurtic, which makes sense because a five-point evenly spaced grid puts all its mass near the center and none in any tail. SciPy's default estimator applies a small-sample bias correction, so it reports a value near −1.3 for large samples drawn from the same shape but will differ slightly on the raw five points — a reminder to record whether your tool uses the biased or unbiased form when numbers land in a report.
import numpy as np
from scipy import stats
sample = np.array([0.0, 1.0, 2.0, 3.0, 4.0])
mean = sample.mean()
dev4 = ((sample - mean) ** 4).mean()
var2 = sample.var() ** 2
manual_ratio = dev4 / var2
print(f"mu_4 = {dev4:.3f}, sigma^4 = {var2:.3f}")
print(f"mu_4 / sigma^4 = {manual_ratio:.3f} (hand check: 1.700)")
print(f"Excess kurtosis (manual): {manual_ratio - 3:.3f}")
print(f"SciPy fisher=True, bias=True: {stats.kurtosis(sample, fisher=True):.3f}")
print(f"SciPy fisher=True, bias=False: {stats.kurtosis(sample, fisher=True, bias=False):.3f}")
Leptokurtic, Mesokurtic, Platykurtic
Three labels sort distributions by tail weight relative to the normal. Leptokurtic distributions (excess above zero) put more mass beyond two and three sigma, which in practice means more crashes, more page-worthy latency spikes, and more insurance claims than a Gaussian would schedule. Mesokurtic is the normal baseline. Platykurtic distributions (excess below zero) are tail-shy: bounded support or rapid decay keeps extreme draws rare, so normal-based intervals are conservative rather than dangerous. The table below anchors each class with a named example and its exact theoretical excess, giving you reference points when a computed value looks odd.
| Class | Excess kurtosis | Tail behavior | Named example (exact excess) |
|---|---|---|---|
| Platykurtic | Less than 0 | Thinner than normal | Uniform: −1.2; Bernoulli(0.5): −2 |
| Mesokurtic | Approximately 0 | Normal-like | Normal: 0 by construction |
| Leptokurtic | Greater than 0 | Heavier than normal | Exponential: 6; Laplace: 3; t(5): 3 |
np.random.seed(42)
n = 50_000
distributions = {
'Normal': np.random.normal(0, 1, n),
'Student t (df=5)': np.random.standard_t(5, n),
'Uniform': np.random.uniform(-np.sqrt(3), np.sqrt(3), n),
'Exponential': np.random.exponential(1, n) - 1,
'Laplace': np.random.laplace(0, 1 / np.sqrt(2), n),
}
print(f"{'Distribution':<18} {'Excess kurtosis':>16}")
print('-' * 36)
for name, data in distributions.items():
print(f"{name:<18} {stats.kurtosis(data, bias=False):>16.3f}")
print("\nTheoretical: normal 0 | t(5) +3 | uniform -1.2 | exponential +6 | Laplace +3")
Fat Tails in Finance: A Frequency Check
Abstract tail language becomes concrete when you count events. Daily equity returns with standard deviation of 1 percent sit inside ±3 percent about 99.73 percent of the time under a normal model — roughly 0.68 exceedances per 252-day year. A Student t distribution with five degrees of freedom, rescaled to the same standard deviation, blows through that band several times more often, and its sample kurtosis runs above 3 in excess terms. This is not an academic gap: risk systems sized on normal tails allocate capital for one crisis per decade and then meet three. The practical responses are blunt and effective — measure kurtosis on your actual return series, compare exceedance counts to the Gaussian benchmark, and either adopt a fat-tailed model (t, skewed t, generalized hyperbolic) or hold extra capital against the empirical quantiles. Quality engineering reads the same signal from the other direction: a machining process with high kurtosis is stable most days and catastrophic occasionally, which argues for tail monitoring rather than tighter average control limits.
np.random.seed(42)
normal_rets = np.random.normal(0, 0.01, 2520)
t5_rets = np.random.standard_t(5, 2520)
t5_rets *= 0.01 / t5_rets.std(ddof=1) # match volatility
threshold = 0.03
n_normal = np.sum(np.abs(normal_rets) > threshold)
n_t5 = np.sum(np.abs(t5_rets) > threshold)
print(f"Years of data: 10 (2,520 trading days), threshold = +/-3%")
print(f"Normal model exceedances: {n_normal} (~{n_normal / 10:.1f} per year)")
print(f"t(5) model exceedances: {n_t5} (~{n_t5 / 10:.1f} per year)")
print(f"Excess kurtosis normal: {stats.kurtosis(normal_rets, bias=False):+.3f}")
print(f"Excess kurtosis t(5): {stats.kurtosis(t5_rets, bias=False):+.3f}")
print("Same volatility, radically different tail counts — this is the kurtosis premium.")
⚠️Normal-based risk models eat their own tail risk
The Jarque-Bera Test
Skewness and kurtosis combine into a single omnibus normality test. Under normality, sample skewness centers on 0 and excess kurtosis on 0, so the quadratic form
follows an approximate chi-square distribution with two degrees of freedom. Worked numbers: with , , and excess kurtosis , the statistic is . The two-degree-of-freedom survival function gives , so normality is not rejected — the mild departures are consistent with sampling noise. Raise the excess kurtosis to 3.0 on the same sample and the statistic jumps to , with a p-value around : the tails have spoken. Two caveats bound the test's use. Its chi-square approximation wants samples above roughly 50 observations, and it is omnibus — rejection tells you "not normal," not which moment misbehaved, so always print and beside the statistic.
np.random.seed(42)
normal = np.random.normal(0, 1, 5000)
t3 = np.random.standard_t(3, 5000)
for name, data in [('Normal', normal), ('Student t (df=3)', t3)]:
jb_stat, p = stats.jarque_bera(data)
s = stats.skew(data)
k = stats.kurtosis(data, bias=False)
verdict = 'reject normality' if p < 0.05 else 'do not reject'
print(f"{name}: S={s:+.3f}, K={k:+.3f}, JB={jb_stat:.2f}, p={p:.2e} -> {verdict}")
# Reproduce the hand-computed example
n, s_hand, k_hand = 100, 0.2, 0.5
jb_hand = n / 6 * (s_hand ** 2 + k_hand ** 2 / 4)
print(f"\nHand example: JB = {jb_hand:.4f} (check 1.7083), "
f"p = {np.exp(-jb_hand / 2):.4f} (check 0.4256)")
Kurtosis of Named Distributions
Memorizing a handful of exact values pays for itself in sanity checks. The normal is 0 by construction (excess form). The uniform on any bounded interval is −1.2 — light tails because it literally has no tails. The exponential is +6, a workhorse for arrivals with occasional long gaps. The Laplace is +3, built from exponentials on both sides. The Bernoulli at is −2, the most platykurtic bounded variable. The Poisson with mean has excess kurtosis , so rare-event counts (small λ) are leptokurtic and frequent-event counts approach normality. Student t with degrees of freedom has excess for , which converges to the normal as degrees of freedom grow — the standard recipe for introducing controllable fat tails into a model. When your computed kurtosis disagrees wildly with the theoretical value of the family you believe you sampled, the first suspects are outliers in the data or the wrong family in the model.
| Distribution | Excess kurtosis | Reading |
|---|---|---|
| Normal | 0 | Benchmark |
| Uniform | −6/5 = −1.2 | Bounded, tail-free |
| Exponential | 6 | Long right tail |
| Laplace | 3 | Heavy both sides |
| Bernoulli(0.5) | −2 | Two-point extreme |
| Poisson(λ) | 1/λ | Rare counts are heavy |
| Student t(ν) | 6/(ν−4), ν greater than 4 | Tunable fat tails |
Machine learning applications follow the same logic as finance. Outlier detectors raise their sensitivity on features with high kurtosis because the extra tail mass will generate legitimate extremes that a 3-sigma rule would flag as errors. Linear models prefer approximately normal residuals, so a kurtosis check on residuals joins the diagnostic list alongside heteroscedasticity plots. Data quality pipelines treat sudden kurtosis shifts as ingestion bugs — a unit error or a duplicated batch often shows up as an unexpected tail signature long before summary means drift noticeably.
from scipy.stats import norm, t as t_dist
def theoretical_excess(df):
return 6 / (df - 4)
for df in [6, 10, 30, 100]:
sim = t_dist.rvs(df, size=100_000, random_state=42)
print(f"t(df={df:3d}): simulated {stats.kurtosis(sim, bias=False):+.3f} | "
f"theory {theoretical_excess(df):+.3f}")
# Kurtosis as a data-quality alarm
clean = np.random.normal(0, 1, 10_000)
contaminated = clean.copy()
rng = np.random.default_rng(0)
contaminated[rng.choice(10_000, 50, replace=False)] += rng.normal(0, 15, 50)
print(f"\nClean pipeline: K = {stats.kurtosis(clean, bias=False):+.3f}")
print(f"0.5% contaminated: K = {stats.kurtosis(contaminated, bias=False):+.3f}")
print("Half a percent of bad rows doubled the kurtosis — monitor it.")
Common Mistakes
Describing kurtosis as measuring peak height
Fix: Kurtosis weights fourth powers of deviations, so it is driven by tail mass; peak shape is only incidentally correlated in some families.
Comparing a Fisher excess kurtosis to a Pearson kurtosis of 3
Fix: Confirm which convention your tool prints: SciPy and pandas default to excess (normal = 0); older texts may quote the non-excess form (normal = 3).
Trusting Jarque-Bera on small samples
Fix: The chi-square approximation needs roughly n above 50; for smaller samples use Shapiro-Wilk or a bootstrap normality assessment.
Best Practices
- Report skewness and kurtosis together with every normality claim
- Benchmark computed kurtosis against the theoretical value of the assumed family
- Monitor kurtosis in data quality pipelines as an early detector of contamination
- Model returns and claim sizes with fat-tailed families when excess kurtosis is materially above zero
Key Takeaways
- Excess kurtosis standardizes the fourth central moment and subtracts 3 so the normal distribution sits at zero
- Positive excess means heavier tails than normal — more extreme events; negative means lighter tails and bounded behavior
- The Jarque-Bera statistic combines skewness and kurtosis into a chi-square(2) normality test for samples above about 50 observations
- Finance, quality, and ML pipelines use kurtosis to size tail risk and to catch contaminated data before means drift
Frequently Asked Questions
Does high kurtosis imply a high peak?
No. Kurtosis is sometimes nicknamed the peakedness coefficient, but the fourth moment cannot see the peak directly — it explodes on distant observations. The Student t with low degrees of freedom is less peaked than a normal near the center yet massively more kurtotic because its tails carry the mass.
Why do some sources say the normal distribution has kurtosis 3?
They quote the Pearson (non-excess) kurtosis, , for which the normal equals 3. Fisher's excess form subtracts that 3, so the same distribution scores 0. Always state which convention a reported number uses.
Is sample kurtosis a reliable statistic?
Less reliable than sample variance. The estimator's variance depends on eighth moments, so heavy-tailed data produce wildly unstable kurtosis across samples. Treat single-sample kurtosis as a screening signal and confirm tail behavior with exceedance counts or quantile comparisons before retraining a model around it.
Interview Questions
Q1: Explain what excess kurtosis tells you about a return series.
Excess kurtosis above zero means the series has more mass in the tails than a normal distribution with the same variance, so multi-sigma moves occur more often than Gaussian risk models predict. That motivates fat-tailed models or larger capital reserves.
Q2: How do the Jarque-Bera statistic and its degrees of freedom work?
JB = n/6 times (S² + K²/4), where S is skewness and K is excess kurtosis. Under normality it follows an approximate chi-square distribution with 2 degrees of freedom, one for each moment tested.
Q3: Give two distributions with the same variance but very different kurtosis.
A normal distribution and a Student t with 5 degrees of freedom, rescaled to equal variance, both have variance 1 — but the normal has excess kurtosis 0 and the t has excess kurtosis 3, meaning far more extreme draws per year at identical volatility.