Lift chartHow much better than picking at random.
Sort the list by the model's score, cut it into tenths, and see how much better each tenth is than a random pick. How far down the list is worth calling.
- Answers Is the model any good?
- Your data share of the wanted cases in each slice
- Slices often 10 (deciles)
- Baseline lift 1 means no better than random
- Excel and Power BI a column chart
What is a lift chart?
A lift chart answers a practical question about a model: whom should we contact first? Sort all customers by the model's score, cut the list into ten equal slices (deciles), and count how many of the wanted cases, say customers about to leave, fall in each. Lift is how many times more a slice holds than a random slice would. Lift 3 in the top tenth means calling those customers finds three times as many leavers as calling at random.
The churn model's list of customers, in ten slices of 10%. The top 10% hold 38% of all leavers, a lift of 3.8; from the fourth slice on, the model is no better than chance.
Why use a lift chart?
Because budgets run out before the list does.
- Where to stop. Slices above 1 are worth more than random.
- In business words. "Three times better than random" needs no statistics.
- Fits campaigns. Call the top slices, skip the rest.
- Compares models. The steeper start wins.
How does a lift chart work?
Four steps build a lift chart.
- Step 1 of 4Sort and sliceCustomers sorted by score, cut into ten slices of 100 each.
- Step 2 of 4Count the leaversEach slice's share of all leavers, divided by 10%, gives its lift.
- Step 3 of 4The random lineA random slice holds 10% of leavers: lift 1.
- Step 4 of 4Worth it or notGreen slices beat random, grey ones do not.
What are the parts of a lift chart?
Four parts, and each one has a job.
- Top slicethe highest scores, the most leavers
- Random linelift 1: no better than picking blind
- Below randomthe first slice not worth the call
- Last slicethe lowest scores, almost no leavers
How do you read a lift chart?
Three looks, in this order.
- Read the first barLift 3.8: the top tenth holds almost four times its share.
- Find where it drops below 1From the fourth slice, the model beats random no more.
- Decide where to stopCall the top 30%: 73% of the leavers.
What kinds of lift chart are there?
The same list, three ways.
- Kind 1Lift per sliceHow each tenth compares to random.
- Kind 2Above and below randomWorth calling, or not.
- Kind 3Cumulative gainsThe share of all leavers found so far.
A cumulative lift chart divides the gains so far by the share called, so it starts high and sinks towards 1 at the end of the list.
When should you use a lift chart?
When a model ranks people or cases for an action with limited room.
- a model scores a list
- only part of the list can be acted on (calls, mailings, checks)
- the audience thinks in budgets
- models need comparing on the top of the list
- the cut-off is the question (an ROC curve)
- the outcome at one cut-off matters (a confusion matrix)
- the model predicts amounts (a residual plot)
Lift chart or gains chart?
Each slice on its own, or all slices so far.
The lift chart shows where each slice stops paying off: after the third. The cumulative gains chart adds the slices up, so it answers the budget question directly: calling the top 20% reaches 60% of all leavers, against 20% at random.
How do you make a lift chart?
Scores and outcomes per case, in Excel, Power BI or Python.
In Excel, sort by score, number the rows, cut them into deciles with **=ROUNDUP(row / count * 10, 0)**, then count the wanted cases per decile in a PivotTable and divide by the average. In Power BI, a DAX measure ranks by score (statistical functions) and a column chart shows the lift per decile; the result reads like a conversion rate per slice. In Python, pandas.qcut cuts the deciles.
What goes wrong with lift charts?
The most common mistake, and its fix: forgetting the base rate.
| Mistake | Why it hurts | Fix |
|---|---|---|
| Lift without the base rate | High lift, few real cases | Show the counts |
| Slices of different sizes | Lifts do not compare | Equal slices |
| Scored on training data | Too good to be true | Held-out data |
| No random line | No reference | A line at 1 |
| Ignoring the cost per call | Cheap or dear changes where to stop | Put cost next to lift |
Every chart for “Is the model any good?”
Read on, step by step.
Does it fit your data? Try it.
Paste your table into Chart Compass, say what the chart should show, and see the charts that fit, drawn with your own numbers. It runs in your browser, so the data stays with you.