Normality Test in SPSS: Shapiro-Wilk and Kolmogorov-Smirnov

Before you choose a t-test, ANOVA or Pearson's correlation for your thesis, your supervisor or examiner will ask you one question: did you check that the data follow a normal distribution? A normality test in SPSS is the step that answers this question, and its result is one of the main things you rely on when choosing between parametric tests and their alternatives. In this guide we explain when you need a normality test, the difference between the Shapiro-Wilk and Kolmogorov-Smirnov tests, how to run them in SPSS, how to read the table and the plots, what to do if your data are not normal, and how to report the result in Chapter Four.

What Is the Normal Distribution, and Why Does It Matter for Your Thesis?

The normal distribution is a symmetric, bell-shaped distribution: most values cluster around the mean and become less frequent the further you move from it, in the same pattern on both sides. In a perfectly normal distribution the mean, median and mode are equal, skewness is zero, and excess kurtosis is also zero, which is the form in which SPSS reports kurtosis.

This matters because parametric tests, such as the t-test, analysis of variance (ANOVA), Pearson's correlation and regression, assume normality in a specific part of the data. If the departure from this assumption is large, especially in small samples, the p-value and confidence intervals may become inaccurate. That is why the normality test comes before you choose your test, not after. To understand the difference between the two families of tests, see The difference between parametric and nonparametric tests.

Which Data Should You Test for Normality?

This is where many researchers go wrong: the test is not applied to every column in the data file, but to what the test you plan to use actually requires:

  • Independent-samples t-test: check the dependent variable within each group separately (males only, then females only), not the whole sample pooled together. For the assumptions and types of this test, see T-test in SPSS.
  • Analysis of variance (ANOVA): the assumption concerns the residuals, that is, how far each value lies from its group mean. In one-way ANOVA this is, in practice, equivalent to checking the dependent variable within each group separately. If the groups are small, or the design is factorial with more than one independent variable, it is better to check the pooled residuals: save them from Analyze > General Linear Model > Univariate using the Savebutton, then examine them with diagnostic plots (a histogram and a Q-Q plot) alongside the normality test. Checking the pooled residuals does not replace looking at each group in designs where the distribution shapes or variances differ between groups, because pooling can hide a clear departure in a single group.
  • Paired-samples t-test: check the differences between the two measurements (post minus pre), not each measurement separately.
  • Pearson's correlation coefficient: the exact assumption is bivariate normality, meaning that the two variables are jointly normally distributed. Normality of each variable on its own is necessary but not sufficient for this. SPSS does not offer a direct test of bivariate normality, so check each variable on its own, then draw a scatterplot and confirm two equally important points: that the relationship is linear rather than curved, and that there are no outliers pulling the line. A single outlier can create a strong correlation or hide one.
  • Linear regression: the assumption concerns the residuals, not the variables themselves. Save the standardized residuals from the regression dialog, or request the histogram and normal probability plot of the residuals from the Plots button, then examine them.

In questionnaires, do not test the normality of a single Likert item, because it has only five values and is rarely normal. Test the total score of the dimension, or the mean you will enter into the analysis.

Shapiro-Wilk or Kolmogorov-Smirnov?

SPSS shows both tests together in one table, and both test the same null hypothesis: that the data follow a normal distribution.

ComparisonShapiro-WilkKolmogorov-Smirnov
Statistical powerBetter at detecting departures from normality, especially in small and medium samplesWeaker than Shapiro-Wilk in most cases
Common use in thesesSmall samples (roughly under 50), and many researchers prefer it at all sample sizesOften reported with larger samples
In SPSS outputThe W statistic in the Statistic column, the number of cases in the df column, then SigThe D statistic with the Lilliefors correction, the number of cases in the df column, then Sig

Simulation studies, such as Razali and Wah (2011), have shown that Shapiro-Wilk was the most powerful of the four tests they compared and Kolmogorov-Smirnov the weakest. The practical rule: rely mainly on Shapiro-Wilk, and report Kolmogorov-Smirnov if your supervisor asks for it or the sample is large. Most importantly, decide which test you will rely on before you see the result, rather than choosing the test that gives you the result you want. In our worked example below you will see the difference in practice: Shapiro-Wilk detected non-normality in the female group's scores, while Kolmogorov-Smirnov (with the Lilliefors correction) was not significant for the same group at the 0.05 level (D = .125, p ≈ .15). This value is not SPSS or PSPP output; it comes from an independent calculation on the same file using the Lilliefors test in the Python statsmodels library, because the PSPP version used in the screenshots does not show this test.

Steps for Running a Normality Test in SPSS

We apply the steps to a hypothetical teaching data file: 120 teachers (82 males and 38 females), with the total job satisfaction score as the variable.

