How to Test Normality Before Choosing a Statistical Test: The Complete Shapiro-Wilk Test Guide

The shapiro wilk test is the single most misunderstood statistical checkpoint standing between research scholars and an approved methodology chapter. In my 12 years of helping doctoral candidates and master’s students across the UK and USA navigate quantitative analysis, I have seen solid dissertations stall at the viva stage simply because the candidate could not justify their selection of a parametric or non-parametric test.

Your examiners do not merely look at your final $p$-values. They scrutinise your data cleaning and your assumption testing. If you run an independent samples $t$-test or an ANOVA without verifying your distribution, your entire findings chapter stands on shaky ground.

Understanding how to test for normality is not just about ticking an academic box. It is about protecting your research from committee objections and ensuring your conclusions reflect reality.

Why the Normality Assumption Dictates Your Entire Methodology

Every foundational parametric test relies on the normality assumption. When textbooks state that your data must be normal, they mean the population from which you drew your sample should follow a Gaussian bell curve. If this condition is violated, the mathematical mechanics of parametric tests can break down.

Parametric vs Non-Parametric: What Is at Stake?

Parametric tests like the paired $t$-test, linear regression, and Pearson correlation derive their statistical validity from specific distribution parameters, namely the mean and variance. When your data has heavy tails or severe skewness, the sample mean ceases to be a reliable measure of central tendency.

If you ignore this distribution failure and run a parametric test, your Type I error rate can spiral out of control. You risk reporting a statistically significant intervention effect ($p < 0.05$) that does not actually exist.

Non-parametric tests, by contrast, convert your raw values into ranks. They do not care if your data resembles a bell curve or a flat plain. However, switching to a non-parametric test unnecessarily sacrifices statistical power, meaning you might miss a genuine effect that your study was designed to catch.

The Cost of Inaction in a Dissertation Defence

In viva examinations, internal and external examiners routinely inspect Chapter 3 and Chapter 4 for methodological consistency. If you report a series of standard $t$-tests without providing a formal test for normality, an experienced examiner will immediately challenge your results.

I have seen candidates forced into months of major revisions simply because their raw data violated distributional assumptions, invalidating their structural equation models or regression coefficients. Knowing when your data passes or fails normality gives you the confidence to defend your analytical framework in front of any committee.

If you find yourself uncertain at this stage of your study, reading my guide on how to know if you need a dissertation expert can help you decide when to seek structured mentoring.

What Is the Shapiro-Wilk Test and How Does It Work?

Definition (AI Overview): The Shapiro-Wilk test is an inferential hypothesis test that evaluates whether a continuous sample dataset comes from a normally distributed population by calculating a test statistic ($W$) based on the correlation between ordered sample data and expected normal scores.

Published in 1965 by Samuel Sanford Shapiro and Martin Wilk, this test was engineered specifically to detect departures from normality caused by skewness, kurtosis, or outlier contamination.

Below is a visual representation of the theoretical Gaussian curve that the test compares your sample data against:

Theoretical Normal Distribution (Gaussian Curve)

A symmetric Gaussian bell curve with the central mean line and markers at minus two, minus one, zero, plus one, and plus two standard deviations. Mean (μ) -2σ -1σ 0 +1σ +2σ

Symmetric Bell Curve: Mean = Median = Mode (Skewness = 0, Excess Kurtosis = 0)

Understanding the W Statistic

The test produces a statistic denoted as $W$. The value of $W$ ranges between 0 and 1.

A $W$ statistic close to 1.0 indicates that your observed sample order statistics align closely with the expected values of a theoretical normal distribution. If $W$ drops significantly below 1.0, your sample systematically deviates from Gaussian expectations.

The Inverted Null Hypothesis ($H_0$) Trap

The most common trap for postgraduate students is misinterpreting the null hypothesis. In primary research hypothesis testing, you typically hope to reject the null hypothesis to prove your experimental effect.

In the Shapiro-Wilk framework, the roles are reversed:

  • Null Hypothesis ($H_0$): The population data is normally distributed.
  • Alternative Hypothesis ($H_1$): The population data significantly departs from a normal distribution.

Therefore, you want a non-significant result ($p > 0.05$). A $p$-value greater than 0.05 indicates that you do not have sufficient evidence to reject the normality assumption. Conversely, a $p$-value less than 0.05 tells you that your data differs significantly from a normal distribution.

Step-by-Step: How to Run and Interpret the Shapiro-Wilk Test

