How do Probability Mass Functions (PMF) and Probability Density Functions (PDF) differ?

Quick Overview

Explain how a probability mass function differs from a probability density function and how each one turns into probabilities. It tests discrete versus continuous variables, normalization, the CDF, and why a density value is not a probability.

How do Probability Mass Functions (PMF) and Probability Density Functions (PDF) differ?

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

How do Probability Mass Functions (PMF) and Probability Density Functions (PDF) differ? ```hint Ask what a single point is worth For a continuous variable, think about the probability of hitting one exact value, and what you need to do to get a nonzero probability. ``` ### What a Strong Answer Covers - Which kind of random variable each function describes and what its values mean. - The normalization rule for each, and why a density value can exceed 1. - How each one gives probabilities of events and the CDF. - A concrete example of each. ### Follow-up Questions - How would you describe a variable that is partly discrete and partly continuous, such as spend per user with many exact zeros? - A likelihood built from a PDF can be greater than 1. Is that a problem, and what does it mean when you compare models? - How do you get a PDF from a CDF, and what happens at a point where the CDF jumps?

Overview: Explain how a probability mass function differs from a probability density function and how each one turns into probabilities. It tests discrete versus continuous variables, normalization, the CDF, and why a density value is not a probability.

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

How do Probability Mass Functions (PMF) and Probability Density Functions (PDF) differ?

What a Strong Answer Covers Guidance

  • Which kind of random variable each function describes and what its values mean.
  • The normalization rule for each, and why a density value can exceed 1.
  • How each one gives probabilities of events and the CDF.
  • A concrete example of each.

Follow-up Questions Guidance

  • How would you describe a variable that is partly discrete and partly continuous, such as spend per user with many exact zeros?
  • A likelihood built from a PDF can be greater than 1. Is that a problem, and what does it mean when you compare models?
  • How do you get a PDF from a CDF, and what happens at a point where the CDF jumps?