a> [!NOTE] Definition

A random variable on a probability space is a function

It assigns a real number to each outcome .

So a random variable is not itself an event. It is a numerical quantity defined on the outcomes of a Probability Space.

Events defined by a random variable

From a random variable , we get events such as

For a discrete random variable, its distribution is given by

Special case: indicator variable

An indicator variable of an event is the random variable

Its expected value is just:

Density and cumulative distribution function

  • probability density function (PDF): a function such that probabilities are obtained by integration
  • cumulative distribution function (CDF) :

If is continuous and has density , then

and

When is differentiable, the density is its derivative:

Further properties such as Expected value, conditional expectation, linearity of expectation, and moments are collected in Expected value.