Day 31 of 55Stage 3 · AnalyseMondayANOVA

The Monday problem

Patients who ask on a Monday wait much longer. Amara compares all five weekdays at once.

Stage goal: Find and prove the root causes.
Team
Astrid (Data Analyst) Alma (Reception Team Lead)
Documents today Analysis record
How the day goes
  1. 09:00ANOVA with Astrid (Data Analyst)
  2. 11:00Check the assumptions
  3. 15:00Monday demand with Alma (Reception Team Lead)

Situation 1 of 2

09:00 · ANOVA with Astrid (Data Analyst)
Astrid (Data Analyst)
Five weekdays. Shall I just run t-tests between every pair?

What do you suggest?

To compare three or more group averages, use one-way ANOVA, not many two-sample tests.

Situation 2 of 2

15:00 · Monday demand with Alma (Reception Team Lead)
Alma (Reception Team Lead)
Mondays are mad. Everyone who got ill over the weekend rings at once.

What does the data add to what Alma already knows?

Data measures what experienced staff sense, and turns it into a case for change.
Worked example 1

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.

Waits by the day of the first request010203040Monday: median 14, quartiles 11.25 and 20, n = 1814MondayTuesday: median 5, quartiles 3 and 6.25, n = 125TuesdayWednesday: median 10.5, quartiles 5 and 14.75, n = 1010.5WednesdayThursday: median 6, quartiles 4.25 and 9.25, n = 106ThursdayFriday: median 8, quartiles 5.5 and 11.75, n = 108Friday
RequestDay of first requestWait (days)
R01Friday12
R02Wednesday13
R03Monday12
R04Monday28
R05Friday11
R06Monday12
R07Thursday16
R08Thursday7
R09Tuesday3
R10Monday4
R11Tuesday4
R12Tuesday10
R13Wednesday4
R14Tuesday17
R15Tuesday5
R16Wednesday8
R17Thursday5
R18Tuesday5
R19Friday5
R20Monday20
R21Thursday3
R22Wednesday15
R23Wednesday5
R24Friday9
R25Tuesday5
R26Wednesday5
R27Wednesday15
R28Monday15
R29Wednesday14
R30Friday13
R31Monday18
R32Friday16
R33Tuesday3
R34Wednesday5
R35Monday10
R36Friday7
R37Thursday6
R38Thursday10
R39Thursday10
R40Tuesday5
R41Friday5
R42Thursday4
R43Friday5
R44Thursday6
R45Friday7
R46Monday11
R47Monday11
R48Tuesday3
R49Monday13
R50Monday26
R51Monday12
R52Monday22
R53Monday27
R54Wednesday18
R55Thursday4
R56Tuesday14
R57Monday20
R58Tuesday3
R59Monday6
R60Monday19
Download the data (spreadsheet file)
  1. HypothesesH0: all five day averages are equal. H1: at least one differs
  2. Check equal spreadsLevene's test p = 0.07= no strong evidence against
  3. Between-group variationsum of squares 861.5 ÷ 4 degrees of freedom= mean square 215.4
  4. Within-group variationsum of squares 1,603.2 ÷ 55 degrees of freedom= mean square 29.1
  5. F ratio215.4 ÷ 29.1= 7.39
  6. p-valueF with 4 and 55 degrees of freedom= 0.00008
  7. Which day?Monday mean 15.9 against 6.4 to 10.2 for the others= Monday stands out
What it meansThe day a patient asks makes a real difference to how long they wait, and Monday is the problem. About a third of the variation in waits (861.5 of 2,464.7) is explained by the day.
What Amara decidesThe waits are skewed, so confirm with tests that don't assume normal data (next day) before calling it a root cause.
Try it yourself in a spreadsheet
ANOVA tableExcel: 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 spreadscompare =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.

Common practice

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

Concept

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.
Common practice

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.

Your responsibility todayComparing several groups
Technique you usedOne-way ANOVA, equal variances
Key points to remember
  • 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.
Documents today Analysis record