To verify normality accurately in your research project, follow this four-step sequence.

  1. Isolate your analytical units: Ensure you are testing the correct variable subset or model residuals rather than combining distinct experimental groups together.
  2. Execute the test in your software: Run the procedure in SPSS (Analyze > Descriptive Statistics > Explore > Plots > Normality plots with tests), and if you are handling complex split-file analyses, our team provides targeted SPSS tutoring to guide you. You can also run it in R (shapiro.test(x)) or directly in a web calculator.
  3. Inspect the test statistic ($W$) and significance ($p$): Record both the $W$ value and the exact $p$-value up to three decimal places.
  4. Cross-examine with a visual plot: Always inspect a Normal Q-Q (Quantile-Quantile) plot to confirm whether a failure is driven by extreme outliers or general skewness.

Reading the Output ($W$ Statistic, Degrees of Freedom, and $p$-Value)

When your software produces the output table, you will see columns labelled Statistic ($W$), $df$ (degrees of freedom, which equals your sample size $N$), and Sig. ($p$-value).

  • Scenario A: $W(65) = 0.984, p = 0.582$. Here, $p > 0.05$. You retain the null hypothesis and confirm that your data satisfies the assumption of normality.
  • Scenario B: $W(65) = 0.881, p = 0.001$. Here, $p < 0.05$. You reject the null hypothesis. Your data violates the assumption.

If you do not have direct access to SPSS or want a rapid calculation for your working drafts, you can generate your $W$ score, $p$-value, and diagnostic interpretation instantly using the Statssy shapiro wilk calculator.

Handling the Small vs. Large Sample Dilemma

A major critique I have of many introductory statistical textbooks is their blanket recommendation of this test without warning students about sample size sensitivity.

  • Small Samples ($N < 30$): The test has relatively low statistical power. It may return $p > 0.05$ even when your population distribution is skewed, simply because there is not enough sample data to prove deviation.
  • Large Samples ($N > 300$): The test becomes hyper-sensitive. Even negligible, harmless deviations from a theoretical curve will trigger a significant $p$-value ($p < 0.01$).

Sample Size Impact on the Shapiro-Wilk Test

Small Sample Warning: Low Statistical Power The test frequently misses real skewness in small samples. A non-significant result (p > 0.05) cannot be trusted entirely on its own. You must cross-examine your Q-Q plot and verify that skewness values fall within acceptable ranges.

Paired Verification: Why You Must Pair the Test with a Q-Q Plot

Never rely on a single numerical test in your dissertation. A Q-Q plot positions your observed quantiles along the vertical axis against the theoretical normal quantiles on the horizontal axis.

If your data is normal, your data points will cluster tightly around the 45-degree diagonal reference line. If the points curve away from the line in an S-shape or drift off substantially at the ends, you have heavy tails or severe skewness that numerical tests alone cannot contextualise.

Q-Q Plot Diagnostic Comparison

Panel A shows points adhering tightly along a diagonal red reference line representing normal data. Panel B shows points drifting away in an S-shape representing non-normal skewed data. Panel A: Normal Data (Points hug line) Panel B: Skewed Data (S-curve drift)

Real-World Case Study: Clinical Nursing Research

A doctoral candidate named Sunita was investigating post-operative recovery scores across two patient cohorts ($N = 42$ per group). Her raw Shapiro-Wilk test returned $W = 0.912, p = 0.018$, indicating non-normality.

Panicked, she prepared to scrap her planned two-way ANOVA. When we reviewed her Q-Q plots together, we found two data-entry typos where nurses had entered recovery scores of "99" instead of "9".

Once those clerical errors were corrected, her distribution normalised ($W = 0.978, p = 0.431$), preserving her original parametric analytical plan.

Shapiro-Wilk vs. Kolmogorov-Smirnov: Which Test Should You Trust?

Postgraduate students frequently ask me: "SPSS provides both Kolmogorov-Smirnov and Shapiro-Wilk tables side by side. Which one should I report?"

Statistical Power Comparison

My advice is direct: report the Shapiro-Wilk test.

The standard Kolmogorov-Smirnov test was initially designed for fully specified distributions where population parameters (mean and variance) are known in advance. In real-world research, you estimate those parameters from the sample itself. Even when software applies the Lilliefors correction, the test remains notoriously underpowered.

A widely cited comparative paper by Razali and Wah (2011) evaluated the power of four normality tests (Shapiro-Wilk, Kolmogorov-Smirnov, Lilliefors, and Anderson-Darling). The authors demonstrated that the Shapiro-Wilk test achieves the highest statistical power across all sample size conditions.

