Random variable represents the distribution of potential outcomes. There are two kind of random variables: discrete and continuous.

Discrete Random Variable

Discrete random variables contains countable set of outcome. It can be represented by probability mass function.

Continuous Random Variable

Continuous random variables describe measurable, infinite possible outcomes. It can be represented by probability density function.

Functions on Random Variables