A random variable is a calculated value which depends on the results of an experiment.

A random variable is mapped with a function from the Sample Space to it’s value.


Example: Sampling

is a random variable equal to the sum of the tuple values contained in the Sample Space.

Individual examples of :

The set of outputs for which is a value:


Example: Real World Random Variables

  • Number of defective items in a batch
  • Number of cars crossing a bridge daily
  • Highest weekly temperatures in Dublin
  • Trading price of a gold bullion each day