• A random variable is a variable whose value is unknown, or a function that assigns values to each result of an experiment.

  • A random variable can be either discrete (having certain values) or continuous (any value in a continuous range).
  • The use of random variables is most common in probability theory and statistics, where they are used to quantify the outcome of random events.
  • Risk analysts use random variables to estimate the likelihood of an adverse event occurring.