Day 35 of 55Stage 3 · AnalyseFridayChi-square test with Astrid (Data Analyst)

The vicious circle

Do patients booked far ahead miss more appointments? If so, long waits feed on themselves.

Stage goal: Find and prove the root causes.
Team
Astrid (Data Analyst) Ayumi (Healthcare Assistant)
Techniques today Chi-square test
Documents today Analysis record
How the day goes
  1. 09:00Build the table with Astrid (Data Analyst)
  2. 11:00Chi-square test with Astrid (Data Analyst)
  3. 15:00Draw the circle for the team

Situation 1 of 2

11:00 · Chi-square test with Astrid (Data Analyst)
Astrid (Data Analyst)
Four booking bands, missed or attended. How do we test whether they're linked?

Which test?

To test whether two categories are linked (band and missed or not), use a chi-square test on the table of counts.

Situation 2 of 2

15:00 · Draw the circle for the team
Ayumi (Healthcare Assistant)
So long waits cause missed appointments, missed appointments waste slots, and wasted slots make waits longer?

What does that mean for the project?

When causes reinforce each other, breaking the circle at any point helps the whole system.
Worked example 1

Do long waits cause more missed appointments?

Astrid (Data Analyst) groups the 1,400 appointments by how many days ahead they were booked.

Share of appointments missed, by days booked ahead, in percent0102030400 to 3: 660 to 34 to 7: 10104 to 78 to 14: 18188 to 14Over 14: 2929Over 14
Booked how far aheadMissedAttendedShare missed
0 to 3 days182826%
4 to 7 days3834210%
8 to 14 days7634418%
More than 14 days8821229%
Download the data (spreadsheet file)
  1. HypothesesH0: missing an appointment doesn't depend on how far ahead it was booked
  2. Expected countsrow total × column total ÷ 1,400; for 0 to 3 days, missed: 300 × 220 ÷ 1,400= 47.1
  3. Each cell(observed − expected)² ÷ expected; for that cell (18 − 47.1)² ÷ 47.1= 18.0
  4. Chi-squareadd all 8 cells= 74.6
  5. Degrees of freedom(4 rows − 1) × (2 columns − 1)= 3
  6. p-value= below 0.0001
What it meansThe longer patients wait, the more likely they are to miss the appointment: from 6% to 29%. Long waits cause missed appointments, which waste slots, which make waits longer: a vicious circle.
What Amara decidesShorter waits will reduce missed appointments by themselves. The benefits estimate (8% missed after the project) is realistic.
Try it yourself in a spreadsheet
Expected count=$E2*B$6/$E$6 (row and column totals in E and row 6)
p-value=CHISQ.TEST(B2:C5,G2:H5) (observed, expected)

What is the expected number of missed appointments booked more than 14 days ahead, if waiting made no difference?

Show the answer

300 × 220 ÷ 1,400 = 47.1. The clinic saw 88, nearly twice as many.

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

Links between categories

  • A chi-square test compares a table of counts with the counts expected if the two categories weren't linked. Expected = row total × column total ÷ grand total.

Where you will meet this: Chi-square test of independence · contingency table

Concept

Reinforcing loops

  • Some causes feed each other: long waits cause missed appointments, which waste slots, which lengthen waits. Breaking the loop anywhere helps everywhere.
Common practice

Use counts, not percentages

  • Chi-square works on counts. Percentages hide how much data is behind each cell.

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 35 complete

2 situations today.

Your responsibility todayTesting links between categories
Technique you usedChi-square test
Key points to remember
  • To test whether two categories are linked (band and missed or not), use a chi-square test on the table of counts.
  • When causes reinforce each other, breaking the circle at any point helps the whole system.
Techniques today Chi-square test
Documents today Analysis record