PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCareers
|Home/Statistics & Math/Waymo

Model wins-until-failure and expected future wins

Last updated: Mar 29, 2026

Quick Overview

This question evaluates probabilistic modeling and statistical inference skills for censored time-to-event performance data, focusing on estimating player-specific win probabilities and predicting expected future wins from observed "wins before first loss" records.

  • easy
  • Waymo
  • Statistics & Math
  • Data Scientist

Model wins-until-failure and expected future wins

Company: Waymo

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Onsite

You are given a DataFrame `df` where each row summarizes a player’s performance until their **first loss**. ### Input `df` columns: - `player_id` (string/int) - `wins_before_first_loss` (int, \(k\ge 0\)): number of consecutive wins observed before the first loss occurred Interpretation: for each player, you observed a sequence of games that ended with a loss, e.g., `WWW...WL`, and `wins_before_first_loss = k`. ### Questions 1. Compute the **expected number of additional wins before the next loss** for each player. - You may assume each player has an underlying win probability \(p_i\) that is constant across games. - Show how you would compute this expectation from the observed data (code/pseudocode is fine). 2. Propose a probabilistic model for `wins_before_first_loss` and explain how you’d estimate parameters. 3. Given a plot of the computed expectations across players (distribution/shape), interpret what it suggests (heterogeneity, outliers, model misfit). 4. How would you evaluate the model and use it to make a decision (e.g., ranking players, allocating resources, setting thresholds)?

Quick Answer: This question evaluates probabilistic modeling and statistical inference skills for censored time-to-event performance data, focusing on estimating player-specific win probabilities and predicting expected future wins from observed "wins before first loss" records.

Related Interview Questions

  • Assess Routing Experiment Validity - Waymo (medium)
  • How compare Waymo turning trajectories statistically - Waymo (easy)
  • Estimate total attendance from size-biased reservation sample - Waymo (easy)
  • Compute probability match lasts 5 games - Waymo (easy)
Waymo logo
Waymo
Jan 17, 2026, 12:00 AM
Data Scientist
Onsite
Statistics & Math
9
0
Loading...

You are given a DataFrame df where each row summarizes a player’s performance until their first loss.

Input

df columns:

  • player_id (string/int)
  • wins_before_first_loss (int, k≥0k\ge 0k≥0 ): number of consecutive wins observed before the first loss occurred

Interpretation: for each player, you observed a sequence of games that ended with a loss, e.g., WWW...WL, and wins_before_first_loss = k.

Questions

  1. Compute the expected number of additional wins before the next loss for each player.
    • You may assume each player has an underlying win probability pip_ipi​ that is constant across games.
    • Show how you would compute this expectation from the observed data (code/pseudocode is fine).
  2. Propose a probabilistic model for wins_before_first_loss and explain how you’d estimate parameters.
  3. Given a plot of the computed expectations across players (distribution/shape), interpret what it suggests (heterogeneity, outliers, model misfit).
  4. How would you evaluate the model and use it to make a decision (e.g., ranking players, allocating resources, setting thresholds)?

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.