Sub topic 10
Parametric Estimation: Unit Rates and Models
Assume you know the difference between effort and calendar duration, can break work into tasks, and can calculate averages. This chapter shows how to estimate effort from measurable quantities and historical rates.
The basic model
Parametric estimation uses a relationship between the amount of work and the effort needed to complete it. A simple model is:
estimated effort = fixed effort + (quantity × unit rate)For example, if testing one form takes 20 minutes and a project has 30 forms, testing requires about 600 minutes, or 10 person-hours. If test-environment setup takes 2 hours, the total estimate is 12 person-hours.
The unit rate must describe the same kind of work as the quantity. “Hours per tested form” is useful only when the forms have similar complexity.
| Model part | Example | Question to ask |
|---|---|---|
| Quantity | 30 forms | How many units exist? |
| Unit rate | 20 minutes per form | How much effort does one unit require? |
| Fixed effort | 2 hours setup | What work happens once? |
| Result | 12 person-hours | What total effort does the model predict? |
Build a useful model
Start with records from completed work. Group similar work together, then calculate a rate such as hours per report, defects per tester-day, or pages per review hour.
A model with one driver may be enough:
effort = 3 hours + (number of reports × 0.5 hours)A more detailed model can include several drivers:
effort = setup + (simple items × simple rate)
+ (complex items × complex rate)
+ reviewUse separate rates when complexity changes the work substantially. Do not use a single average rate if a few unusually difficult items distort the result.
The following script applies a model to a report project:
from math import ceil
setup_hours = 3
simple_reports = 12
complex_reports = 4
simple_rate = 0.5
complex_rate = 1.5
review_hours = 4
effort = (
setup_hours
+ simple_reports * simple_rate
+ complex_reports * complex_rate
+ review_hours
)
print(f"Estimated effort: {effort:.1f} person-hours")
print(f"At 6 focused hours per person-day: {effort / 6:.1f} person-days")
print(f"Whole person-days to plan: {ceil(effort / 6)}")The result is an effort estimate. Convert it to calendar time only after considering people, availability, dependencies, and interruptions.
Assumptions and failure modes
A unit rate is not a universal fact. It depends on the team, tools, quality standard, work type, and period when the data was collected.
State assumptions with the estimate:
- The 16 reports have the same definition of done as the historical reports.
- The team has the same tools and skill mix.
- Setup and review effort are included.
- The estimate excludes waiting time and external approvals.
Parametric estimates fail when the quantity is wrong, the historical sample is too small, or conditions have changed. They also hide uncertainty if they report only one number. Apply a range to the rate or quantity when either is uncertain. For example, 20 minutes per form may really be 15–30 minutes.
Exercise
A team needs to process 40 standard records at 18 minutes each. One-time setup takes 2 hours, and review takes 3 hours. What is the estimated effort?
Show answer
17 person-hours: 40 × 18 minutes is 12 hours, then 2 + 3 hours of fixed work are added.