Zhaolu

Zhao Lü

code · read · fitness

Posts
Portfolio
Photos
Teach
Travels
Talks & Patents

Recent Posts

  • Fire Detection: Heat, RGB, and a Viral BBQ Sign 2026-11-29
  • JavaFX click circles, events, and properties 2026-11-28
  • CMCC box for media streaming 2026-11-26
Read more posts →
CS Glossary / Discrete random variable

Discrete random variable

Also known as: Discrete RV

A discrete random variable $X$ has a countable range (support) $\mathcal{X}={x_1,x_2,\ldots}$. Probabilities are assigned by a pmf $f_X(x)=P(X=x)$ with $\sum_{x\in\mathcal{X}}f_X(x)=1$.

Examples: Bernoulli, Binomial, Poisson. Contrast continuous RVs, which use a density.

Related terms

  • Random variable
  • Probability mass function
  • Continuous random variable
  • Support

← Back to CS Glossary