However, my critique of Razali and Wah's conclusions is their downplaying of sample size inflation. While their simulation proves high power for detecting subtle skews, it fails to warn researchers that this very sensitivity becomes a practical liability when $N > 1,000$.

Feature / CriteriaShapiro-Wilk TestKolmogorov-Smirnov (with Lilliefors)
Statistical PowerHigh across small and medium samplesConsistently lower power
Ideal Sample Size$N = 3$ to $2,000$Historically used for $N > 2,000$
Sensitivity to TailsExcellent detection of tail kurtosisPoor detection of tail skew
Academic AcceptancePreferred by viva examiners and journalsFrequently flagged as outdated
Calculation MethodCompares variance via order statisticsCompares cumulative distributions

What to Do When Your Data Fails Normality ($p < 0.05$)

If your test indicates that your data departs from normality, do not panic. Follow this three-step troubleshooting protocol before abandoning your parametric framework.

Step 1: Investigate Outliers and Measurement Glitches

Check your minimum and maximum values. Look for data-entry mistakes, reversed scale scoring, or sensor errors. A single extreme score can distort both your $W$ statistic and your skewness indices.

Step 2: When to Apply Data Transformations

If your data is genuinely skewed, mathematical transformations can sometimes pull the values back into a normal shape:

  • Logarithmic Transformation ($\log_{10}$ or $\ln$): Effective for substantial positive (right) skewness.
  • Square Root Transformation ($\sqrt{x}$): Suitable for moderate positive skewness.
  • Inverse Transformation ($1/x$): Useful for severe positive skewness.

My Professional Critique on Transformations: Many older textbooks recommend data transformations as a default remedy. In my advisory practice, I generally discourage them unless your field strictly mandates it.

Transforming changes the scale of your variables. Explaining a "log-transformed score of patient anxiety" in your Chapter 5 discussion makes your conclusions far less intuitive to practitioners and readers.

Step 3: When to Rely on the Central Limit Theorem and Skewness Benchmarks

If your sample size exceeds 100 observations per group, you can often appeal to the Central Limit Theorem (CLT). The CLT states that as your sample size increases, the distribution of sample means approaches normality regardless of the underlying population distribution shape.

To defend this choice in your methodology chapter, you should cite established academic thresholds:

  • George and Mallery (2010): Skewness and kurtosis values between $-1.0$ and $+1.0$ are considered excellent for normality, while values between $-2.0$ and $+2.0$ are acceptable for parametric procedures.
  • Kline (2011): In advanced models like path analysis and SEM, data is considered problematic only when absolute skewness exceeds $3.0$ or absolute kurtosis exceeds $8.0$ (or $10.0$ in conservative settings).

If your metrics fall within these ranges and your sample is comfortably large, parametric procedures like the independent $t$-test and ANOVA maintain parametric stability despite a significant Shapiro-Wilk test.

Which Statistical Test to Use: The Definitive Decision Matrix

When your data violates normality and cannot be remedied by cleaning, you must transition to an appropriate non-parametric test.

Use this decision matrix to determine your next analytical move:

Research ObjectiveParametric Option (Normality Met: p>0.05)Non-Parametric Alternative (Normality Failed: p≤0.05)
Compare 2 Independent GroupsIndependent Samples $t$-testMann-Whitney $U$ Test
Compare 2 Related/Paired GroupsPaired Samples $t$-testWilcoxon Signed-Rank Test
Compare 3+ Independent GroupsOne-Way ANOVAKruskal-Wallis $H$ Test
Compare 3+ Repeated MeasuresRepeated Measures ANOVAFriedman Test
Assess Bivariate AssociationPearson's Correlation ($r$)Spearman's Rank Correlation ($\rho$)

To evaluate your broader experimental setup and confirm your test selection, explore the which statistical test to use calculator for a customised analytical recommendation.

If you are debating between correlation coefficients, you can read our detailed breakdown on the Pearson vs Spearman correlation guide.

Seamless Transitions: How to Justify the Shift in Your Methodology

When you report a switch to a non-parametric test in your dissertation, frame it constructively.

"Preliminary assumption testing revealed that the dependent variable departed significantly from a normal distribution, as determined by a Shapiro-Wilk test ($W(48) = 0.864, p = 0.003$). Consequently, between-group differences were evaluated using the non-parametric Mann-Whitney $U$ test, which makes no distributional assumptions."

Framing your decision this way demonstrates academic maturity to your examiners.

The 3 Costly Normality Mistakes I See in Doctoral Dissertations

Over the past decade of reviewing methodologies, I have repeatedly encountered three specific blunders that draw sharp criticism from examiners.