A note on the screenshots: the screenshots in this guide are from the free program PSPP, which opens SPSS files and uses almost the same menus and steps. PSPP shows values to two decimal places and only the Shapiro-Wilk table, so it shows .98 and.09, while SPSS shows the same values to three decimal places (.981 and.088) along with Kolmogorov-Smirnov.

  1. From the top menu, choose Analyze > Descriptive Statistics > Explore.
    The Explore menu for a normality test
    Step 1: Analyze, then Descriptive Statistics, then Explore. (Screenshot from the free program PSPP)
  2. Move the variable you want to check (such as the total job satisfaction score) into the Dependent List.
  3. If you will compare groups, move the grouping variable (such as gender) into the Factor Listbox, so the test is shown for each group separately.
    Setting the Dependent List and Factor List in the Explore dialog
    Steps 2 and 3: the total score in the Dependent List and gender in the Factor List. (Screenshot from the free program PSPP)
  4. Click the Plotsbutton and tick Normality plots with tests; you can also tick Histogram .
    The Normality plots with tests option in the Plots dialog
    Step 4: ticking Normality plots with tests and Histogram. (Screenshot from the free program PSPP)
  5. Click Continue Then Okay.

In the output you will find the Descriptives table, which contains skewness and kurtosis with the standard error of each, then the Tests of Normalitytable, then the histogram, the Normal Q-Q Plot , the Detrended Normal Q-Q Plot and the boxplot.

How to Read the Tests of Normality Table

Tests of Normality table for the whole sample
Tests of Normality table for the whole sample: W = .98, df = 120, Sig. = .09. (Screenshot from the free program PSPP)

Look at the Sig. column under the test you have chosen to rely on:

  • If Sig is greater than 0.05: we do not reject the null hypothesis, meaning there is not enough evidence that the distribution differs from normal, so we treat the data as approximately normal. This does not mean we have proved that the data are perfectly normal.
  • If Sig is less than or equal to 0.05: we reject the null hypothesis, meaning the distribution differs significantly from normal.

A note on the df column: the value in this column is the number of cases included in the test (the size of the sample or group), not degrees of freedom in the usual sense of the t-test and ANOVA. That is why the result is usually written like this: W(120) = .981, p = .088, where the number in brackets is the number of cases. And if SPSS shows the Sig value for the Kolmogorov-Smirnov test as .200*, it means the true value is 0.200 or higher, as the footnote under the table explains.

Example (hypothetical teaching data, not the results of a real study): in the teachers file above, the Shapiro-Wilk result for the total score of the whole sample was Statistic = .981, df = 120, Sig. = .088. Since 0.088 is greater than 0.05, the data do not differ significantly from a normal distribution. But if the intended analysis is a comparison of males and females, what matters is the result within each group: the male group was normal (W(82) = .988, p = .675), and the female group was not normal (W(38) = .911, p = .005).

Shapiro-Wilk result by gender
Shapiro-Wilk result by gender: males Sig. = .67, females Sig. = .01. (Screenshot from the free program PSPP)

Do Not Rely on the p-Value Alone: Plots, Skewness and Kurtosis

Normality tests are sensitive to sample size. In very large samples, a small departure of no practical importance may show up as significant, and in very small samples the test may miss a clear departure. So read three indicators together:

  1. Normal Q-Q plot: if the points lie close to the straight line, the distribution is close to normal. Points bending in an arc in one direction indicate skewness; points moving away from the line at both ends in opposite directions (an S shape) indicate tails heavier or lighter than normal; and points very far from the rest may be outliers.
  2. Histogram: is the shape close to a symmetric bell, or does it lean to one side? Do not over-interpret it in small samples, because its shape changes a lot with the bin width.
  3. Skewness and kurtosis: divide the skewness value by its standard error (Std. Error) from the Descriptives table to get a z value, and do the same for kurtosis. Kim (2013) suggests: in samples smaller than 50, an absolute z value greater than 1.96 indicates non-normality, and in samples of 50 to 300 the cut-off is 3.29. In samples larger than 300, Kim recommends relying on the plots and the absolute values themselves rather than z values, and, citing West, Finch and Curran (1995), states that an absolute skewness greater than 2 or an absolute kurtosis greater than 7 indicates substantial non-normality. Note: the value 7 in that reference refers to kurtosis proper, which equals 3 in a normal distribution, while SPSS reports excess kurtosis, which is kurtosis proper minus 3. So if you compare the SPSS value directly, this cut-off corresponds to an absolute excess kurtosis of roughly 4.

