PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCareers
|Home/Statistics & Math/Waymo

Assess Routing Experiment Validity

Last updated: May 3, 2026

Quick Overview

This question evaluates experimental analysis and statistical hypothesis testing skills, including data preparation and joining, interpretation of p-values, and understanding of causal inference and threats to validity in A/B tests.

  • medium
  • Waymo
  • Statistics & Math
  • Data Scientist

Assess Routing Experiment Validity

Company: Waymo

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Take-home Project

A ride-hailing team runs an A/B test in San Francisco in July 2024 for a new routing algorithm intended to reduce time to pickup, abbreviated TTP. You are given two pandas DataFrames: `df_users`: - `user_id`: unique user identifier - `variant`: experiment assignment, either `control` or `treatment` `df_rides`: - `ride_id`: unique ride identifier - `user_id`: user identifier - `ride_date`: ride timestamp or date - `city`: ride city - `time_to_pickup`: numeric TTP in minutes Tasks: 1. Write Python code to filter to San Francisco rides in July 2024, join ride records to experiment assignments, run a Welch two-sample t-test comparing treatment versus control TTP, and return the p-value. 2. Given the returned p-value, how would you decide whether the result is statistically significant? 3. Is a statistically significant p-value conclusive proof that the new routing algorithm is better? If not, explain the main threats to validity. 4. Propose a stronger experiment design and analysis plan for this routing algorithm.

Quick Answer: This question evaluates experimental analysis and statistical hypothesis testing skills, including data preparation and joining, interpretation of p-values, and understanding of causal inference and threats to validity in A/B tests.

Related Interview Questions

  • How compare Waymo turning trajectories statistically - Waymo (easy)
  • Model wins-until-failure and expected future wins - Waymo (easy)
  • Estimate total attendance from size-biased reservation sample - Waymo (easy)
  • Compute probability match lasts 5 games - Waymo (easy)
Waymo logo
Waymo
Mar 7, 2026, 12:00 AM
Data Scientist
Take-home Project
Statistics & Math
0
0

A ride-hailing team runs an A/B test in San Francisco in July 2024 for a new routing algorithm intended to reduce time to pickup, abbreviated TTP.

You are given two pandas DataFrames:

df_users:

  • user_id : unique user identifier
  • variant : experiment assignment, either control or treatment

df_rides:

  • ride_id : unique ride identifier
  • user_id : user identifier
  • ride_date : ride timestamp or date
  • city : ride city
  • time_to_pickup : numeric TTP in minutes

Tasks:

  1. Write Python code to filter to San Francisco rides in July 2024, join ride records to experiment assignments, run a Welch two-sample t-test comparing treatment versus control TTP, and return the p-value.
  2. Given the returned p-value, how would you decide whether the result is statistically significant?
  3. Is a statistically significant p-value conclusive proof that the new routing algorithm is better? If not, explain the main threats to validity.
  4. Propose a stronger experiment design and analysis plan for this routing algorithm.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Waymo•More Data Scientist•Waymo Data Scientist•Waymo Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • Careers
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.