Skip to content

Shapiro–Wilk Test

A statistical normality test whose statistic measures how closely ordered sample values align with expected order statistics from a normal population.

Version
v1 · 2026-09-28 · History
Domain-specific #
12006
Domain group
Formal Sciences
Origin domain
Experimental Design & Statistics
Subdomains
Normality Tests, Hypothesis Testing → Experimental Design & Statistics

Core Idea

The Shapiro–Wilk test is a univariate iid normality test comparing ordered sample values with expected normal order statistics through a calibrated W statistic. Shapiro–Wilk tests whether an iid sample is compatible with a normal population by comparing ordered observations with expected normal order statistics. W is calibrated by sample size; a small p-value rejects at the chosen α, while a large p-value does not prove normality. Power changes with n, so tiny departures can be significant in large samples. Dependence, ties, censoring, transformation, and residual/model context require separate treatment.

Scope of Application

The concept applies in statistical diagnostics and related work when its scope and evidence are explicit. Use it with the actual assumption target, iid basis, n, transformation, ties/censoring, W, p, α, graphics, power, and downstream consequence explicit; nonrejection does not prove normality.

  • Statistical diagnostics. Checks distributional assumptions.
  • Regression. Can assess residuals under model conditions.
  • Quality control. Screens process distributions.
  • Experimental analysis. Guides transformation/model choice.
  • Simulation validation. Checks generated marginals.

Clarity

Report data unit, independence basis, n, transformations, W, p, α, ties/censoring, graphical diagnostics, and practical impact. Do not test raw outcomes when the model assumes normal residuals. The closest near miss sets the boundary: Shapiro–Francia is the closest miss because it also uses ordered normal scores but a different statistic/weighting approximation.

Manages Complexity

The test compresses an entire order-pattern comparison into W and p, gaining reproducibility while losing detail about which tail, skew, or mixture caused rejection. The Shapiro–Wilk statistic compares ordered sample values with the pattern expected from normal order statistics. Values of W near one generally indicate close alignment, but inference uses sample-size-specific null calibration rather than a universal distance threshold. Rejecting normality at chosen α supplies evidence against the null; failing to reject does not prove normality. Small samples can miss meaningful deviations, while large samples can flag negligible departures. Estimated parameters, ties, discreteness, dependence, censoring, and prior data transformation can invalidate routine calibration or change interpretation. The test addresses marginal normality of an iid sample, not normal residuals, multivariate normality, or whether a downstream method is robust enough. Graphical diagnostics and substantive consequences should accompany the p-value. The central sensitivity–practical importance tradeoff is this: Large n detects tiny harmless departures.

Abstract Reasoning

Use three linked moves: identify the actual normality assumption; check iid/univariate applicability; compute ordered values and W with validated software. As a collapse test, identity collapses when the order-statistic weighting or normal-null calibration is replaced.

Knowledge Transfer

Order-statistic goodness-of-fit reasoning transfers to other distributions/tests, but Shapiro–Wilk requires its normal weights and calibration. No canonical parent prime is currently asserted; broader structural comparisons remain related-prime analogies until separately adjudicated in the DAG. Shapiro–Wilk is a named normality test: it evaluates an iid sample against a normal null, while W's ordered-value alignment supplies the narrower method.

Relationships to Other Abstractions

Local relationship map for Shapiro–Wilk TestParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Shapiro–Wilk TestDOMAINDomain-specific abstraction: Normality test — is a kind ofNormality testDOMAIN

Current abstraction Shapiro–Wilk Test Domain-specific

Parents (1) — more general patterns this builds on

  • Shapiro–Wilk Test is a kind of Normality test Domain-specific

    Shapiro–Wilk is a strict kind of Normality Test: it tests an iid sample against a normal null using W and expected normal order statistics.

Hierarchy paths (4) — routes to 4 parentless roots

Neighborhood in Abstraction Space

Shapiro–Wilk Test sits in a crowded region of the domain-specific corpus (37th percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Empirical Measurement & Statistical Inference Methods (50 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-10-08