Choosing a trade-off

Life is full of trade-offs. There are many ways to think about them, but here I want to explore one that helps me make decisions with incomplete information. I compare what an unnecessary action might cost with what I could lose by waiting.

I run into this with notifications. Turning them off gives me longer stretches of concentration, although I may be slow to notice a colleague who needs me. Letting everything through has its own cost. I might welcome an interruption when someone is blocked, and resent the same alert when the request could easily have waited.

An unnecessary interruption is a false alarm; an urgent request I overlook is a miss. In statistics, these are called Type I and Type II errors. Even a reasonable rule can produce both. Considering them together helps me see what I am accepting when I change a rule, and whether finding out more could give me a better set of choices.

Choose a situation

Start with one score

The curve shows how the scores are spread out, from low on the left to high on the right. A taller part means more cases have scores around that value.

We start with 500 cases in each group.

Drag the line to change the rule. Focus its handle and use arrow keys to make small changes.

In this example, of messages are urgent.

Drag an underlined number left or right. Arrow keys work too.

Adjust the evidenceShow / hide

The curves describe the scores in each group. What we know about a request, invitation, draft, or test result affects how we score it. More varied cases can produce wider curves.

Peak · Width · Tail

Peak · Width · Tail

The peak marks the most common score. A wider curve describes a more varied group; a longer tail allows more cases far from the peak.

The upper charts show how much the scores overlap, first comparing the shapes and then accounting for the size of each group. Below them, we can see the balance between false alarms and misses at different cutoffs, and how their combined cost changes as we move the line.

Fig. 001 / Within each group

Evidence in each group

Both curves have the same area. This view hides how many cases are in each group.

Evidence clarity ↔

—False positives

Trade-offs and costs

Fig. 003 / All cutoff choices

Possible trade-offs

Up: more needs caught. Left: fewer false positives.

Fig. 004 / Total cost

Cost of this rule

Total = both costs added. ◆ = best cutoff.

Drag a handle, or focus it and use arrow keys. More settings are below the charts.

An unnecessary alert costs units. Missing an urgent message costs units.

We act when the score is above .

Invented examples · Drag any chart handle · Arrow keys also work · Counts are expected values per 1,000 cases

More information can separate the distributions

Moving the cutoff leaves the distributions where they are. Distinguishing cases with the same score requires more information about them. That information can reveal differences between the groups and reduce their overlap, allowing a rule to catch more cases that need attention without prompting as many unnecessary actions.

With two measurements, each case has a position on a plane. Two cases that looked identical along the original axis may now sit far apart. A rule can combine those measurements into a new score, or use their position on the map directly.

From one score to two

Drag the red peak along the second axis or use arrow keys. Home removes separation; End gives the widest separation.

The original scores have not changed. A useful second measurement can distinguish cases that looked alike, which is easier to see from above. In the angled view, the surfaces rise where more cases share a similar pair of scores.

Finding out more takes effort. Collecting that information is worth considering when it could change the decision enough to justify the effort. The expected benefit is called the value of information.

What we can learn from an alert

Try changing how common the need is: of messages are urgent.

Two people can agree on the evidence and still choose different cutoffs because they place different weight on the consequences.

A rule needs to be judged across many cases, including the needs it misses. An action that proves unnecessary can still have been a sensible choice with the information available at the time.

Putting a rule into practice

A useful goal accounts for both the problems caught and the extra work created. Those costs fall on particular people. Involving them in the decision can reveal trade-offs that disappear in an overall total.

Leaving the rule unchanged is a choice too. Describing its benefits and costs makes that choice easier to discuss, and gives a basis for revising it as the results become clear.

False alarms and misses

Alpha (α) is the false-positive rate: how often you act when there is no need. Beta (β) is the false-negative rate: how often you miss a real need. Each rate uses a different group, so they do not add up to 100%.

The share of real needs you catch is called sensitivity, recall, or power. It equals 1 − β. Specificity is the share of cases without a need that you leave alone: 1 − α.

Precision asks a different question: of the actions you take, how many respond to a real need? That answer depends on how common the need is. A high detection rate can go with low precision.

Choosing a rule

One approach sets a limit on false alarms, then catches as many real needs as possible within that limit. Another compares the expected costs of false alarms and misses. Changing those costs can change the best rule, even when the evidence stays the same.

In hypothesis testing, a Type I error rejects a true default claim. A Type II error fails to reject a false one. Failing to reject a claim does not prove it. The chance of missing an effect also depends on its size.

How common something is changes the mix of results. How we value the consequences determines which balance we prefer.