Sub topic 8
Estimating as a group: expert judgment, Delphi and planning poker
This chapter assumes you know the difference between effort and duration, understand that estimates are ranges, and have seen bottom-up estimation. It covers three ways to collect estimates from several people: expert judgment, Delphi and planning poker. It also covers how each one fails.
Why estimate as a group
One person's estimate carries that person's blind spots. They may forget a task, assume a skill level they don't share with the team, or be too optimistic. A group can cover more of the work and show where people disagree.
The disagreement is the most useful output. If five people estimate a task and the answers are 3, 3, 4, 3 and 15 days, the 15 is not noise to average away. That person may know about a risk the others have missed. Group techniques are designed to surface that knowledge cheaply.
Expert judgment
Expert judgment means asking people with relevant experience for an estimate, with no formal calculation behind it. It is the oldest technique and the one most often used, including inside the other techniques in this tutorial. Analogous and parametric estimates both depend on an expert to choose the comparison or check the model's output.
Expert judgment works well when:
- The experts have done similar work recently.
- The experts are the people who will do the work, or know their capabilities.
- You need a quick answer and an error of 25% or more is acceptable.
It fails in predictable ways:
- Unrecorded reasoning. "It's about three weeks" gives you nothing to check later. Always record the assumptions behind the number.
- Authority effects. The most senior person speaks first and everyone else adjusts toward that number.
- Unreviewed experts. Experience in a different technology or team size doesn't transfer. Ask what the expert's comparison is based on.
A simple improvement is to ask each expert separately, in writing, before any discussion. The two techniques below formalize that idea.
Delphi
The Delphi technique collects estimates in anonymous rounds so that no one is influenced by status or by the first person to speak. A facilitator runs it:
- The facilitator gives each expert the task description and assumptions.
- Each expert submits an estimate and the reasons for it, privately.
- The facilitator combines the results into a summary: the median, the range, and the reasons given, without names.
- Each expert reads the summary and submits a revised estimate.
- Steps 3 and 4 repeat until the estimates are close enough or a fixed number of rounds is reached. Two or three rounds is typical.
Wideband Delphi is a common variant in software projects. It adds a group discussion between rounds, so people can ask questions directly. This is faster and brings out hidden assumptions, but it gives up some of the anonymity.
You need a rule for "close enough" before the first round. Otherwise the group argues about when to stop. The script below applies one such rule: stop when the spread (highest minus lowest) is at most 35% of the median.
from statistics import median
# Estimates in person-days from four experts, one list per round
rounds = [
[5, 10, 20, 8],
[8, 10, 14, 9],
[9, 10, 12, 10],
]
THRESHOLD = 0.35 # stop when spread is at most 35% of the median
for number, estimates in enumerate(rounds, start=1):
mid = median(estimates)
spread = max(estimates) - min(estimates)
ratio = spread / mid
print(f"round {number}: median {mid}, range {min(estimates)}-{max(estimates)}, spread/median {ratio:.2f}")
if ratio <= THRESHOLD:
print(f"converged: use about {mid} person-days")
break
else:
print("not converged: discuss the outliers or split the task")The output shows the spread falling from 1.67 times the median in round 1 to 0.30 in round 3, where the loop stops with a median of 10.0. Note that the median, not the mean, is the summary. A single extreme value such as the 20 in round 1 moves the mean a lot and the median very little.
Planning poker
Planning poker is a faster, more informal cousin of wideband Delphi. It is common in agile teams and usually estimates in story points, which are covered in the chapter on relative estimation. It also works for hours or days.
Each participant holds a deck of cards with values that grow apart as they get larger, commonly 1, 2, 3, 5, 8, 13, 20, 40, 100, plus a "?" card for "I don't understand this" and sometimes a coffee card for "I need a break". The gaps are deliberate. People can tell a 2 from a 3, but can't honestly tell a 20 from a 21, so the deck doesn't offer that choice.
A round works like this:
- The product owner or requester reads the item and answers questions.
- Each person privately picks a card.
- Everyone reveals at the same time.
- If the cards agree, record the value. If not, the highest and lowest voters explain their reasoning.
- The group discusses briefly and votes again. Repeat, usually no more than three times.
Revealing at the same moment is the key rule. If cards are shown one at a time, later voters adjust to earlier ones, which defeats the purpose.
If two rounds still don't converge, don't keep voting. Common ways out are to split the item into smaller parts, take the higher value and note the risk, or schedule a short investigation (a spike) to answer the open question.
Delphi versus planning poker
| Aspect | Delphi | Planning poker |
|---|---|---|
| Typical use | Large pieces of work, early estimates, remote experts | Backlog items, sprint planning |
| Anonymity | Full in classic Delphi, partial in wideband | Only until the reveal |
| Speed | Hours to days | Minutes per item |
| Needs a facilitator | Yes | Helpful, not required |
| Usual unit | Days, person-days, cost | Story points |
| Output | Median and range with written reasons | One agreed value |
Common errors
Anchoring. Saying a number before the vote ("I think this is a quick one, maybe a day") pulls every estimate toward it. The requester should describe the work, not its size. Keep any earlier estimate hidden until people have voted.
Seniority bias. Junior members may change their vote to match a lead. Simultaneous reveal and anonymous Delphi rounds reduce this. Ask the most senior person to explain last.
Estimating by the wrong person. The person who will do the work usually estimates best for it. An estimate from someone who never does that kind of work is a guess.
Averaging away the disagreement. Taking the mean of 3, 3, 4, 3 and 15 gives 5.6, which matches nobody's view. Discuss the outlier first. Often the 15 reflects a real risk, and sometimes it reflects a misunderstanding. Either finding helps.
Long debates over small differences. The gap between 5 and 8 points rarely changes a plan. Spend discussion time where the votes differ by two or more steps on the scale.
Forgetting to record assumptions. The agreed number is only meaningful with its conditions, such as "assumes the payment provider's test environment is available." Write them down at the moment of agreement.
Treating the group estimate as more precise than it is. A group reduces some errors, but it shares others. If everyone believes the same optimistic thing about a new technology, the group is confidently wrong. Groups also tend to share the planning fallacy, where a team underestimates because it pictures the plan going well.
Choosing a technique
- Use plain expert judgment for quick, low-stakes numbers, and record the reasoning.
- Use Delphi or wideband Delphi when the stakes are high, the experts are spread out, or status is likely to distort the discussion.
- Use planning poker when a team estimates many small items regularly and needs consistent, fast results.
- Combine with other techniques. A group's estimate for each task can feed a three-point calculation, and group estimates can be checked against an analogous estimate from similar past projects.
Exercise
Five people estimate a task in days using planning poker. They reveal 3, 3, 5, 3 and 13. What should the group do next, and why not just record the mean?
Show answer
Ask the person who played 13 and one person who played 3 to explain their reasoning, then vote again. The 13 may reflect a risk or a requirement the others missed, or a misunderstanding that a short discussion can clear up. The mean (5.4) matches no one's view and hides the disagreement. If the second vote still doesn't converge, split the task or run a short investigation.
Exercise
A Delphi round-1 summary reads: median 12 person-days, range 6 to 30. Using the stopping rule from the script in this chapter (spread at most 35% of the median), has the group converged? What would the range need to look like at a median of 12?
Show answer
No. The spread is 30 - 6 = 24, and 24 / 12 = 2.0, which is far above 0.35. To converge at a median of 12, the spread would need to be at most 0.35 x 12 = 4.2 person-days, for example a range of 10 to 14.