In our example, the skewness of the female group was 1.108 with a standard error of 0.383, giving a z value of about 2.89, which is greater than 1.96 in a sample smaller than 50, so it agrees with the Shapiro-Wilk result and with the shape of the Q-Q plot.

Normal Q-Q plot for the female group
Normal Q-Q plot for the female group: the points move away from the line at both ends, especially the upper end. (Screenshot from the free program PSPP)
Histogram for the female group
Histogram for the female group: a tail stretching to the right, meaning positive skewness. (Screenshot from the free program PSPP)

Criteria differ between references, so state in your thesis which criterion you used and its source. To learn what skewness and kurtosis values mean and how to obtain them, see the guide to Descriptive Statistics in SPSS.

What to Do If Your Data Are Not Normal

A non-normal result is not a problem for your thesis; it is information that determines your next step. Non-normality does not mean an automatic switch to a nonparametric test, because the decision depends on the size of the departure, the sample size and the research question. You have several options, in this order:

  1. Check for outliers and errors: sometimes the cause is a data-entry error (such as 55 instead of 5) or a few extreme cases. The SPSS boxplot marks outliers with a small circle (more than 1.5 times the interquartile range away) and extreme outliers with an asterisk (more than 3 times away). Correct entry errors, and do not delete valid cases without a methodological justification that you state in the thesis; you can present the analysis with and without them to show their effect.
  2. Consider sample size and group balance: the t-test and ANOVA tolerate moderate departures from normality when each group is relatively large, based on the central limit theorem. A figure of about 30 per group is often quoted as a rule of thumb, but it is neither a strict cut-off nor a guarantee: tolerance decreases when the groups are unequal in size, when skewness is severe or runs in different directions across groups, or when there are influential outliers.
  3. Transform the data: a log or square-root transformation may reduce positive skewness. However, interpretation then applies to the transformed values, so use it with caution.
  4. Use the nonparametric alternative: a common solution in theses when the departure is clear and the sample is small, provided that the alternative answers the same research question.
Parametric testNonparametric alternative
Independent-samples t-testMann-Whitney U
Paired-samples t-testWilcoxon signed-rank
One-way ANOVAKruskal-Wallis
Repeated-measures ANOVAFriedman
Pearson's correlationSpearman's correlation

Points to note before using the alternatives:

  • Mann-Whitney does not always compare medians: it tests whether the values in one group tend to be higher than those in the other. It can only be interpreted as a difference in medians if the shape and spread of the distribution are similar in both groups, and the same logic applies to Kruskal-Wallis. It is therefore not an exact substitute for the t-test if your research question is about the difference between means. In that case, Welch's t-test (which SPSS reports in the Equal variances not assumedrow) may be a suitable option, because it compares means without assuming equal variances, depending on the sample size and the shape of the distribution.
  • Spearman is not a backup version of Pearson: Spearman measures a monotonic relationship, one that moves in a single direction even if it is not linear, while Pearson measures a linear relationship. Choose between them according to the nature of the relationship and the type of data, not the normality result alone.
  • The alternatives have assumptions too: such as independence of observations, and Wilcoxon assumes that the distribution of the differences is roughly symmetric.

For a detailed comparison of Pearson and Spearman, see Pearson and Spearman correlation in SPSS. And if you are not sure which test suits your data, the free wizard in the next box will help you organize your decision.

Not sure which test to use? Try the free wizard

Answer short questions about your study aim and your data, and the wizard suggests a suitable test, where to find it in SPSS and its assumptions, with a ready methods paragraph.

Open the Test Chooser

How to Report a Normality Test Result in Chapter Four

The result is usually reported at the start of Chapter Four, or in Chapter Three under “checking the test assumptions”, in a short table followed by a paragraph. State the test used, the value of the statistic, the number of cases and the p-value, then the decision and what followed from it.

Example for normal data (from the hypothetical teaching file):

To check the normality of the distribution, the Shapiro-Wilk test was used, and the results showed that the total job satisfaction score did not differ significantly from a normal distribution (W(120) = .981, p = .088). Skewness and kurtosis values were within acceptable limits (z = 1.68 for skewness andz = −0.73 for kurtosis), so parametric tests were used.

Example for non-normal data (from the hypothetical teaching file):

The Shapiro-Wilk test showed that the female group's scores differed significantly from a normal distribution (W(38) = .911, p = .005), and the Q-Q plot confirmed positive skewness. Because the aim of the comparison was to find out whether the scores of one group tended to be higher than the other, rather than to compare the two means, and given the clear skewness and the unequal group sizes (82 versus 38), the Mann-Whitney test was used instead of the independent-samples t-test.

