ADescribe · Guide test 114
Filliben probability plot correlation test
Assesses normality using the correlation between ordered data and theoretical normal quantiles.
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 = Filliben probability-plot correlation.
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 · Filliben probability plot correlation test
Sinh–arcsinh shape: 0 is symmetric.
Below 1: heavier tails than normal; 1 with ε = 0 is exactly normal.
Your data
Drag a point or use ↑/↓ to change itIf H₀ were true
- The reference: how r varies across samples when H₀ is true, simulated: 1999 normal samples of 40 (simulated null on the shared Wichmann–Hill stream).
- Your statistic, from the data above.
- The p-value: the area at least as extreme as yours (p = .040).
- The hatched rejection region at α = .050: statistics landing here reject H₀.
The formula
With your numbers
- Filliben's medians of the uniform order statistics
- the sorted data
The verdict
r = 0.97, p = .040
p ≤ α = .050: reject H₀
Effect size: probability-plot correlation r = 0.970
The correlation of a normal probability plot: 1 is a straight line. Small values are extreme; the reference is simulated from normal samples.
- Statistic
- 0.970
- p-value
- 0.0400
Filliben probability plot correlation test on Sample: n = 40: r = 0.97, p = .040. The p-value is below α = .050, so the data are hard to reconcile with H₀.
Question and hypotheses
H0: a normal distribution generated the sample.
Assumptions
Independent identically distributed continuous observations; H0 is a normal distribution with unknown mean and positive variance. Censoring, truncation, clustering and fitted regression residuals require different calibration.
Formula
Parameters and notation
p1=1−0.5^(1/n), pn=0.5^(1/n); interior pi=(i−0.3175)/(n+0.365). These are Filliben plotting positions.
Structure of the method
Generate the specified Filliben plotting positions, convert them to standard-normal quantiles, sort the observations and compute their correlation with those quantiles. A low probability-plot correlation measures departure from a straight normal quantile relationship.
Estimated and nuisance parameters
No explicit location/scale fitting is required for the statistic because correlation removes affine location and positive scale. A fitted plot line is descriptive and must not be mistaken for the test’s null calibration.
Settings and design choices
Keep the plotting-position formula, treatment of ties and rejection direction fixed. Choose simulation count and significance level in advance. Substituting another plotting-position convention creates a related but differently calibrated procedure.
Fitting and adaptation
Simulate standard-normal samples of the same size, recompute ordered correlations and use the lower tail. Neither an ordinary Pearson correlation t test nor random permutations of ordered quantiles reproduce this null. Recompute for new measurements; there is no trained model to fine-tune. Report the probability plot as an accompanying diagnostic.
Sensitivity and robustness
Rounding creates tied order statistics and can change the null distribution. Mixtures with closely spaced components may still look nearly linear at small n. With large n, practically minor deviations can be significant; examine the scale and location of curvature instead of treating significance as an effect size.
How to use and calibrate
Small correlation rejects; use Filliben-specific critical values or normal null simulation with the same positions.
Example application
Quantify the straightness of a normal probability plot.
Interpretation and pitfalls
Watch out
The ordinary Pearson correlation t test is not the null distribution of ordered normal plot points.
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
Lower-tail Monte Carlo probability-plot correlation test with Filliben plotting positions; normal location and scale do not affect the statistic.
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)
def filliben(x):
n=len(x); p=(np.arange(1,n+1)-.3175)/(n+.365)
p[0]=1-.5**(1/n);p[-1]=.5**(1/n)
return np.corrcoef(np.sort(x),stats.norm.ppf(p))[0,1]
t=filliben(x);B=999;null=np.array([filliben(rng.normal(size=len(x))) for _ in range(B)])
print(t,(1+np.sum(null<=t))/(B+1))
Output
0.9863931324044345 0.193
Validated — Executed successfully in the validation environment · needs Base/standard library
set.seed(2026)
x <- rnorm(60)
filliben <- function(x) {n<-length(x);p<-(seq_len(n)-.3175)/(n+.365);p[1]<-1-.5^(1/n);p[n]<-.5^(1/n);cor(sort(x),qnorm(p))}
T<-filliben(x); B<-999; null<-replicate(B,filliben(rnorm(length(x))))
print(c(correlation=T,p=(1+sum(null<=T))/(B+1)))
Output
correlation p 0.9893346 0.3170000
Sources
- www.itl.nist.gov/div898/handbook/eda/section3/eda3676.htmitl.nist.gov
- eda3676.htmitl.nist.gov
- 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 114, updated from the reference's edition 2 (reviewed 14 November 2026) as STAT114.