PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCareers
|Home/Statistics & Math/Uber

How do you derive CDF from a PDF?

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of the relationship between a probability density function and its cumulative distribution function, the formal properties that PDFs and CDFs must satisfy, and competence with piecewise definitions and numerical approximation considerations.

  • easy
  • Uber
  • Statistics & Math
  • Data Scientist

How do you derive CDF from a PDF?

Company: Uber

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Technical Screen

You are given a continuous random variable \(X\) with probability density function (PDF) \(f_X(x)\). 1. Write the definition of the cumulative distribution function (CDF) \(F_X(x)\) in terms of \(f_X(x)\). 2. State the conditions a valid PDF and CDF must satisfy. 3. If \(f_X(x)\) is only defined piecewise (different formulas on different intervals), explain how you would compute \(F_X(x)\) correctly across all ranges of \(x\). 4. (Practical) If \(f_X(x)\) has no closed-form integral, describe a reasonable numerical approach to approximate \(F_X(x)\) for a given \(x\), and how you’d control error.

Quick Answer: This question evaluates understanding of the relationship between a probability density function and its cumulative distribution function, the formal properties that PDFs and CDFs must satisfy, and competence with piecewise definitions and numerical approximation considerations.

Related Interview Questions

  • Should Uber double member discounts? - Uber (medium)
  • Compare Two Coin Proportions - Uber (medium)
  • Analyze the Accident-Rate Spike - Uber (easy)
  • Derive a CDF from a PDF - Uber (medium)
  • Formulate OR model to reduce driver backtracking - Uber (Medium)
Uber logo
Uber
Feb 6, 2026, 1:59 PM
Data Scientist
Technical Screen
Statistics & Math
8
0
Loading...

You are given a continuous random variable XXX with probability density function (PDF) fX(x)f_X(x)fX​(x).

  1. Write the definition of the cumulative distribution function (CDF) FX(x)F_X(x)FX​(x) in terms of fX(x)f_X(x)fX​(x) .
  2. State the conditions a valid PDF and CDF must satisfy.
  3. If fX(x)f_X(x)fX​(x) is only defined piecewise (different formulas on different intervals), explain how you would compute FX(x)F_X(x)FX​(x) correctly across all ranges of xxx .
  4. (Practical) If fX(x)f_X(x)fX​(x) has no closed-form integral, describe a reasonable numerical approach to approximate FX(x)F_X(x)FX​(x) for a given xxx , and how you’d control error.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Uber•More Data Scientist•Uber Data Scientist•Uber 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.