PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/Lyft

Compute Commuter Ride Probabilities

Last updated: May 31, 2026

Quick Overview

This question evaluates proficiency with conditional probability, Bayes' theorem, and expected value by requiring manipulation of joint, marginal, and posterior probabilities.

  • medium
  • Lyft
  • Statistics & Math
  • Data Scientist

Compute Commuter Ride Probabilities

Company: Lyft

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Technical Screen

A commuter takes two trips per day: one morning commute to work and one evening commute home. Let `M` be the event that the commuter uses Lyft for the morning trip, and let `E` be the event that the commuter uses Lyft for the evening trip. You are given: - `P(M) = p`, where `p < 1/3`. - If the commuter uses Lyft in the morning, then the probability they use Lyft in the evening is `P(E | M) = 2p`. - If the commuter does not use Lyft in the morning, then the probability they use Lyft in the evening is `P(E | not M) = p`. Answer the following: 1. What is `P(E)`, the probability the commuter uses Lyft for the evening trip? 2. What is the expected number of Lyft trips the commuter takes per day? 3. What is `P(M | E)`, the probability the commuter used Lyft in the morning given that they used Lyft in the evening?

Quick Answer: This question evaluates proficiency with conditional probability, Bayes' theorem, and expected value by requiring manipulation of joint, marginal, and posterior probabilities.

Related Interview Questions

  • Compute Poisson supply–demand match probability - Lyft (Medium)
  • Analyze Rider Behavior in Dynamic-Pricing Trial - Lyft (medium)
  • Explain Bayes’ Theorem and P-Value in Decision-Making - Lyft (easy)
  • Determine Probability of Single Ride on Following Day - Lyft (easy)
Lyft logo
Lyft
May 28, 2026, 12:00 AM
Data Scientist
Technical Screen
Statistics & Math
2
0

A commuter takes two trips per day: one morning commute to work and one evening commute home.

Let M be the event that the commuter uses Lyft for the morning trip, and let E be the event that the commuter uses Lyft for the evening trip.

You are given:

  • P(M) = p , where p < 1/3 .
  • If the commuter uses Lyft in the morning, then the probability they use Lyft in the evening is P(E | M) = 2p .
  • If the commuter does not use Lyft in the morning, then the probability they use Lyft in the evening is P(E | not M) = p .

Answer the following:

  1. What is P(E) , the probability the commuter uses Lyft for the evening trip?
  2. What is the expected number of Lyft trips the commuter takes per day?
  3. What is P(M | E) , the probability the commuter used Lyft in the morning given that they used Lyft in the evening?

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

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

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

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • 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.