Skip to content

Random variable

A random variable is a function that maps outcomes of a sample space to real numbers. It can be discrete or continous.

Distribution function

With every random variable X, we can associate a cumulative distribution function (cdf) FX(x)=P(Xx).

FX(x) is a cdf iff:

  1. limx0FX(x)=0 and limxFX(x)=1
  2. FX(x) is non-decreasing.
  3. FX(x) is right-continuous.

Indentically distributed random variables

Random variables X and Y are identically distributed if FX(x)=FY(x) for all x.

Probability density (mass) function

The probability density function (pdf) or mass function (pmf) for a random variable X is given by:

  • fX(x)=P(X=x)
  • fX(x)=ddxFX(x) for continuous random variables.