What is a probability density function (PDF)?

Quick Overview

Asks what a probability density function is for a continuous random variable and how to read its values. Tests whether you know why a density is not a probability, how interval probabilities come from area, what makes a function a valid PDF, and how it relates to the CDF.

What is a probability density function (PDF)?

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

What is a probability density function (PDF)? Explain what the value $f(x)$ means for a continuous random variable and how you get probabilities from it. ```hint Units If $X$ is measured in hours, ask what units $f(x)$ must have for the area under it to be a plain probability. ``` ### What a Strong Answer Covers - What $f(x)$ represents for a continuous variable, and why it is not a probability - How the probability of an interval is obtained from the density - The conditions a function must meet to be a valid PDF - How the PDF relates to the CDF - A concrete example in which a density value is computed and interpreted ### Follow-up Questions - Why can a PDF exceed 1 when a probability cannot? Give an example. - A density is $f(x) = c\,x^2$ on $[0, 3]$ and 0 elsewhere. Find $c$ and $P(X \le 1)$. - If $X$ has density $f_X$, what is the density of $Y = 2X$? - A likelihood is built from densities. Why can a likelihood value be greater than 1, and does that matter?

Overview: Asks what a probability density function is for a continuous random variable and how to read its values. Tests whether you know why a density is not a probability, how interval probabilities come from area, what makes a function a valid PDF, and how it relates to the CDF.

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

What is a probability density function (PDF)?

Explain what the value f(x)f(x) means for a continuous random variable and how you get probabilities from it.

What a Strong Answer Covers Guidance

  • What f(x)f(x) represents for a continuous variable, and why it is not a probability
  • How the probability of an interval is obtained from the density
  • The conditions a function must meet to be a valid PDF
  • How the PDF relates to the CDF
  • A concrete example in which a density value is computed and interpreted

Follow-up Questions Guidance

  • Why can a PDF exceed 1 when a probability cannot? Give an example.
  • A density is f(x)=c x2f(x) = c\,x^2 on [0,3][0, 3] and 0 elsewhere. Find cc and P(X≤1)P(X \le 1) .
  • If XX has density fXf_X , what is the density of Y=2XY = 2X ?
  • A likelihood is built from densities. Why can a likelihood value be greater than 1, and does that matter?