Random variable

A random variable is a variable whose value is determined by the outcome of a random event. In probability and statistics, random variables are used to model the uncertainty in the outcomes of experiments or processes. There are two types of random variables: discrete and continuous. A discrete random variable takes on a countable number…