Determine whether the quantitative variable is discrete or continuous. population of a city

Home>AP Statistics>This page

In statistics, a variable has two defining characteristics:

  • A variable is an attribute that describes a person, place, thing, or idea.
  • The value of the variable can "vary" from one entity to another.

For example, a person's hair color is a potential variable, which could have the value of "blond" for one person and "brunette" for another.

Note: Your browser does not support HTML5 video. If you view this web page on a different browser (e.g., a recent version of Edge, Chrome, Firefox, or Opera), you can watch a video treatment of this lesson.

Qualitative vs. Quantitative Variables

Variables can be classified as qualitative (aka, categorical) or quantitative (aka, numeric).

  • Qualitative. The value of a qualitative variable is a name or a label. The color of a ball (e.g., red, green, blue) or the breed of a dog (e.g., collie, shepherd, terrier) would be examples of qualitative or categorical variables.
  • Quantitative. The value of a quantitative variable is a number. For example, when we speak of the population of a city, we are talking about the number of people in the city - a numerical attribute of the city. Therefore, population would be a quantitative variable.

In algebraic equations, quantitative variables are represented by symbols (e.g., x, y, or z).

Advertisement

Discrete vs. Continuous Variables

Quantitative variables can be further classified as discrete or continuous. If a variable can take on any value between its minimum value and its maximum value, it is called a continuous variable; otherwise, it is called a discrete variable.

Some examples will clarify the difference between discrete and continouous variables.

  • Suppose the fire department mandates that all fire fighters must weigh between 150 and 250 pounds. The weight of a fire fighter would be an example of a continuous variable; since a fire fighter's weight could take on any value between 150 and 250 pounds.
  • Suppose we flip a coin and count the number of heads. The number of heads could be any integer value between 0 and plus infinity. However, it could not be any number between 0 and plus infinity. We could not, for example, get 2.3 heads. Therefore, the number of heads must be a discrete variable.

Univariate vs. Bivariate Data

Statistical data are often classified according to the number of variables being studied.

  • Univariate data. When we conduct a study that looks at only one variable, we say that we are working with univariate data. Suppose, for example, that we conducted a survey to estimate the average weight of high school students. Since we are only working with one variable (weight), we would be working with univariate data.
  • Bivariate data. When we conduct a study that examines the relationship between two variables, we are working with bivariate data. Suppose we conducted a study to see if there were a relationship between the height and weight of high school students. Since we are working with two variables (height and weight), we would be working with bivariate data.

Test Your Understanding

Problem 1

Which of the following statements are true?

I. All variables can be classified as quantitative or categorical variables.II. Categorical variables can be continuous variables.

III. Quantitative variables can be discrete variables.

(A) I only(B) II only(C) III only(D) I and II

(E) I and III

Solution

The correct answer is (E). All variables can be classified as quantitative or categorical variables. Discrete variables are indeed a category of quantitative variables. Categorical variables, however, are not numeric. Therefore, they cannot be classified as continuous variables.

If you would like to cite this web page, you can use the following text:

Berman H.B., "Variables in Statistics", [online] Available at: https://stattrek.com/descriptive-statistics/variables URL [Accessed Date: 9/17/2022].

Determine whether the quantitative variable is discrete or continuous. population of a city

Determine whether the quantitative variable is discrete or continuous. population of a city
Determine whether the quantitative variable is discrete or continuous. population of a city

Get the answer to your homework problem.

Try Numerade free for 7 days

We don’t have your requested question, but here is a suggested video that might help.

Determine whether the quantitative variable is discrete or continuous: Number of coins in a jar Is the variable discrete or continuous? 0 A The variable is discrete because it is countable 0 B The variable is discrete because it is not countable . The variable is continuous because it is not countable: 0 D The variable is continuous because it is countable_

By the end of this lesson, you will be able to...

  1. describe what "statistics" means in the context of this course.
  2. explain the process of statistics
  3. distinguish between qualitative and quantitative variables
  4. distinguish between discrete and continuous variables
  5. determine the level of measurement of a variable

For a quick overview of this section, watch this short video summary:

The first thing we want to look at is exactly what "statistics" is. It should come as no surprise that your textbook has a definition for statistics. Here's what the author writes:

Statistics is the science of collecting, organizing, summarizing, and analyzing information to draw conclusions or answer questions.

So what does that mean? Well, if you haven't already, you really need to read your textbook on this section. There's some great information on pages 3 & 4 about the study of statistics.

See, the reason we use data is that often the anecdotal information we have which might appear to be true actually is not.

Case in point: Recently the math department at ECC decided to do some investigation into the success of students in the College Algebra course. Many instructors had poor experiences with students who placed into the course with an ACT score of 23. Those faculty members felt that the cut-off score for placement into College Algebra should be increased to at least 24.

An interesting thing happened when data was collected from a year's worth of students - the students with a 23 on their ACT did just as well as students who placed their via ECC's own placement exam or those who took Intermediate Algebra first. Oops! This was a reminder to even those of us in the math department that there's a reason why the study of statistics was developed - we often have a skewed sense of reality when we only trust our experiences.

At this point, I'd strongly recommend beginning a list of terms with definitions. You might start to get overwhelmed with all the terminology, so a list of terms to refer to would be very helpful.

The Process of Statistics

So what exactly is the study of statistics? Well, it's really a process. Your textbook has a good summary of it, but I've included a bit of a visual here as well.

First, we must identify exactly what it is we're hoping to study. We must also determine what our population is. Next, we select a representative sample using appropriate sampling techniques. Once we have our data collected, we have to summarize it. We'll do this both numerically and visually with charts. Finally, we need to analyze it and come to a conclusion.

