Shapiro-Francia Test — Definition, Formula & Example
The Shapiro-Francia test is a hypothesis test that checks whether a sample could have come from a normal distribution. It turns the straightness of a normal probability plot into a single number, W'.
Given ordered observations and expected standard normal order statistics , the Shapiro-Francia statistic is the squared correlation between the and the . It tests : the population is normally distributed. Since , values well below 1 count as evidence against .
Key Formula
Where:
- = The i-th smallest data value
- = Normal score: the z-value the i-th smallest point should have if the data are normal (Blom's approximation shown)
- = Sample mean
- = Inverse of the standard normal cumulative distribution (invNorm on a calculator)
- = Sample size
Worked Example
Problem: Five apples weigh 6, 7, 8, 9, and 15 ounces. For , the normal scores from Blom's approximation, rounded to two decimals, are . Compute .
Step 1: Find the mean and the sum of squared deviations. Then add up the squared normal scores.
Step 2: Pair each sorted weight with its normal score, then sum the products.
Step 3: Substitute into the formula.
Answer: . The 15-ounce apple pulls the plot away from a straight line. Software that uses Royston's approximation turns this into a p-value of about 0.098. That is above 0.05, so you fail to reject normality. With only 5 apples, the test has very little power.
Why It Matters
In AP Statistics, you check the normal condition for small-sample t-procedures by looking at a normal probability plot. The Shapiro-Francia test makes that visual judgment objective. Biostatisticians and quality engineers often run it on regression residuals before they trust a t- or F-based result.
Common Mistakes
Mistake: Treating Shapiro-Francia and Shapiro-Wilk as the same test.
Correction: Shapiro-Wilk weights the data using the covariances among the normal order statistics. Shapiro-Francia uses only the expected normal scores, which makes it simpler to compute. The two statistics give slightly different values for the same data, so report which test you used.
