Measure Whether Driver Coaching Reduces Harsh Driving Events

Last updated: November 29, 2026

Quick Overview

Samsara safety managers coach drivers using flagged dash cam clips, but coaching is not randomized. Design an analysis to estimate whether coaching a driver reduces their harsh event rate over the following month.

Samsara
Analytics & Experimentation
Data Scientist
Samsara
November 29, 2026
Data Scientist
Onsite
Analytics & Experimentation
Medium

0

0

0 solved


Samsara safety managers coach drivers using flagged dash cam clips, but coaching is not randomized. Design an analysis to estimate whether coaching a driver reduces their harsh event rate over the following month.

Proving that coaching works is central to how Samsara sells safety outcomes, and data scientists are asked to quantify it from observational data. The interviewer checks that you see regression to the mean and selection bias, normalize by exposure, and choose a credible comparison group.

What the Interviewer Expects
  • Normalize events by miles or driving hours
  • Identify selection bias and regression to the mean in who gets coached
  • Propose a comparison group such as eligible but not yet coached drivers
  • Use difference in differences or matching with pre-trends checks
  • Suggest a randomized rollout where possible
  • Report effect size with uncertainty, clustered by fleet
Key Topics to Cover
Causal inference
Difference in differences
Regression to the mean
Exposure normalization
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • How would you design a randomized test with customers who do not want to withhold coaching?
  • How do you handle drivers who leave the company after coaching?
  • What if harsh event detection thresholds changed during the study period?
  • How would you present this to a customer's safety director?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Analytics Questions
Sample Answer
Clarify

Outcome: harsh events per 1,000 miles, 30 days after coaching. Unit: driver. Treatment: a completed coaching session. Data: event logs, miles, coaching timestamps, fleet, vehicle type, route type. The...

Approach

Naive before and after comparison is biased by regression to the mean. Better: for each coached driver at time tt, find comparison drivers in the same fleet who had a similar trigger (for example, cr...


Submit Your Answer
Markdown supported

Related Questions