PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/PayPal

Explain confounding with an Uber example

Last updated: Jun 15, 2026

Quick Overview

This Statistics & Math interview question for a Data Scientist tests understanding of confounding and causal inference in observational data. Candidates must define a confounder, give a concrete non-demographic Uber example identifying the exposure, outcome, and confounder with the direction of bias, and describe at least two mitigation methods along with the assumptions each requires.

  • easy
  • PayPal
  • Statistics & Math
  • Data Scientist

Explain confounding with an Uber example

Company: PayPal

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Onsite

##### Question You are interviewing for a Data Scientist role and are given access to Uber / Uber Eats data. Answer the following about confounding in causal inference: 1. **Define confounding** in the context of estimating causal effects from observational data. Explain what a **confounder** is and *why* it can bias an observed relationship between an exposure and an outcome. 2. Give a **concrete Uber-related example** (avoid generic demographic examples like age/sex). Your example should clearly identify: - the **treatment / exposure** (X), - the **outcome** (Y), and - the **confounder** (Z) that affects *both* X and Y. Explain intuitively the **direction of the bias** (how it could manufacture a false effect or hide a real one). 3. Describe **at least two** practical ways you would **detect and/or mitigate** confounding in an analysis (in the design or the modeling), and state **what assumptions each method requires**.

Quick Answer: This Statistics & Math interview question for a Data Scientist tests understanding of confounding and causal inference in observational data. Candidates must define a confounder, give a concrete non-demographic Uber example identifying the exposure, outcome, and confounder with the direction of bias, and describe at least two mitigation methods along with the assumptions each requires.

Related Interview Questions

  • Why does the CLT matter? - PayPal (medium)
  • Explain and interpret p-values correctly - PayPal (easy)
  • Interpret p-values and common pitfalls - PayPal (hard)
  • Decide if a dice-betting game is favorable - PayPal (easy)
  • Should you play a dice payout game? - PayPal (easy)
PayPal logo
PayPal
Nov 20, 2025, 12:00 AM
Data Scientist
Onsite
Statistics & Math
3
0
Question

You are interviewing for a Data Scientist role and are given access to Uber / Uber Eats data. Answer the following about confounding in causal inference:

  1. Define confounding in the context of estimating causal effects from observational data. Explain what a confounder is and why it can bias an observed relationship between an exposure and an outcome.
  2. Give a concrete Uber-related example (avoid generic demographic examples like age/sex). Your example should clearly identify:
    • the treatment / exposure (X),
    • the outcome (Y), and
    • the confounder (Z) that affects both X and Y. Explain intuitively the direction of the bias (how it could manufacture a false effect or hide a real one).
  3. Describe at least two practical ways you would detect and/or mitigate confounding in an analysis (in the design or the modeling), and state what assumptions each method requires .

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

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

Master your tech interviews with 8,000+ 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.