Sub topic 12
Uncertain Durations and Three-Point Estimates
Assume you understand tasks, dependencies, and the forward and backward passes used in critical path analysis. This chapter adds uncertainty to task durations. The goal is not to predict one exact duration. The goal is to create a reasonable planning estimate and show how uncertain that estimate is.
Why one duration can mislead
A task may take different amounts of time depending on requirements, defects, approvals, or available people. A single estimate hides this range. If that task lies on the critical path, its uncertainty can affect the project finish date.
A three-point estimate records three durations:
| Estimate | Meaning |
|---|---|
| Optimistic | The task duration under favorable conditions |
| Most likely | The duration expected under normal conditions |
| Pessimistic | The duration under unfavorable but still plausible conditions |
These values should describe the same scope and unit of time. Do not use an optimistic estimate that assumes extra resources while the other estimates assume the current team.
The PERT expected duration
PERT, the Program Evaluation and Review Technique, combines the three values using a weighted average:
\[ E = \frac{O + 4M + P}{6} \]
O is optimistic, M is most likely, and P is pessimistic. The most likely estimate receives four times the weight of either extreme.
For example, suppose a testing task has these estimates:
- Optimistic: 2 days
- Most likely: 4 days
- Pessimistic: 12 days
Its expected duration is:
\[ \frac{2 + 4(4) + 12}{6} = 5\text{ days} \]
def pert_expected(optimistic, most_likely, pessimistic):
if not (optimistic <= most_likely <= pessimistic):
raise ValueError("Estimates must satisfy optimistic <= most likely <= pessimistic")
return (optimistic + 4 * most_likely + pessimistic) / 6
optimistic = 2
most_likely = 4
pessimistic = 12
expected = pert_expected(optimistic, most_likely, pessimistic)
standard_deviation = (pessimistic - optimistic) / 6
print(f"Expected duration: {expected:.1f} days")
print(f"Approximate standard deviation: {standard_deviation:.2f} days")Measuring uncertainty
A common PERT approximation for standard deviation is:
\[ \sigma = \frac{P - O}{6} \]
A larger gap between the optimistic and pessimistic estimates means greater uncertainty. Variance is the square of standard deviation:
\[ \text{variance} = \sigma^2 \]
Use the expected duration as the task duration in a basic critical path calculation. Record the standard deviation separately so that stakeholders know which tasks deserve better information or contingency.
Common errors and limits
PERT does not guarantee that the task will finish in its expected duration. It also does not automatically calculate a date with a chosen confidence level. For that, you need a probability model, often through simulation.
Avoid these errors:
- Treating the pessimistic value as an impossible disaster rather than a plausible delay.
- Mixing different scopes between the three estimates.
- Applying PERT to a task whose dependency or resource assumptions are unknown.
- Assuming the same critical path will remain critical for every possible duration.
- Adding every task’s standard deviation directly to the project duration.
When several tasks have uncertain durations, a different path may become longest in some scenarios. Near-critical paths therefore deserve attention even when their expected float is positive.
Exercise
A task has optimistic, most likely, and pessimistic durations of 3, 6, and 15 days. What are its PERT expected duration and approximate standard deviation?
Show answer
Expected duration = (3 + 4 × 6 + 15) / 6 = 7 days. Approximate standard deviation = (15 - 3) / 6 = 2 days.