Reference class forecasting: where the estimate sits in the class you chose

An estimate of 210 days, and ten projects you decided were comparable. Two of the ten came in under it. Take the two longest out of the class and the same estimate sits above a quarter of what is left, so the argument on this page is about the class rather than about the estimate.

Live result
Your estimate of 210 days sits above 20.0% of the class you typed.
  • comparable projects in the class10
  • projects that came in under it2
  • projects that took longer8
  • class median265 days
  • median above the estimate55 days
Change what counts as comparable and the position moves with it.

The ten durations are a worked illustration written for this page.

Try a definition of comparable

210days

Comparable projects, in days

days
days
days
days
days
days
days
days
days
days
Projects in the class10
Shortest and longest180 and 465 days
The class median265 days
The estimate210 days
Share of the class below it210=20.0%\frac{2}{10}=20.0\%
Estimate minus the median−55 days

A class of 10 moves in steps of 10.0 points, so this figure is as fine as the class allows and no finer. Add a project and every step changes size.

The class as its own members

Comparable projects and the estimateYour estimate of 210 days sits above 20.0% of the class you typed. 2 of the 10 comparable projects came in under it and 8 took longer, and the class median of 265 days is 55 days above the estimate.
Horizontal
Duration in days
Vertical
The projects in the class, stacked where they crowd
Units
Days, whole, as typed. Positions in per cent of the class, to one decimal.

Fixed panels

The class as typedTen comparable projects from 180 to 465 days, with the estimate of 210 days below all but two of them and the median at 265 days.

The class as typed, 10 projects. The estimate sits above 20.0% of it, and the median is 265 days.

The two longest taken outThe same class with its two longest projects removed, eight projects from 180 to 330 days, the estimate now above a quarter of them and the median down to 247.5 days.

The two longest taken out, 8 projects. The same estimate sits above 25.0%, and the median falls to 247.5 days.

A wider definitionThe same class with two larger projects added, twelve projects from 180 to 620 days, the estimate above two of the twelve and the median up to 287.5 days.

A wider definition, 12 projects. The same estimate sits above 16.7%, and the median rises to 287.5 days.

A narrower definitionEight closer matches from 180 to 275 days, the estimate above three of the eight and the median down to 225 days.

A narrower definition, 8 projects. The same estimate sits above 37.5%, and the median falls to 225 days.

The class as a staircase

Cumulative staircase of the comparable projectsYour estimate of 210 days sits above 20.0% of the class you typed. 2 of the 10 comparable projects came in under it and 8 took longer, and the class median of 265 days is 55 days above the estimate.
Horizontal
Duration in days
Vertical
Share of the class at or below, %
Basis
Each riser is one project in the class, and every riser is the same height.
Units
Per cent of the class, to one decimal, in steps of 100 divided by the number of projects.
Assumptions
The class sorted ascending; ten projects on the shipped class, so ten steps; no interpolation between them and nothing drawn beyond the shortest and longest.

What the class decides

Every project has something about it that no other project had. That is true, and it is also the sentence that keeps a class from ever being assembled, because a project described as unlike anything else cannot be compared with anything else, and an estimate that cannot be compared cannot be argued with. The useful move is the opposite one: finish the sentence this is one of those, and then say which those you mean.

Which those you mean is the whole argument. The four fixed panels above hold one estimate of 210 days in four classes and return four different positions, from above 16.7% of the widest reading to above 37.5% of the narrowest. Nothing about the estimate changed. A class assembled from the projects somebody remembered, or from the ones that were allowed to run to the end, is short at the top, and an estimate looks better against a class that is short at the top. A class stretched to include work of a different size is long at the top, and the same estimate looks worse. Neither class is dishonest. They answer different questions, and the question is set by the inclusion rule rather than by the arithmetic.

There is a failure mode worth naming because it does not feel like one. Assemble a class, dislike the position, adjust the inclusion rule, and read again. Do that three times and the class has been chosen by the answer rather than the answer by the class, and no amount of arithmetic downstream will recover the difference. The defence is cheap and it is not on this page: write the inclusion rule down before the class is assembled, record how many projects it admitted and how many it turned away, and keep the ones that did not flatter the estimate.

What the page will not tell you is what to do next. It reports where a number fell among other numbers. Whether that is a reason to change the estimate, to change the plan, to change the class, or to leave all three alone is a decision with a target and a risk appetite behind it, and neither of those is anything a browser page could know about your project.

Here is the maths

Scale
The four fixed panels share one scale, 150 to 650 days, and hold the estimate at 210 days. The live chart above rescales with what you type.
Basis
Every figure is counted against the class in the rows below and against nothing else.
Assumptions
The class is the visitor's own; no project in it is checked for comparability; a duration equal to the estimate counts as half; nothing is fitted, binned or smoothed.
Model version
1.0

