What is a mixed (part-discrete, part-continuous) random variable, and can you give an example?

Quick Overview

Asks what a mixed random variable is, one that is partly discrete and partly continuous, and for a concrete example. It tests how well you read a CDF, how you describe such a distribution, and how you compute an expected value from it.

What is a mixed (part-discrete, part-continuous) random variable, and can you give an example?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

What is a mixed (part-discrete, part-continuous) random variable, and can you give an example? ```hint Start from the CDF Every random variable has a CDF. Ask what a jump in the CDF means, what a smooth rise means, and whether one variable can show both. ``` ### What a Strong Answer Covers - A precise definition of a mixed random variable in terms of how its probability is distributed - What its CDF looks like, and why a PMF or a PDF on its own cannot describe it - At least one realistic example, with an explanation of where the point mass comes from - How to compute an expectation or a probability by combining the discrete and continuous parts ### Follow-up Questions - How would you compute the variance of a mixed random variable? - Weekly spend per user has a large spike at zero. How would you model it, and what goes wrong if you fit a single continuous distribution? - Is every random variable discrete, continuous, or a mix of the two? - How would you simulate draws from a mixed distribution?

Overview: Asks what a mixed random variable is, one that is partly discrete and partly continuous, and for a concrete example. It tests how well you read a CDF, how you describe such a distribution, and how you compute an expected value from it.

Nov 24, 2026
mediumData ScientistOtherStatistics & Math
0
0

What is a mixed (part-discrete, part-continuous) random variable, and can you give an example?

What a Strong Answer Covers Guidance

  • A precise definition of a mixed random variable in terms of how its probability is distributed
  • What its CDF looks like, and why a PMF or a PDF on its own cannot describe it
  • At least one realistic example, with an explanation of where the point mass comes from
  • How to compute an expectation or a probability by combining the discrete and continuous parts

Follow-up Questions Guidance

  • How would you compute the variance of a mixed random variable?
  • Weekly spend per user has a large spike at zero. How would you model it, and what goes wrong if you fit a single continuous distribution?
  • Is every random variable discrete, continuous, or a mix of the two?
  • How would you simulate draws from a mixed distribution?