liveBook · Manning

Shapiro–Wilk test

The Shapiro–Wilk test is a statistical hypothesis test assessing whether a sample is consistent with a normal distribution.

How 2 Manning books explain it

Statistics Every Programmer Needs

The Shapiro–Wilk test is a statistical hypothesis test for whether a sample is consistent with a normal distribution.

How it is used
Uses formal normality testing to validate numeric data before analysis rather than relying solely on visual inspection.
How deep it goes
Defines the null hypothesis, applies a 5% decision rule, and demonstrates SciPy execution, but does not develop the test statistic formula.
Examples
Tests the stage1 and stage2 columns of a 20-row mds dataset using SciPy.
What you can do after
Evaluate normality with SciPy and interpret returned p-values against a 5% threshold.

Read how Statistics Every Programmer Needs explains Shapiro–Wilk test →

Statistics Slam Dunk

The Shapiro-Wilk test is a statistical test that evaluates whether a sample is consistent with a normal distribution.

How it is used
Screens variables for normality before correlation analysis and linear modeling.
How deep it goes
Defines the null hypothesis and cutoff, demonstrates R output, and stops short of deriving the test statistic.
Examples
Tests NBA hustle variables such as deflections, charges, wins, and points per game.
What you can do after
Diagnose distributional assumptions with base R and decide which variables remain regression candidates.

Read how Statistics Slam Dunk explains Shapiro–Wilk test →

What to know first

Related concepts

Questions about Shapiro–Wilk test

What is Shapiro–Wilk test?

The Shapiro–Wilk test is a statistical hypothesis test assessing whether a sample is consistent with a normal distribution.

Which Manning books explain Shapiro–Wilk test?

Statistics Every Programmer Needs and Statistics Slam Dunk.

What should I know before learning Shapiro–Wilk test?

Manning books that teach Shapiro–Wilk test usually introduce density plot, histogram, normal distribution and probability distribution first.

What is the difference between Shapiro–Wilk test and histogram?

The Shapiro–Wilk test is a statistical hypothesis test assessing whether a sample is consistent with a normal distribution. A histogram is a representation that groups observations into bins and records their frequencies or other aggregate values.

What is Shapiro–Wilk test a kind of?

Shapiro–Wilk test is a kind of normality test. A normality test is a statistical procedure for assessing whether data are plausibly drawn from a normal distribution.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.