What is a random variable? What is an example of a discrete random variable and a continuous random variable?
Please see below.
A random variable is numerical outcomes of a set of possible values from a random experiment.
For example, we randomly select a shoe from a shoe store and seek two numerical values of its size and its price.
A discrete random variable has a finite number of possible
values or an infinite sequence of countable real numbers. For example size of shoes, which can take only finite number of possible
While a continuous random variable can take all values in an interval of real numbers. For example, the price of shoes can take any value, in terms of the currency.