Sub topic 7
Reading a Confidence Level from the Mean and Standard Deviation
Prerequisites and the purpose of a confidence level
This chapter assumes you know the basic terms task, duration, dependency, and critical path. You should also be comfortable with averages, squares, square roots, and the general meaning of a probability distribution.
A PERT path estimate gives you two important values:
- The mean is the expected duration of the path.
- The standard deviation describes how widely actual durations may vary around the mean.
A mean by itself is incomplete. If a path has an expected duration of 12 days, that does not tell you whether finishing in 13 days is very likely or highly uncertain. The standard deviation supplies that missing context.
A confidence level answers a planning question such as:
> What duration gives us an 85% chance of finishing by the target?
This is a probability statement about the estimate. It is not a promise or a guaranteed deadline.
From task estimates to a path distribution
For each task, PERT uses three-point estimates:
- Optimistic (O): a realistic best-case duration.
- Most likely (M): the duration expected under normal conditions.
- Pessimistic (P): a realistic duration when important problems occur.
The PERT expected duration is:
\[ E = \frac{O + 4M + P}{6} \]
The PERT standard deviation is:
\[ \sigma = \frac{P - O}{6} \]
The variance is the square of the standard deviation:
\[ \sigma^2 = \left(\frac{P - O}{6}\right)^2 \]
For tasks that occur one after another on the same path, add their expected durations. Add their variances, then take the square root:
\[ \mu{\text{path}} = \sum Ei \]
\[ \sigma{\text{path}} = \sqrt{\sum \sigmai^2} \]
Adding variances rather than standard deviations prevents uncertainty from being overstated.
Consider this path:
| Task | O | M | P | PERT mean | Standard deviation |
|---|---|---|---|---|---|
| Design | 2 | 4 | 8 | 4.33 | 1.00 |
| Build | 3 | 5 | 13 | 6.00 | 1.67 |
| Test | 1 | 2 | 3 | 2.00 | 0.33 |
The path mean is:
\[ 4.33 + 6.00 + 2.00 = 12.33 \]
The path variance is:
\[ 1.00^2 + 1.67^2 + 0.33^2 \approx 3.89 \]
Therefore, the path standard deviation is approximately:
\[ \sqrt{3.89} \approx 1.97 \]
The path is expected to take 12.33 days, with a standard deviation of about 1.97 days.
Using standard deviations to set a target
The normal approximation converts a desired confidence level into a z-score. A z-score tells you how many standard deviations a value lies above or below the mean.
For a one-sided completion target:
\[ T = \mu + z\sigma \]
Here, \(T\) is the target duration, \(\mu\) is the path mean, \(\sigma\) is the path standard deviation, and \(z\) comes from the selected confidence level.
Common one-sided values are:
| Confidence level | Approximate z-score | Interpretation |
|---|---|---|
| 50% | 0.00 | The target equals the mean |
| 80% | 0.84 | The target is 0.84 standard deviations above the mean |
| 85% | 1.04 | The target is 1.04 standard deviations above the mean |
| 90% | 1.28 | The target is 1.28 standard deviations above the mean |
| 95% | 1.645 | The target is 1.645 standard deviations above the mean |
For the example path, an 85% target is:
\[ T = 12.33 + 1.04(1.97) \]
\[ T \approx 14.38 \]
A plan of about 14.4 days has an estimated 85% chance of completion, under the model's assumptions. If the schedule must use whole days, round upward to 15 days rather than downward to 14.
from math import sqrt
from statistics import NormalDist
tasks = [(2, 4, 8), (3, 5, 13), (1, 2, 3)]
mean = sum((o + 4 * m + p) / 6 for o, m, p in tasks)
variance = sum(((p - o) / 6) ** 2 for o, m, p in tasks)
std_dev = sqrt(variance)
confidence = 0.85
z = NormalDist().inv_cdf(confidence)
target = mean + z * std_dev
print(f"Mean: {mean:.2f} days")
print(f"Standard deviation: {std_dev:.2f} days")
print(f"{confidence:.0%} target: {target:.2f} days")The program prints a target close to 14.38 days.
How to interpret the result
The calculation describes the area under an estimated duration distribution. The mean is its center. The confidence target marks a point to the right of that center.
A target at the mean has a 50% chance under a symmetric normal model. That means using the mean as a deadline is similar to flipping a fair coin. A higher target provides more schedule protection, but it also creates a later commitment.
The right confidence level depends on the decision:
- Use a lower level for exploratory planning when precision is not important.
- Use a middle level for ordinary internal commitments.
- Use a higher level for external commitments or work with expensive consequences for delay.
Assumptions and common errors
The normal approximation works best when the path contains several tasks and no single task dominates the uncertainty. It also assumes that task durations are reasonably represented by the PERT distributions and that task durations are independent enough for variances to be added.
Several errors are common:
- Treating the mean as a guaranteed deadline.
- Adding standard deviations instead of variances.
- Using a two-sided confidence value when the question asks only about finishing by a date.
- Rounding intermediate values too early.
- Ignoring dependencies between tasks. For example, a shared supplier problem can delay several tasks together.
- Assuming the same critical path will remain critical. If several paths have similar lengths, uncertainty can cause a different path to become the longest one.
PERT gives a useful planning model, but it does not remove estimation bias. If every pessimistic estimate is too optimistic, the calculated confidence level will also be too optimistic.
Exercise
A path has a mean of 20 days and a standard deviation of 3 days. Using a one-sided z-score of 1.28 for 90% confidence, what target duration should you use?
Show answer
T = 20 + 1.28 × 3 = 23.84 days. If whole days are required, use 24 days.