AI engineering glossary · Probability

What is random variable?

Random variable: A variable whose value is a numerical outcome of a random experiment. It maps each possible outcome to a number so that we can compute averages and spreads. It can be discrete or continuous.

Level: beginnerTopic: Probability

Random variable: an example

Let X be the number of heads in 3 coin tosses. X can be 0, 1, 2 or 3 depending on the outcome.

Related terms

More Probability terms

Where you learn it

Random variable is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.