⏳ Loading example…
📐
Normality
Shapiro-Wilk Test — Normal & Non-Normal Worked Examples
Two examples: systolic BP confirming normality W=0.972, p=.895; ER waiting times detecting skew W=0.825, p=.030.
📊 11a: W=0.972 ✓ | 11b: W=0.825 ✗
Step-by-step solution
📐 11 · Normality Testing (Shapiro-Wilk)
11a · Systolic BP — Confirming Normality
Normality
Research Question:
Before running a t-test, verify that systolic blood pressure readings (n=10) are normally distributed.
| i | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| BP (mmHg) | 118 | 120 | 122 | 124 | 124 | 126 | 128 | 130 | 133 | 135 |
Shapiro-Wilk W Statistic
-
1Sort data ascending; compute mean and SS:
-
2Apply SW coefficients (n=10): a₁=0.5739, a₂=0.3291, a₃=0.2141, a₄=0.1224, a₅=0.0399
-
3
0.972
W
.895
p
10
n
⚪ Fail to Reject H₀ — Data is consistent with normality. Proceed with t-test. W(10) = 0.97, p = .895.
APA-7
Shapiro-Wilk testing confirmed that blood pressure scores were approximately normally distributed, W(10) = 0.97, p = .895.
11b · Emergency Waiting Times — Non-Normal (Right-Skewed)
Non-Normal
Research Question:
Are emergency department waiting times (minutes, n=10) normally distributed?
| i | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Minutes | 5 | 8 | 10 | 12 | 15 | 20 | 35 | 52 | 78 | 95 |
-
1
0.825
W
.030
p
<.05
Violation
🔴 Reject H₀ — Waiting times are NOT normally distributed, W(10) = 0.83, p = .030. Use non-parametric alternatives (e.g., Mann-Whitney U).
💡
Decision rule: p > .05 → normality assumed (safe to proceed with parametric tests). p ≤ .05 → use non-parametric tests or apply log/square-root transformation. For large samples (n > 50), prefer Kolmogorov-Smirnov or visual Q-Q plots.