Mistake 1: Testing the Entire Dependent Variable Instead of Group Subsets or Residuals

This is by far the most frequent error. If you are comparing two groups (such as Treatment vs Control), you must test normality within each group separately.

If your treatment was effective, the treatment group will have a higher mean than the control group. If you pool all the raw scores together and run a single test, the combined distribution will appear bimodal or spread out. The test will return $p < 0.05$, not because your data is flawed, but because your intervention worked.

Similarly, for multiple linear regression or factorial ANOVA, you do not test the raw dependent variable. You test the standardised residuals of the model.

Mistake 2: Ignoring the Central Limit Theorem in Moderately Large Datasets

I frequently see students with sample sizes of $N = 600$ panic because their test returned $W = 0.991, p = 0.012$.

They abandon their planned regression or two-way ANOVA and attempt complex non-parametric curve-fitting. In large samples, tiny departures from perfect symmetry that have zero impact on your parameter estimates will trigger a significant test. Always evaluate your skewness statistics against George and Mallery thresholds alongside Q-Q plots before switching tests.

Mistake 3: Failing to Report Assumptions in APA 7th Format

Writing "The data was found to be normal" without statistical substantiation is an open invitation for revisions.

APA 7th edition guidelines require you to report the test statistic, the degrees of freedom in parentheses, and the exact $p$-value:

  • Correct Format: "A Shapiro-Wilk test indicated that scores on the cognitive assessment did not violate the assumption of normality, $W(54) = 0.976, p = .341$."
  • Correct Format (Violated): "Scores on the anxiety inventory violated the normality assumption, $W(54) = 0.892, p = .002$. Therefore, non-parametric analyses were employed."

Below is an interactive methodology flowchart that traces the complete analytical decision path:

Methodology Decision Tree

Click either branch below to review the required analytical action:

Step 1: Check Outliers & Run Shapiro-Wilk Test
p > 0.05 (Passed) Normality Met
p ≤ 0.05 (Failed) Departure from Normality
Recommended Action: Parametric Testing2 Groups: Independent samples t-test or Paired t-test
3+ Groups: One-Way ANOVA or Repeated Measures ANOVA
Relationships: Pearson correlation coefficient (r)
Reporting: Document W, df, and exact p-value in Chapter 3.

Professional Methodology Audit & Dissertation Assistance

Navigating statistical assumption testing can feel daunting when you are working on complex multivariate models, hierarchical linear models, or mixed-design ANOVAs. Knowing precisely when to rely on parametric stability and when to transition to non-parametric rankings requires experienced academic judgement.

If you are unsure whether your data satisfies required assumptions or need expert guidance to prepare your methodology for your viva committee, you can book tailored one-on-one statistics tutoring with our senior consulting team at Statssy. We review your raw outputs, audit your analytical logic, and ensure your quantitative write-up meets international doctoral standards.

Frequently Asked Questions

What is an acceptable $p$-value for the Shapiro-Wilk test?

An acceptable $p$-value to confirm normality is any value greater than 0.05 ($p > 0.05$). This indicates that you fail to reject the null hypothesis, meaning your sample data does not deviate significantly from a Gaussian distribution.

Does a sample size over 30 mean I can ignore the Shapiro-Wilk test?

No. While an introductory rule of thumb suggests that the sampling distribution of the mean approaches normality at $N \ge 30$, severe outliers or extreme bimodal clustering can still invalidate parametric tests in samples between 30 and 80. You should still run the test alongside Q-Q plots to verify distribution symmetry.

Can the Shapiro-Wilk test be used for large sample sizes ($N > 2,000$)?

Historically, the original test was restricted to $N \le 50$. Patrick Royston later extended the algorithm to handle sample sizes up to $N = 5,000$. However, for $N > 2,000$, the test becomes so sensitive to minute, inconsequential deviations that visual diagnostics (histograms and Q-Q plots) should take precedence over the $p$-value.

Should I test normality on the raw data or the residuals?

For two-group comparisons like an independent samples $t$-test, test the raw dependent variable separately within each group. For regression models, general linear models, and factorial ANOVAs, you should always test the distribution of the standardised residuals, not the raw dependent variable.

How do you report the Shapiro-Wilk test in APA 7th edition style?

Report the uppercase italicised test statistic ($W$), include the degrees of freedom in parentheses, and report the exact $p$-value to three decimal places without a leading zero (for instance, W(78) = 0.981, p = .248). Ensure you also mention the visual diagnostics used to corroborate the test.

Author: Siddharth Gupta

Perfect for students, researchers, and professionals looking to build real statistical skills.