The Monday problem
Patients who ask on a Monday wait much longer. Amara compares all five weekdays at once.
- 09:00ANOVA with Astrid (Data Analyst)
- 11:00Check the assumptions
- 15:00Monday demand with Alma (Reception Team Lead)
Situation 1 of 2
09:00 · ANOVA with Astrid (Data Analyst)What do you suggest?
Situation 2 of 2
15:00 · Monday demand with Alma (Reception Team Lead)What does the data add to what Alma already knows?
Do waits differ by the day patients ask?
Five groups, one per weekday. Comparing them two at a time would mean ten tests and a high chance of a false alarm, so Astrid (Data Analyst) uses one-way ANOVA.
| Request | Day of first request | Wait (days) |
|---|---|---|
| R01 | Friday | 12 |
| R02 | Wednesday | 13 |
| R03 | Monday | 12 |
| R04 | Monday | 28 |
| R05 | Friday | 11 |
| R06 | Monday | 12 |
| R07 | Thursday | 16 |
| R08 | Thursday | 7 |
| R09 | Tuesday | 3 |
| R10 | Monday | 4 |
| R11 | Tuesday | 4 |
| R12 | Tuesday | 10 |
| R13 | Wednesday | 4 |
| R14 | Tuesday | 17 |
| R15 | Tuesday | 5 |
| R16 | Wednesday | 8 |
| R17 | Thursday | 5 |
| R18 | Tuesday | 5 |
| R19 | Friday | 5 |
| R20 | Monday | 20 |
| R21 | Thursday | 3 |
| R22 | Wednesday | 15 |
| R23 | Wednesday | 5 |
| R24 | Friday | 9 |
| R25 | Tuesday | 5 |
| R26 | Wednesday | 5 |
| R27 | Wednesday | 15 |
| R28 | Monday | 15 |
| R29 | Wednesday | 14 |
| R30 | Friday | 13 |
| R31 | Monday | 18 |
| R32 | Friday | 16 |
| R33 | Tuesday | 3 |
| R34 | Wednesday | 5 |
| R35 | Monday | 10 |
| R36 | Friday | 7 |
| R37 | Thursday | 6 |
| R38 | Thursday | 10 |
| R39 | Thursday | 10 |
| R40 | Tuesday | 5 |
| R41 | Friday | 5 |
| R42 | Thursday | 4 |
| R43 | Friday | 5 |
| R44 | Thursday | 6 |
| R45 | Friday | 7 |
| R46 | Monday | 11 |
| R47 | Monday | 11 |
| R48 | Tuesday | 3 |
| R49 | Monday | 13 |
| R50 | Monday | 26 |
| R51 | Monday | 12 |
| R52 | Monday | 22 |
| R53 | Monday | 27 |
| R54 | Wednesday | 18 |
| R55 | Thursday | 4 |
| R56 | Tuesday | 14 |
| R57 | Monday | 20 |
| R58 | Tuesday | 3 |
| R59 | Monday | 6 |
| R60 | Monday | 19 |
- Hypotheses
H0: all five day averages are equal. H1: at least one differs - Check equal spreads
Levene's test p = 0.07= no strong evidence against - Between-group variation
sum of squares 861.5 ÷ 4 degrees of freedom= mean square 215.4 - Within-group variation
sum of squares 1,603.2 ÷ 55 degrees of freedom= mean square 29.1 - F ratio
215.4 ÷ 29.1= 7.39 - p-value
F with 4 and 55 degrees of freedom= 0.00008 - Which day?
Monday mean 15.9 against 6.4 to 10.2 for the others= Monday stands out
Try it yourself in a spreadsheet
| ANOVA table | Excel: Data, Data Analysis, Anova: Single Factor (turn on the Analysis ToolPak first), with one column per day |
| Share explained | =861.5/(861.5+1603.2) |
| Check spreads | compare =STDEV.S of each day: 7.0, 4.7, 5.3, 3.9, 3.9 |
Why not just run ten two-sample t-tests, one for each pair of days?
Show the answer
Each test has a 5% false-alarm risk. Ten tests push the chance of at least one false alarm to about 40%. ANOVA tests all groups at once at 5%.
Key concepts
The ideas behind today. Concept how the work is done, in our own words · Common practice widely used ways of working.
Three or more groups
- One-way ANOVA compares several averages in one test, keeping the false-alarm risk at 5%. Many pairwise tests would raise it sharply.
Where you will meet this: One-way ANOVA
Between and within
- ANOVA compares variation between groups with variation within them. F = between mean square ÷ within mean square. A large F means the groups really differ.
Check the assumptions
- Roughly normal groups (or reasonable sizes) and similar spreads (Levene's test). If they fail, use rank-based tests.
Explained in our own words. This helps you understand the concepts behind the certifications; it does not reproduce or replace any official guide. Sources
Day 31 complete
2 situations today.
- To compare three or more group averages, use one-way ANOVA, not many two-sample tests.
- Data measures what experienced staff sense, and turns it into a case for change.