The formula, in words

  • Sort the class, then count what is under the estimate The position is the number of comparable projects shorter than the estimate, divided by how many projects are in the class, as a percentage. A project exactly as long as the estimate is neither above nor below it, so it counts as half, and the readout shows the half rather than resolving it quietly in one direction. In statistics this number is called a percentile, and the word is used here once and then dropped in favour of saying what it is: the share of the class that came in under the estimate.
  • The median is the middle, and with an even class the middle is between two projects Sort the class and take the middle value. Ten projects have no middle one, so the median is the midpoint of the fifth and sixth, 255+2752=265\frac{255 + 275}{2} = 265 days on the class this page opens with, and the staircase draws that as a flat run rather than a point because no project sits at 265. The page measures the gap from the median rather than from the average for one reason, and it is demonstrable rather than a matter of taste: add one project of 900 days to this class and the average moves 55.9 days while the median moves 10. A class assembled by hand is exactly where one very long project turns up.
  • The class size sets how fine the answer can be, and no arithmetic improves it With ten projects every step is ten points and there are eleven positions the estimate can occupy, or twenty one once ties are allowed. No project lies between 200 and 215 days to change the count. That is the resolution of the class, printed on the page rather than smoothed over, and it is why the position carries a decimal place that would otherwise be false precision: with eight projects the steps are 12.5 points, and 37.5% rounded to 38% would hide that the figure is exactly three eighths.
  • The page reports a position and stops there The class median is 1.3 times the estimate on the shipped values. That figure is not an instruction, and the page does not offer it as one. Multiplying an estimate by a class ratio, or planning to a chosen percentile of a class, is a decision that needs a target, a risk appetite and somebody willing to own it, and none of the three can be typed into this page. What the arithmetic can do is put a number where it can be argued with, and what it cannot do is settle the argument.

A worked example

Shipped defaults: ten comparable projects and an estimate of 210 days.

The class, sorted. 180, 195, 220, 240, 255, 275, 300, 330, 390, 465.

The median. Ten is even, so there is no middle project. The fifth and sixth are 255 and 275, and the median in days is:
255+2752=265\frac{255 + 275}{2} = 265
That is the midpoint of a step rather than a project, and Chart 2 draws it as one.
The position. Count the projects shorter than 210: 180 and 195, so two. Count the projects exactly 210: none.
2+010=0.20\frac{2 + 0}{10} = 0.20
So the estimate sits above 20.0% of the class. Eight of the ten took longer.
The gap, in days:
210−265=−55210 - 265 = -55
The class median is 55 days above the estimate.
The step, in points:
10010=10.0\frac{100}{10} = 10.0
There is no estimate anywhere between 195 and 220 days that produces any position other than 20.0%, because there is no project in that interval to change the count. The interval from 200 to 215 shows the resolution of the class rather than a bug.
Removing 390 and 465 leaves 180, 195, 220, 240, 255, 275, 300, 330. The fourth and fifth are 240 and 255, so the median in days is:
240+2552=247.5\frac{240 + 255}{2} = 247.5
That is down 17.5. Two projects are still shorter than 210, but there are now eight rather than ten:
28=0.25\frac{2}{8} = 0.25
So the estimate sits above 25.0%. Removing the projects that took longest made the estimate look better, and it did so without any information about the estimate being added or removed.

The mean would have told a different story, and worse. The ten durations total 2,850, so the mean is 285 days against a median of 265. Now add one project that ran to 900 days. The class is eleven, the total is 3,750, and the mean jumps to 340.9 days, a move of 55.9 days on one addition. The median moves from 265 to the sixth of eleven, which is 275 days, a move of 10 days. One project moved the mean five and a half times as far as it moved the median, and a class somebody assembled by hand is exactly the sort of set one very long project arrives in.

A tie, since the shipped durations are all multiples of five. Three projects are shorter than 240 days, 180, 195 and 220, and one is exactly 240:
3+0.510=0.35\frac{3 + 0.5}{10} = 0.35
So the estimate sits above 35.0%, and the readout shows 3.510\frac{3.5}{10} rather than a percentage that cannot be traced back to a count.

And the class decides the answer. Hold the estimate at 210 days and change nothing else.

The definition of comparableProjectsMedianThe estimate sits above
The class as typed1026520.0%
The two longest taken out8247.525.0%
A wider definition12287.516.7%
A narrower definition822537.5%

The estimate did not move by one day. Its position nearly doubled between the widest reading and the narrowest, and the median moved 62.5 days across the four. The class chose the answer, and somebody chose the class.

Check it yourself

Add an eleventh project of 900 days and read the median against the average. The median moves from 265 to 275 days, ten days. The average moves from 285 to 340.9, nearly fifty six. One project, one class, and the two summaries disagree about what happened by a factor of five and a half.

What this does not model

Whether any project in the class resembles yours in scope, size, technology, interfaces, contract or country, which nothing on this page can check; how the class was assembled and what it turned away; projects that were cancelled, abandoned or never allowed to finish, which are missing from every class assembled from projects that finished; any measure of how uncertain the position itself is, which a class of ten cannot support and which more arithmetic on the same ten cannot manufacture; anything about the tail beyond the longest project in the class, since the class stops there and the world does not; what any project in the class cost or what it was worth; the difference between a project that ran long and a project that was started before it was understood; the passage of time, so a class mixing work from very different years is treated as one class; any correlation between the projects, so a class of ten from one programme is treated as ten independent readings when it may be closer to one; and what to do about any of it.

The class on this page is the one you typed. Nothing on the page checks whether the projects in it resemble yours. The idea of measuring an estimate against a class of completed projects rather than against its own build up, and the mechanism by which a claim of uniqueness protects an optimistic estimate from comparison, are Bent Flyvbjerg and Dan Gardner's, in How Big Things Get Done. The book is named in the disclaimer, described in the page's own words, and reproduced nowhere: no table, worked example, figure or phrasing from it reaches any rendered string. The ten durations are a worked illustration written for this page.

Share:LinkedInX