Discrete vs. continuous random variables
Here, in Discrete vs. continuous random variables, we will look at the two types of random variables: Discrete and continuous and see how to understand and distinguish between them. In probability and statistics, a random variable is typically referred to as a variable from a population or a sample.
Discrete variables can take on distinct values. They are countable, like:
- number of staffs in one department,
- number of visits to a web page,
- price for a green pepper,
- number of visitors at a football match,
- results of rolling a die or flipping a coin
Discrete variables can be success or failure in an experiment, like “yes” or “no” and other countable data that cannot be granulated as opposed to continuous variables:
Continuous values can take on any value in a range and can even be infinite. They are quantities that have “endless continuity”, or that you cannot say “the number of”.
For example, the value of some bond or the height of persons. Continuous variables cannot be measured as fixed numbers, and they are typically:
Random variable in statistics
Whether data is discrete or continuous variables is part of what determines what probability distributions and procedures they follow.
Discrete vs. continuous random variables, visualized
Khan Academy: Discrete and continuous random variables
Freelance Data Analyst
+34 616 71 29 85
Spain: Ctra. 404, km 2, 29100 Coín, Malaga
Denmark: c/o Musvitvej 4, 3660 Stenløse
Drop me a line
What are you working on just now? Can I help you, and can you help me?
Learning statistics. Doing statistics. Freelance since 2005. Dane. Living in Spain. With my Spanish wife and two children.
Connect with me
What they say
20 years in sales, analysis, journalism and startups. See what my customers and partners say about me.