The gaps in the middle - Chapters 4-8 - are a mix of sections. Chapter 4 really can stand on its own. It's all about analyzing the relationship between two variables. Chapters 5-8 involve probability and are intended as preparation for the meat of the course in Chapters 9-12.

Identifying the Question

A couple of key comments about identifying the question are needed here. The first thing we really need to consider is what our population is. The population is the group we're studying.

For example, if I'm interested in the studying habits of ECC students, then my population is all ECC students. Since asking every ECC student isn't possible, I would then take a sample, which is a subset of the population. The characteristics of the sample are key. If we select too few or the individuals selected don't represent the population, any conclusions we draw will be meaningless.

A statistic is a numerical summary of a sample. By contrast, a numerical summary of a population is called a parameter.

For example, if we know from ECC data that the average age of all ECC students is 29 (ECC College Facts), that value is a parameter. On the other hand, if we take a sample of 100 students and find that 63% support a new initiative at the college, that is a statistic - since it is only a measure of the sample of 100 students, not the entire student population.

When we simply describe or summarize data, we're using descriptive statistics. When we draw conclusions or extend our results to the population, we're using inferential statistics.

For example, the statistics of 63% from above would be a descriptive statistic, since it is simply a summary of our sample. If we, in turn, make a broad generalization and claim that 63% of all ECC students support the initiative, then that is inferential statistics.

Qualitative or Quantitative

In general, we classify data into two groups: qualitative or quantitative. Of course, your textbook has definitions for both:

Qualitative (or categorical) variables allow for classification of individuals based on some attribute or characteristic.

Quantitative variables provide numerical measures of individuals. Arithmetic operations such as addition and subtraction can be performed on the values of a quantitative variable and will provide meaningful results.

Basically, if a variable describes a quality of an individual - i.e. hair color, political party, etc - then it is qualitative. If a variable is numerical and those numbers have meaning, then it is quantitative. (Not all numbers have meaning numerically - think of an individuals Social Security number.)

Example 1

So, which are they? Here are some examples of data that might be collected. Take a minute and make a note of whether each is qualitative or quantitative. When you're ready, check your answer below.

gender, IQ, ACT score, eye color, area code

[ reveal answer ]

Gender - qualitative. No numbers here, so it's an easy choice.

IQ - quantitative. IQs are numbers and can be averaged - with meaning.

ACT score - quantitative. Similar reasoning to IQs.

Eye color - qualitative. Same reasoning as gender.

Area code - qualitative. While they are numbers, you can't have an average area code.

Discrete or Continuous

Quantitative variables can be further split into two groups.

A discrete variable is a quantitative variable that has either a finite number of possible values or a countable number of values. (Countable means that the values result from counting - 0, 1, 2, 3, ...)

A continuous variable is a quantitative variable that has an infinite number of possible values that are not countable.

Most variables are pretty clear, but some can be a bit tricky. An example of a tricky one is time. Say, for example, we're looking at how long we've been waiting for a bus. We count the minutes and seconds, but really those time units are only rounded. There are actually milliseconds, nanoseconds, etc - an infinite number of possibilities in the middle. So actually, any variable that is time is continuous.

Here's a graphical representation of the different ways to classify variables:

Example 2

Time for some examples. Take a minute and make a note of whether each quantitative variable is discrete or continuous. When you're ready, check your answer below.

IQ, ACT score, height, distance commuting, shoe size

[ reveal answer ]

IQ - discrete. IQ scores are always integers - 100, 110, 180, etc.

ACT - discrete. Same reasoning as IQ.

Height - continuous. Even though your height might be 5'8", it's really 5.68241231... feet. It's impossible to measure a length exactly!

Distance commuting - continuous. Similar reasoning to height.

Shoe size - discrete. This is a tough one. An argument could be made for either choice, but shoe sizes only come in whole numbers or possibly 1/2 sizes - there is no 8.24 shoe size.

Level of Measurement

Instead of categorizing variables into qualitative or quantitative, we can assign them various "levels" based on their characteristics.

Nominal: A nominal variable is one that simply categorizes or names the variables (i.e. "hair color"). This is the most general level of measurement.

Ordinal: An ordinal variable categorizes, but also has a specific order, like "course grade". This is a little more specific than a nominal variable.

Interval: An interval variable is quantitative (so the values have order as numbers), the differences between values have meaning, but a value of 0 doesn't mean the object has no value. The easiest example is "temperature" - clearly 60°F is more than 30°F, but 0°F doesn't mean it has no temperature and couldn't get colder.

Ratio: The final and most precise level of measurement is ratio. A ratio variable has all the properties of an interval variable, but the ratio of two values has meaning, and a value of zero means the absence of that quantity. A simple example might be "points earned on an exam". A score of 80 is twice the value of a score of 40, and a score of 0 clearly means the student earned no points on the exam. (Note that this is different than a grade of A vs. F, which would just be ordinal.)

Example 3

Time for one last set of examples. Categorize each variable based on its level of measurement as nominal, ordinal, interval, or ratio.

gender, IQ, distance commuting, pain rating 1-10

[ reveal answer ]

Gender - nominal. This is just categorizing each individual.

IQ - interval. Larger values do imply a higher IQ, but a 0 IQ doesn't have any meaning - that individual is dead! Also, an individual with an IQ of 120 isn't really "twice as smart" as an individual with an IQ of 60.

Distance commuting - ratio. Unlike IQ, it's possible to have a distance commuting of 0 (working at home!), and a ratio of two distances does have meaning.

Pain rating - ordinal. While it may seem that this is an interval or even a ratio variable, that's not the case. Clearly 7 is more than 5 and 5 is more than 3, but does that difference of 2 mean the same in both cases? What about the difference between a 10 and an 8? Because those differences aren't consisten, this is not an interval variable.