Member-only story

Statistics interview question: What is the difference between a random discrete and random continuous variable?

Crystal X
2 min readJan 16, 2025

--

I have been studying data science for less than five years now, and one constant is the variable. When working with data science and statistics, a variable will always be used to make calculations. Therefore, it can be easy to take this little known element for granted. It is, however, important to know what a variable is and what the differences are between the various kinds of variables.

A variable in statistics is a characteristic, number or quantity that can be measured or counted. Variables are essential components of statistical data and can be used to describe a population or sample.

The two types of variables discussed in this blog post are discrete and continuous:-

  1. A discrete variable is a numeric variable that can take on certain values, such as the number of heads when flipping coins.
  2. A continuous variable can take on any value within a given range, such as height, weight, or temperature.

A discrete random variable can have a finite number of possible values, while a continuous random variable can have an infinite number of possible values.

--

--

Crystal X
Crystal X

Written by Crystal X

I have over five decades experience in the world of work, being in fast food, the military, business, non-profits, and the healthcare sector.

No responses yet