Probability and Statistics > Basic Statistics > Discrete vs continuous variables

Watch the video, or read the article below:

In an introductory stats class, one of the first things you’ll learn is the difference between discrete vs continuous variables. In a nutshell, discrete variables are like points plotted on a chart and a continuous variable can be plotted as a line. Before you start, you might want to read these two articles, which define each type of variable and give you lots of examples of each variable type:

Definition of a discrete variable.

Definition of a continuous variable.

## Discrete vs Continuous variables: A Brief Overview.

**Discrete variables **are countable in a finite amount of time. For example, you can count the change in your pocket. You can count the money in your bank account. You could also count the amount of money in *everyone’s* bank account. It might take you a long time to count that last item, but the point is — it’s still countable.

**Continuous Variables** would (literally) take forever to count. In fact, you would get to “forever” and never finish counting them. For example, take age. You can’t count “age”.** Why not?** Because it would literally take forever. For example, you could be:

25 years, 10 months, 2 days, 5 hours, 4 seconds, 4 milliseconds, 8 nanoseconds, 99 picosends…and so on. You *could* turn age into a discrete variable and then you could count it. For example:

- A person’s age in years.
- A baby’s age in months.

Take a look at this article on orders of magnitude of time and you’ll see why time or age just isn’t countable. Try counting your age in Planctoseconds (good luck…see you at the end of time!).

## Discrete vs Continuous variables: Steps

Step 1: Figure out how long it would take you to sit down and **count out** the possible values of your variable. For example, if your variable is “Temperature in Arizona,” how long would it take you to write every possible temperature? It would take you literally forever:

50°, 50.1°, 50.11°, 50.111°, 50.1111°, …

If you start counting now and never, ever, ever finish (i.e. the numbers go on and on until infinity), you have what’s called a **continuous variable.**

If your variable is “Number of Planets around a star,” then you can count all of the numbers out (there can’t be an infinite number of planets). That is a **discrete variable**.

Step 2: Think about “hidden” numbers that you haven’t considered. For example: is time a discrete or continuous variable? You might think it’s continuous (after all, time goes on forever, right?) but if we’re thinking about numbers on a wristwatch (or a stop watch), those numbers are **limited** by the numbers or number of decimal places that a manufacturer has decided to put into the watch. It’s unlikely that you’ll be given an ambiguous question like this in your elementary stats class but it’s worth thinking about!

Like the explanation? Check out the Practically Cheating Statistics Handbook, which has hundreds more step-by-step solutions, just like this one!

**Questions** about Discrete vs Continuous variables? Post on our free stats help forum. No question is too hard, or too easy, for our Stats Staff!

Check out our Youtube channel for more stats tips and help!

The link for “How to classify a variable as discrete or continuous” from the STA2023 FAQ goes to “How to Classify a Variable as Quantitative or Qualitative in Statistics.”

Thanks–the link is fixed :)

The article was helpful, especially in explaining the time question. There was a similar question in Chapter 1 homework, smth with 11 flashlights (sorry, I don’t remember word for word ) that involved time and I wasn’t sure if the correct answer was discrete or continuous.

Great, glad it helped!

Stephanie

This article was very helpful. I never thought to think of continuous pertaining to infinity, but that is probably why it is called continuous. I also like the time example. As first I thought it was continuous because I thought well time goes on forever, but there are only so many hours in a day.

When working in our books these variables threw me off a bit because sometimes they seemed to be both to me not one or other. This article is helpful in deciphering between the two.

I think this article was helpful. I especially like the examples given and pointers on how to think about a problem. The concept still gets a little confusing, but I think with more practice I’ll get the hang of it.

I like the simplified way this article explains the difference between discrete and continuous. Yes, sometimes the contributing factors can be ambiguous, but at least your time examples give me a clearer way to correctly determine the answer. In other words, it’s easy to assume that statistics is a field that is all black and white. But this article proves otherwise. Thanks!

This is the way to go to understand statistics. I like the way it is simplified and it explains everything you need to know on a level that you can understand. I like the examples that it gives and it breaks the information down. Because sometimes you get stuck and don’t know how to work a problem and this helps you out.

This article was very helfpul in further explaining the difference between descrete and continuous.

Good article, I agree with the time example you would think on and on forever when in fact it does not go on it is limited.

When I was looking at this in the book, I was confused sometimes because (by prefernce) I thought it could be either. This explanation is a lot better formated, now to get to work with examples!

I’m glad these examples are helping you :)

And what about geometrical distribution?!! It is discrete, but it takes infinite number of values… :-) I think simplification is not always a good way to understanding.

Wow this was amazing. I am just learning statistics and thios made it so much easier for me. Thank You

wow…this really helpd me!

An insurance company evaluates many numerical variables about a person before deciding on an appropriate rate for automobile insurance. A person’s age is an example of a _________numerical variable.

Why is this not discrete? My book tells me the answer is continuous.

An insurance company evaluates many numerical variables about a person before deciding on an appropriate rate for automobile insurance. How long a person has been a licensed driver is an example of a ________ numerical variable.

Same for this one. My book tell me this is continuous.

These both have to do with time. 1, I thought time was a discrete variable and 2 you could count the years someone has had their license or their age.

Unfortunately, time constraints prevent me from answering stats related questions on the comments section. But please ask for help on our forums — one of our moderators will be glad to help!

http://www.statisticshowto.com/forums/

Thanks it helped me understand the difference between the two.

Waooo I like these examples.it made me understood the concept very well.thank you for the good job.