Lesson 6 of 20

When the mean lies — the long right tail

is it 8.1% or 4.9%?

When the mean lies — the long right tail
A handful of extreme slides drag the mean up. Choosing a summary value is a judgement, not a taste.

Look again at the distribution from lesson 5: the peak huddles on the left and a long tail runs off to the right. Most slides have a low rate and a few are very high.

In a shape like that the mean and the median part company badly. And the sentence that so often appears in an abstract — "mean TIL in this cancer type was …" — easily becomes a value that represents nobody at all.

Mean 8.12%, median 4.85%. Two thirds of the slides are below the mean.
Python Runs in your browser
A skew of 0 means symmetric; the larger it is, the longer the right tail.
Python Runs in your browser
Switch to a log scale. The peak moves to the middle.
Loading…
Same data, different scale. Take logs and a different story appears.
Python Runs in your browser

What does it mean that taking logs made it nearly symmetric?

That the infiltration rate is spread multiplicatively rather than additively. "This slide is 3 pp above the mean" is a less natural sentence for this data than "this slide is twice the mean".

So when comparing two groups, "1.8×" is a steadier statement than "a difference of 3 pp". That instinct comes back in lesson 15, when we choose where to cut.

🤔 Check yourself
Why is the mean above the median in this distribution?
🤔 Check yourself
Which does this lesson not recommend for data like this?