Skip to content

ADescribe · Guide test 114

Filliben probability plot correlation test

Assesses normality using the correlation between ordered data and theoretical normal quantiles.

Runs in CodeSplashPython example validatedR example validated

Do it in CodeSplash

In the app, set it up in Analyze with one of these methods:

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

40
0.60

Sinh–arcsinh shape: 0 is symmetric.

1.00

Below 1: heavier tails than normal; 1 with ε = 0 is exactly normal.

0.050

Your data

Drag a point or use ↑/↓ to change it
Sample · n = 40 · mean 1.12

If H₀ were true

r = 0.97
  1. 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).
  2. Your statistic, from the data above.
  3. The p-value: the area at least as extreme as yours (p = .040).
  4. The hatched rejection region at α = .050: statistics landing here reject H₀.

The formula

r=cor⁡(x(i), Φ−1(mi))r=\operatorname{cor}\left(x_{(i)},\ \Phi^{-1}(m_i)\right)

With your numbers

r=0.97,n=40r = 0.97,\qquad n = 40
mim_i
Filliben's medians of the uniform order statistics
x(i)x_{(i)}
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 H0.

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

rF=Corr⁡(x(i),Φ−1(pi))r_F=\operatorname{Corr}(x_{(i)},\Phi^{-1}(p_i))

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.

Python · native

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
R

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

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.