How can you derive the PMF or PDF from a given CDF?

Quick Overview

Asks how to recover a probability mass function or probability density function from a given cumulative distribution function. It tests the link between a CDF and its PMF or PDF in the discrete, continuous and mixed cases, and how to check that the result is a valid distribution.

How can you derive the PMF or PDF from a given CDF?

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

How can you derive the PMF or PDF from a given CDF? ```hint Undo the accumulation The CDF adds up probability from the left. Think about which operation reverses that, and how it differs when $F$ rises smoothly and when it jumps. ``` ### What a Strong Answer Covers - The continuous case, and the points where the derivative may not exist - The discrete case as jump sizes, using the left limit of $F$ - How to handle a distribution with both jumps and smooth parts - Checks that the result is a valid PMF or PDF - A concrete worked example ### Follow-up Questions - A CDF is 0 for $x < 0$ and ${0.3 + 0.7(1 - e^{-x})}$ for $x \ge 0$. What is $P(X = 0)$, and what is the density for $x > 0$? - If $F$ has a kink at some point, what value should the PDF take there, and does it matter? - You only have an empirical CDF from 500 samples. How would you estimate the density? - Can a continuous CDF fail to have a PDF?

Overview: Asks how to recover a probability mass function or probability density function from a given cumulative distribution function. It tests the link between a CDF and its PMF or PDF in the discrete, continuous and mixed cases, and how to check that the result is a valid distribution.

General logo
General
Nov 25, 2026
easyData ScientistOtherStatistics & Math
0
0

How can you derive the PMF or PDF from a given CDF?

What a Strong Answer Covers Guidance

  • The continuous case, and the points where the derivative may not exist
  • The discrete case as jump sizes, using the left limit of FF
  • How to handle a distribution with both jumps and smooth parts
  • Checks that the result is a valid PMF or PDF
  • A concrete worked example

Follow-up Questions Guidance

  • A CDF is 0 for x<0x < 0 and 0.3+0.7(1−e−x){0.3 + 0.7(1 - e^{-x})} for x≥0x \ge 0 . What is P(X=0)P(X = 0) , and what is the density for x>0x > 0 ?
  • If FF has a kink at some point, what value should the PDF take there, and does it matter?
  • You only have an empirical CDF from 500 samples. How would you estimate the density?
  • Can a continuous CDF fail to have a PDF?