ADescribe · Guide test 113
Anscombe–Glynn kurtosis test
Tests whether sample kurtosis is compatible with a normal population.
Do it in CodeSplash
In the app, set it up in Analyze with one of these methods:
- Normality tests (battery) — Is a numeric variable (or each group of it) plausibly normal — by tests and by shape?
- Normality test (one test) — Is a numeric variable (or each group of it) plausibly normally distributed?
In Normality test (one test), choose Test = Anscombe–Glynn kurtosis.
Do it in CodeSplash Run this test on your own data, in Python or R.
Bench
Change the design, drag the data, move α. The statistic, its reference distribution and the verdict follow.
Bench · Anscombe–Glynn kurtosis test
Sinh–arcsinh shape: 0 is symmetric.
Below 1: heavier tails than normal; 1 with ε = 0 is exactly normal.
Alternative
Your data
Drag a point or use ↑/↓ to change itIf H₀ were true
- The reference: how z varies across samples when H₀ is true.
- Your statistic, from the data above.
- The p-value: the area at least as extreme as yours (p = .753).
- The hatched rejection region at α = .050: statistics landing here reject H₀.
The formula
With your numbers
- sample kurtosis (3 for normal)
- standardized b₂
- Anscombe–Glynn constant
The verdict
b₂ = 2.91, z = 0.31, p = .753
p > α = .050: compatible with H₀
Positive z: heavy tails (outliers more often than normal); negative: light tails. Needs n ≥ 20.
- Statistic
- 0.314
- p-value
- 0.7534
Anscombe–Glynn kurtosis test on Sample: n = 40: b₂ = 2.91, z = 0.31, p = .753. The p-value is above α = .050, so the data are compatible with H₀.
Question and hypotheses
H0: normal-population kurtosis; the test targets tail/shape departure.
Assumptions
Independent observations and normal null; the usual approximation is more reliable for n>20.
Formula
Parameters and notation
b2=m4/m2²; E=3(n−1)/(n+1); V=24n(n−2)(n−3)/[(n+1)²(n+3)(n+5)]; x=(b2−E)/√V. Let β=6(n²−5n+2)/[(n+7)(n+9)] × √[6(n+3)(n+5)/(n(n−2)(n−3))]; A=6+(8/β)[2/β+√(1+4/β²)]. Use the real cube root.
Structure of the method
Estimate central second and fourth moments, standardize kurtosis against its finite-normal-sample mean and variance, then apply the Anscombe–Glynn transformation. Its final normal approximation targets kurtosis departure, not every possible departure from a normal distribution.
Estimated and nuisance parameters
Sample mean and moment estimates are data-derived nuisance summaries. Sample-size correction constants are prescribed analytic quantities; they are not learned coefficients or tunable network parameters.
Settings and design choices
Preselect one- or two-sided alternative, missingness handling and sample-size requirements. Use the implementation’s real cube-root convention and distinguish Pearson kurtosis from excess kurtosis to avoid a three-unit shift.
Fitting and adaptation
For a new dataset, recompute moments and sample-size corrections. If normal approximation accuracy is doubtful, simulate the full statistic under an iid normal null at that n. A test of arbitrary populations with kurtosis three needs another calibration. Robustifying the fourth moment changes the procedure and must be independently calibrated.
Sensitivity and robustness
Fourth moments are extremely sensitive to rare extremes, and small samples can produce unstable transformed values. Normal-reference accuracy improves beyond very small n, but population kurtosis may not exist for some heavy-tailed alternatives. A nonsignificant result does not establish normality or finite higher moments.
How to use and calibrate
Use the approximate standard normal tail matching the alternative.
Example application
Check whether kurtosis is inconsistent with a normal model.
Interpretation and pitfalls
Watch out
Kurtosis three alone does not establish normality. Numerical degeneracies and small samples need implementation checks.
What changed in edition 2
- New sections: structure of the method, estimated and nuisance parameters, settings and design choices, fitting and adaptation, sensitivity and robustness.
Python and R
Normality is assessed for independent observations. For model diagnostics, test residual assumptions in context; do not automatically choose a downstream test based on a preliminary normality p-value.
Validated — Executed successfully in the validation environment · needs numpy, scipy
import numpy as np
from scipy import stats
rng = np.random.default_rng(2026)
x=rng.normal(size=60)
print(stats.kurtosistest(x))
Output
KurtosistestResult(statistic=np.float64(1.0023776468044505), pvalue=np.float64(0.3161612339317257))
Validated — Executed successfully in the validation environment · needs moments
set.seed(2026)
x <- rnorm(60)
print(moments::anscombe.test(x))
Output
Anscombe-Glynn kurtosis test data: x kurt = 3.14380, z = 0.63534, p-value = 0.5252 alternative hypothesis: kurtosis is not equal to 3
Sources
- SciPy — SciPy · kurtosistestdocs.scipy.org
- scipy.stats.kurtosistestdocs.scipy.org
- anscombe.testsearch.r-project.org
- Statistics guide v4 (historical):
- R: Executed successfully in the validation environment
- Reference's record:
- Edition 2 review: Python: executed · R: not executed (Rscript unavailable). Python: Ran in the reference's review, on this exact code. R: Reviewed but not run: R wasn't available to the reference's authors.
From the CodeSplash statistics guide (v4), entry 113, updated from the reference's edition 2 (reviewed 14 November 2026) as STAT113.