A survey technology company needed to estimate how long each client survey would take before pricing it. The estimate affected the contract, project timeline, respondent compensation, and expected margin. Salespeople made the estimate by judgment, so the same survey could receive very different numbers.
I built a prediction model and a self-serve tool that reads the survey structure directly.
The problem
Overestimation made projects more expensive than necessary and could weaken a bid. Underestimation created margin risk, respondent burden, and drop-off. The company had no consistent method for measuring either problem.
I compared contracted duration estimates with actual completion times for 347 historical surveys. Short surveys were often overestimated. Long or heavily branched surveys were more likely to be underestimated. The variation between estimates was as important as the average bias.
The approach
I extracted 41 features from each survey through the survey platform’s application programming interface. These included question types, reading load, page count, branch complexity, and the expected number of questions along a respondent’s path.
The path features mattered most. Counting every question in the file was misleading because respondents only saw the questions on their branch of the survey.
I compared eight model variants. A random forest using the full feature set performed best on held-out data. The largest improvement, however, came from fixing the outcome definition. The original completion-time measure included respondents who had screened out early. Restricting it to genuine completers increased model fit from 0.61 to 0.81.
Results
The model improved both kinds of error. It brought a 20-minute estimate for a 9.3-minute survey down to 10.4 minutes. For a survey that took 28.6 minutes but had been estimated at 15, it predicted 21.1 minutes.
The tool
I turned the model into a web application for sales and project teams. A user uploads a survey design file and receives a prediction in seconds.
The application provides:
- a duration estimate with a 90 percent prediction interval
- a summary of question types, reading load, and survey logic
- the underlying feature values and importance scores



Adoption
The client research team used the tool in its normal review process. It recorded 45 sessions across 30 active days in the first two months. User reports also led directly to a bug fix and a new matrix-question summary.
The result I can support is narrower than a revenue claim. The model was more accurate on held-out data, the relevant team used the tool, and feedback shaped later versions. The effect on revenue was not measured.
What I learned
Modeling the respondent's actual path mattered more than counting the full survey.
A correct definition of completion time mattered more than another round of model tuning.
Accuracy alone did not create trust. Users also needed a clear interval, a readable survey summary, and enough detail to understand the prediction.
Next case studyBuilding respondent-quality controls for an online research panel