Can you define random variables, probability distributions, PDF, and CDF?

Quick Overview

Asks for definitions of a random variable, a probability distribution, the PMF or PDF, and the CDF, and how they connect. Tests whether you can separate discrete from continuous cases, read a density value correctly, and move between a density and its cumulative distribution.

Can you define random variables, probability distributions, PDF, and CDF?

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

Can you define random variables, probability distributions, PDF, and CDF? Explain how the four ideas connect, and how the discrete case differs from the continuous one. ```hint Discrete versus continuous For a continuous variable, ask what $P(X = 2)$ equals, and then what the height of the curve at 2 is measuring. ``` ### What a Strong Answer Covers - A precise definition of a random variable as a mapping from outcomes to numbers - What a probability distribution specifies, in the discrete and the continuous case - The difference between a PMF and a PDF, including what a single density value means - The definition of the CDF, its properties, and how it relates to the PMF or PDF - A worked example for at least one concrete random variable ### Follow-up Questions - Can a PDF take a value greater than 1? Give an example. - How do you get $P(a < X \le b)$ from the CDF, and why does every random variable have a CDF even when it has no PDF? - What is the inverse CDF, and how can you use it to draw samples from a distribution?

Overview: Asks for definitions of a random variable, a probability distribution, the PMF or PDF, and the CDF, and how they connect. Tests whether you can separate discrete from continuous cases, read a density value correctly, and move between a density and its cumulative distribution.

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

Can you define random variables, probability distributions, PDF, and CDF?

Explain how the four ideas connect, and how the discrete case differs from the continuous one.

What a Strong Answer Covers Guidance

  • A precise definition of a random variable as a mapping from outcomes to numbers
  • What a probability distribution specifies, in the discrete and the continuous case
  • The difference between a PMF and a PDF, including what a single density value means
  • The definition of the CDF, its properties, and how it relates to the PMF or PDF
  • A worked example for at least one concrete random variable

Follow-up Questions Guidance

  • Can a PDF take a value greater than 1? Give an example.
  • How do you get P(a<X≤b)P(a < X \le b) from the CDF, and why does every random variable have a CDF even when it has no PDF?
  • What is the inverse CDF, and how can you use it to draw samples from a distribution?