Skip to content

Random Variable

A mathematical variable that maps the possible outcomes of a random experiment to numerical values.

A random variable enables us to analyze uncertain outcomes mathematically by mapping them into numerical form. A dice roll, a customer conversion outcome, or a sensor reading can all be modeled as random variables. This concept forms the basis of probability distributions, expected values, and variance. In machine learning and statistics, the notion of a random variable is essential for understanding how data is generated. Most observations do not come from purely deterministic processes, but from processes that contain uncertainty and randomness.