This example does not mean that Mann-Whitney is the automatic alternative to the t-test whenever non-normality or unequal groups appear. Mann-Whitney suits a research question that compares the ranks or distributions of the two groups, not their means directly. If the aim is to compare means, Welch's t-test can be considered, taking into account the shape of the distribution, outliers and the size of each group. The decision is driven by the research question and the nature of the data, not by the normality result alone.
To read and report the rest of your analysis tables, see the guide to Interpreting the results of statistical analysis.

Common Mistakes in Normality Testing

  1. Testing the whole sample instead of each group: in the independent-samples t-test and ANOVA the assumption applies within each group, and the whole sample can be normal while one of its groups is not, as in our example.
  2. Testing individual Likert items: test the total score or the mean of the dimension.
  3. Relying on Sig alone in large samples: read the plots, skewness and kurtosis alongside it.
  4. Choosing the test after seeing the result: set your criterion in advance and state it in the study methodology.
  5. Misreading Sig: here, Sig greater than 0.05 means the data are close to normal, the opposite of what researchers are used to in tests of differences.
  6. Comparing SPSS kurtosis with cut-offs for kurtosis proper: SPSS reports excess kurtosis, so check which kind of kurtosis the reference means before comparing.
  7. Deleting cases to make the data normal: deleting cases without a methodological justification weakens the credibility of the results.

If you would like a specialist analyst to check the assumptions, choose the right test, and write up and interpret the results in the language of your thesis, these steps are part of the academy's statistical analysis service.

Do you need help analyzing your research data?

The Science Club Academy team helps you prepare your data, analyze it, and interpret the results for master’s theses, doctoral dissertations, and research papers. Learn more about our Integrated statistical analysis service, and the consultation is free.

Send your data details via WhatsApp

Frequently Asked Questions

Should I use Shapiro-Wilk or Kolmogorov-Smirnov?

Shapiro-Wilk is the more powerful test in most cases and is preferred especially in small and medium samples. You can report both tests because SPSS shows them in one table, while stating which one you relied on for your decision.

My sample is large and the test is significant. Should I abandon parametric tests?

Not necessarily. In large samples the test becomes sensitive to small departures. Check the Q-Q plot and the skewness and kurtosis values; if the departure is small, parametric tests usually remain appropriate, and you should state this and its source in your thesis.

Do I need a normality test before Spearman's correlation or Mann-Whitney?

No. Nonparametric tests do not require a normal distribution, so you do not need a normality test before them, but they have other assumptions, such as independence of observations.

Is a normality test enough to choose a statistical test?

No. Normality is one assumption among several, such as homogeneity of variance, the type of variables and the study design. See the guide to choosing the right statistical test.

What if one group is normal and the other is not?

In the independent-samples t-test the assumption applies to each group, so if it fails in one of them, consider the size of the departure, the group size and the balance between the groups, as explained above. If the skewness is clear and the groups are unequal in size, as in the male and female example, the nonparametric alternative is the safer choice, and you should state the reason in your thesis.

Conclusion

A normality test in SPSS is a preliminary step that guides your choice of test, not a final verdict on its own. Apply it to the data the analysis requires (each group, the differences, or the residuals), rely mainly on Shapiro-Wilk, then read its result together with the Q-Q plot, skewness and kurtosis, and the sample size. If the data are not normal, start by checking for outliers before moving to a nonparametric alternative, and state in your thesis the criterion you used and its source.

References

  • Kim, H.-Y. (2013). Statistical notes for clinical researchers: Assessing normal distribution (2) using skewness and kurtosis. Restorative Dentistry & Endodontics, 38(1), 52–54. https://doi.org/10.5395/rde.2013.38.1.52
  • Razali, N. M., & Wah, Y. B. (2011). Power comparisons of Shapiro-Wilk, Kolmogorov-Smirnov, Lilliefors and Anderson-Darling tests. Journal of Statistical Modeling and Analytics, 2(1), 21–33.
  • Shapiro, S. S., & Wilk, M. B. (1965). An analysis of variance test for normality (complete samples). Biometrika, 52(3–4), 591–611. https://doi.org/10.1093/biomet/52.3-4.591
  • West, S. G., Finch, J. F., & Curran, P. J. (1995). Structural equation models with nonnormal variables: Problems and remedies. In R. H. Hoyle (Ed.), Structural equation modeling: Concepts, issues, and applications (pp. 56–75). Sage. (cited in Kim, 2013)

Mr. Mohamed AbdelfattahAuthor posts

Avatar for Mr. Mohamed Abdelfattah

Mr. Mohamed Abdelfattah holds a master's degree in statistics from the Institute of Statistics. At Science Club Academy, he writes about statistical tests, SPSS, and how they are applied in master's and PhD theses.

No comment

Leave a Reply

Your email address will not be published. Required fields are marked *