Turn results into decisionsLesson 51 of 76 · 8 min
Inspect the downside as well as the mean
Report tail loss measures with an explicit convention and sampling limitations.
A mean loss can conceal severe outcomes. A quantile such as P95 marks a boundary in the outcome distribution, while a tail mean averages losses in a selected upper tail. They answer different questions.
For a continuous loss model, averaging values at or above the estimated P95 is a simple empirical upper-tail mean. With discrete outcomes or ties at the threshold, this threshold-based convention need not equal the expected-shortfall definition using exactly the worst 5% of probability mass. State the convention.
Tail estimates use fewer effective observations than central estimates. Retain the number of contributing trials and compare independent runs or justified uncertainty methods. A well-estimated model tail is still conditional on assumptions about extreme outcomes.
Will a 95th-percentile threshold and the mean beyond it usually have the same value?
Write a prediction (optional)
Seeded teaching simulation
Select Run Python below with the code unchanged.
A saved draft is open. To run the published example, open Tools and select Restore example. Recover draft brings your code back.
Execution error
Technical error details
Your result
Published example output
This result comes from the original Python. Your runs appear above. Build environment ↗
Mean loss: 33.103 P95 loss: 102.65 Empirical mean at/above P95: 172.233 Tail observations: 1500 of 30000 Largest observed loss: 1203.467
Read the first result
The sample maximum can change substantially with trial count. It is not an estimate of a finite absolute worst case for an unbounded model.
Try an edit
Replace rng.lognormal(3, 1, 30000) with rng.lognormal(3, 1.4, 30000). Select Run Python again. Compare Mean loss, P95 loss and Empirical mean at/above P95 with the first run. Does higher log-scale spread affect the centre and the tail in the same way?
Scope. The loss model is invented and unbounded. Real consequence tails and appropriate risk objectives need domain evidence.
Try a fresh case
Why can a tail mean be unstable even when the overall mean looks stable?
Need a hint?
Hint 1
Count the observations that contribute to the tail.
Hint 2
Consider what one much larger outcome would do.