What is a uniform distribution?

Quick Overview

Asks you to define the uniform distribution in its discrete and continuous forms and state its density, mean and variance. Tests interval probabilities, how uniform draws drive random sampling, and the limits of treating a uniform prior as uninformative.

What is a uniform distribution?

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

What is a uniform distribution? ```hint Two versions There is a discrete version and a continuous one. For the continuous version on $[a, b]$, ask what constant the density must equal so that the total area is 1. ``` ### What a Strong Answer Covers - The definition in both the discrete and the continuous case - The probability mass function or density, plus the mean and variance - How to compute the probability of an interval - Where the distribution is used in practice and where its use as an "uninformative" choice breaks down ### Follow-up Questions - Derive the variance of $U(0, 1)$, then extend the result to $U(a, b)$. - How would you turn draws from $U(0, 1)$ into draws from an exponential distribution? - If $X$ and $Y$ are independent $U(0, 1)$ variables, what is the distribution of $X + Y$? - What is the expected value of the maximum of $n$ independent $U(0, 1)$ draws?

Overview: Asks you to define the uniform distribution in its discrete and continuous forms and state its density, mean and variance. Tests interval probabilities, how uniform draws drive random sampling, and the limits of treating a uniform prior as uninformative.

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

What is a uniform distribution?

What a Strong Answer Covers Guidance

  • The definition in both the discrete and the continuous case
  • The probability mass function or density, plus the mean and variance
  • How to compute the probability of an interval
  • Where the distribution is used in practice and where its use as an "uninformative" choice breaks down

Follow-up Questions Guidance

  • Derive the variance of U(0,1)U(0, 1) , then extend the result to U(a,b)U(a, b) .
  • How would you turn draws from U(0,1)U(0, 1) into draws from an exponential distribution?
  • If XX and YY are independent U(0,1)U(0, 1) variables, what is the distribution of X+YX + Y ?
  • What is the expected value of the maximum of nn independent U(0,1)U(0, 1) draws?