Skip to main content

Chapter 2: Types of Data: Chapter02_Types of Data

Chapter 2: Types of Data
Chapter02_Types of Data
    • Notifications
    • Privacy
  • Project HomeClear-Sighted Statistics
  • Projects
  • Learn more about Manifold

Notes

Show the following:

  • Annotations
  • Resources
Search within:

Adjust appearance:

  • font
    Font style
  • color scheme
  • Margins
table of contents
  1. Chapter02_Types of Data

Clear-Sighted Statistics

Chapter 2: Types of Data

“In God we trust, all others bring data.”1

-- W. Edwards Deming

I. Introduction

In this chapter, we will discuss what data are. (Remember: data is a plural noun; the singular of data is datum.) In Chapter 3: “Where Do Data Come From?,” we will review how to obtain trustworthy data.

After completing this chapter, you will understand:

1. The difference between a sample and a population.

2. The difference between statistics and parameters.

3. The difference between facts and values.

4. Sampling error and uncertainty.

5. The different types of data: Qualitative data, quantitative data, discrete quantitative data, and continuous quantitative data.

6. The difference among univariate, bivariate, and multivariate data.

7. The four levels of measurement: Nominal, Ordinal, Interval, and Ratio and why this distinction is important.

II. The Difference Between Populations and Samples

Data are the details that people using statistical techniques process to acquire usable information. In Chapter 1, we defined statistics as the science involved with the collection, organization, analysis, interpretation, and presentation of data. Data can come from either a population or a sample. A population, or universe, is a collection of all possible individuals, objects, or measurements of interest. Counting elements in a population is called a census. Article 1, Section 2 of the Constitution of the United States mandates that the federal government conduct a census of the people living in the country every ten years.2 Data collected from populations are called parameters. A sample is a portion or part of a population. Data derived from samples are called statistics.

Figure 1: Sample vs. Population

Figure 1: Sample vs. Population

In an ideal world, we would only use parameters. But neither you nor I live in an ideal world. We seldom have the time or money to study every element of a population. Sometimes it is difficult to do so, particularly when attempting to count constantly changing or large populations like salmon swimming between Canada and Greenland. Sometimes we destroy or damage the items we select for our sample. Cars are tested for crash worthiness. The price of a 2019 Ferrari SF90 Stradale is around $600,000. How many of these very expensive automobiles will Ferrari crash while testing their safety? The makers of Ferrari, therefore, crash a very small sample from their production. For these reasons, we use sample statistics to estimate population parameters. We will review the problem of estimating population parameters from sample statistics in Chapters 10 and 11 and in the remaining chapters covering inferential statistics. When properly conducted, data derived from samples are reliable.

Inferential statistics is the use of sample data and probability theory to estimate population parameters. With inferential statistics, we always expect sampling error. In later chapters, we will discover that sampling error is not the result of someone making a mistake. Sampling error is due to the random process of sampling. Please note: “Random” in this context means that elements of the population are selected by chance with each element having an equal likelihood of selection. Sampling error simply means that the value of the statistic does not equal the value of the parameter. Sampling error is, in fact, unavoidable. In Chapter 3: Where Do Data Come From?, we will highlight the problem of systematic error, which results from biases introduced by poor research design, human error, fraudulent research practices, and unconscious or deliberate distortions introduced by research respondents.

III. The Difference Between Facts and Values

Statistics is based on empirical knowledge; that is knowledge obtained through the observation of the world. With the use of statistics and the scientific method we can uncover facts. Facts, or empirical evidence, are repeated observations or measurements. Facts are objective and verifiable. Facts deal with “what is.” Max Weber, the great twentieth century sociologist, drew a distinction between fact and values.3 Values deal with “what ought to be.” Values are subjective beliefs that cannot be verified through the use of statistics and the scientific method. Values can be culturally determined.

Here are two examples of values regarding strawberries:

1. I think strawberries are the best berries made by God.

2. I think strawberries taste better than cherries.

These values are not facts. I cannot use statistics to prove wrong your preference for cherries over strawberries. That you prefer cherries to strawberries is a statement about your values, not fact.

Compare the value statements shown above to some facts about strawberries:

1. The average strawberry has 200 seeds.

2. Strawberries are among the first fruits to ripen in the spring.

3. According to the U.S. Department of Agriculture, the average American eats 3.4 pounds of strawberries a year.

4. According to the U.S. Department of Agriculture, California produces 72 percent of all the strawberries grown in the U.S.

These facts are derived from empirical observations and can be verified using statistics. I should point out that social scientists use statistics to study peoples’ values and beliefs. They may ask questions like:

1. What proportion of the population likes or dislikes strawberries?

2. How does the ranking of the taste of strawberries compare to cherries and other fruits?

3. What is the intensity of people’s feelings about strawberries?

4. What are the cultural meanings associated with strawberries?

While social scientists study values scientifically, they do not, indeed cannot, verify values.

IV. Data or Variables

Data are often called variables or random variables. Why do we call data variables? The answer is simple: Data vary by chance. Consider the following variables:

1. The number of minutes it takes you to commute from your home to school or work. (Each commute will vary depending on the time of your commute, the weather, traffic, your selected mode of travel, and chance.)

2. The number of hours you sleep at night. (The amount of time you sleep varies day-to-day with your schedule and chance.)

3. The number of classmates who attend your statistics class. (The number of students attending varies from class-to-class due to several factors and chance.)

4. The number of calories you consume a day. (Your calorie consumption varies with your choice of meals, the size of your portions, how hungry you are, and chance.)

In many of the formulas we will cover, variables are symbolized with letters. Most often the letter X is used. But other letters—Y, A, B, or C—are sometimes used. Using a Latin letter is shorthand for the fact that the variable is from a sample. English, Spanish, French, German, Italian, among other languages are written in Latin letters. The use of Greek letters usually means that the data are from a population. Here is a link to the Greek alphabet.

Data are not the same as information. Data are raw, unorganized facts in need of processing. Information, on the other hand, is data that has been organized in a context that makes it useful. The science of statistics uses a variety of techniques to turn data into useful information.

V. Types of Data or Variables

As shown in Figure 2, we can distinguish between two broad categories of variables:

Figure 2: Types of Variable

A. Qualitative Data

Let’s start with qualitative data, which are also called categorical or attribute data. Qualitative data refer to a “quality,” not a “quantity.” Qualitative data, therefore, are not numerical because these variables do not include numbers. Qualitative data rely on adjectives and other descriptive words to indicate appearance, color, texture, or other qualities. Some examples of qualitative data are:

1. Your hair color.

2. Your eye color.

3. Your marital status.

4. The species of your favorite pet.

5. The breed of your neighbor’s dog.

6. The make of car that you used to learn to drive.

7. Your favorite meal, baseball team, or article of clothing.

8. The names of your classmates in your statistics class.

9. The softness of a fur coat.

These data are qualitative. They are descriptive. They are not directly measurable.

While qualitative variables are not numerical, we can count qualitative variables. This gives qualitative data a quantitative dimension. M&Ms candy, for example comes in six colors: Blue, Brown Green, Orange, Red, and Yellow. We can count the number of each color in the bag. The results of these counts are called frequencies. We can also calculate the proportion of each candy color to the total number of pieces in the bag. The results are called the relative frequencies. Please note: The colors are qualitative variables. But the frequencies and relative frequencies are numerical and, therefore, quantitative data.

Table 1: Qualitative Data: M&Ms Candy Colors

Please note: Qualitative data can contain numbers. Your student ID number, social security number, zip code, cell phone number, or credit card number are qualitative data despite the fact that they contain numbers. They are, in effect, only identification codes. We do not treat them as numbers. The arithmetic average of your classmates’ zip codes or social security numbers, for example, would not provide any meaningful information.

Dichotomous or Binary data

Qualitative variables are sometimes dichotomous or binary variables. That means that they can only be placed in one of two groups. A variable is dichotomous if you use a yes or no question to classify the data. Here are a few examples:

A. Which of the following American presidents are alive?

1. Abraham Lincoln: (No, died on April 15, 1865)

2. Richard Nixon: (No, died on April 22, 1994)

3. Ronald Reagan: (No, died on June 5, 2004)

4. Jimmy Carter: Alive (Yes, as of April 26, 2020)

5. George H. W. Bush: (No, died on November 30, 2018)

6. Barack Obama: Alive (Yes, as of November 20, 2021)

7. Donald J. Trump: Alive (Yes, as of November 20, 2021)

B. Which of the following successful business executives earned a college degree:

1. Sophia Amoruso: (No)

2. Jeff Bezos: (Yes)

3. Richard Branson: (No)

4. Warren Buffet: (Yes)

5. Ursula Burns: (Yes)

6. Barry Diller: (No)

7. Stacy Ferreira: (No)

8. Henry Ford: (No)

9. Bill Gates: (No)

10. Steve Jobs: (No)

11. Elon Musk: (Yes)

12. Sheryl Sandberg: (Yes)

13. Meg Whitman: (Yes)

14. Mark Zuckerberg: (Yes)

Other dichotomous variables include anything that has only two outcomes; the outcome of a coin toss (heads or tails), passing your statistics class (yes or no), completing an assignment on time (yes or no), voted in the last election (yes or no), or being a veteran of the military (yes or no).

Gender has traditionally been considered a dichotomous variable; that is, either male or female. But the binary nature of gender has never been universally accepted. All we have to do to confirm this assessment is to look at the work of the ancient Greek philosopher Plato (c. 428/427 BCE – c.348/347 BCE). In the Symposium, Plato presents a dialogue about love that takes place at a drinking party. Among the attendants are Socrates, who is Plato’s teacher, Agathon the author of dramatic tragedies, Eryximachus, a physician, and Aristophanes, the great comic playwright. At this party, the guests give extemporaneous speeches on love. Aristophanes begins his speech by telling a myth about the origin of humans (Symposium, 189d – 190).4 According to the myth, originally people had three genders, and we looked very different. We were shaped like spheres and had four arms, four legs, two heads, and two sets of genitals. Some of us were male, some female, and some a mixture of male and female. We were powerful and confident. So powerful, in fact, the gods began to fear us. Soon the god Zeus and his son Apollo hatched a plan to make humanity less threatening. The Gods did not want to eliminate humanity as they did the giants, so they decided to split us into two parts with each part having one head, two arms, two legs, and one set of genitals. Thereafter, we longed for our missing part and found pleasure when we embraced someone who felt like our missing half.

Today, many people are demanding that gender not be considered a binary variable. Facebook, for example, offers users 51 options to define their gender identity.5 As Dan Levin writes in the June 30, 2019 issue of the New York Times, “These days, many teenagers view gender identity as existing on a spectrum. A person’s pronouns, too are not limited to binary male and female, with the gender-neutral they/them gaining wider usage and acceptance.”6 In a June 28, 2019 New York Times article, Levin reports that in a recent survey on gender identity, “Respondents used a total of 116 different words and phrases to describe their sexual and gender identities, and their relationships.”7

Data can also be cross-sectional or longitudinal. Cross-sectional data describes various segments of a population using sample data taken at a specific time. Longitudinal data tracks changes in the data over time.

B. Quantitative Data

Quantitative data are numerical. The information is reported with numbers. Here are examples of quantitative data:

1. The balance in your checking account.

2. The amount of money you owe on your credit card.

3. The number of parking spots in a parking lot.

4. The number of seconds a Ferrari SF90 Stradale takes to complete a quarter-mile race from a standing start.

5. The number of World Series championships won by the Seattle Mariners.

6. The length of the longest bridge in the world.

7. The temperature outside at dawn this morning.

8. The number of hairs remaining on a bald man’s head.

9. The number of rooms in your home.

10. The number of college students at your school who earn a degree within six years.

11. The paid attendance at the July 4, 2019 New York Mets baseball game.

12. Your weight, height, or blood pressure.

Quantitative variables can be either discrete or continuous. They are considered discrete if the value of the variables does not include fractional numbers. The number of puppies in a litter is an example of a discrete variable. A litter may have seven or eight puppies or any other whole number. A whole number is an integer or a number without fractions. No litter has seven-and-a-half puppies. Continuous variables, on the other hand, can take on any number in a range of numbers; which is to say, continuous variables include fractional numbers. The weight of an object is a continuous variable because it can be reported in kilograms, grams, milligrams, micrograms, and so on. The value of our data is limited only by the precision of our measuring device.

Selecting from this list of quantitative variables, the following variables are discrete:

1. The balance in your checking account. (The discrete units are pennies, not fractional pennies.)

2. The amount of money owed on your credit card (The discrete units are pennies. If fractional pennies are used, this variable would be continuous.)

3. The number of parking spots in a parking lot. (There are no fractional parking spaces.)

4. Number of World Series championships won by a Major League baseball team. (A team can win zero, one, two, three or more world series. No team can win a quarter of a world series. As of 2018, seven teams never won a world series. The New York Yankees won the greatest number of world series, 27.)

5. Number of hairs remaining on a bald man’s head. (No man, balding or otherwise, has a fractional hair growing on his head.)

6. The number of college students at your school who earn a degree within six years. (There are no fractional students.)

7. The paid attendance at the July 4, 2019 New York Mets baseball game. (A person either paid for a ticket or did not, ticket buyers are a discrete variable.)

From the list shown above, the following variables are continuous:

1. Number of seconds a Ferrari SF90 Stradale takes to complete a quarter-mile race from a standing start (We measure time in fractional seconds.)

2. The temperature outside at dawn this morning. (The Weather Bureau may have reported the temperature as 65° F, but temperature is measured on a continuous scale. The actual temperature, when measured with a precise device could have been 65.375° F.)

3. The length of the longest bridge in the world. (The Danyang-Kunshan Grand Bridge in China is the world’s longest bridge. It is said to be 164,800 meters long. Given the fact that bridges expand and contract with temperature, the length of this bridge is not exactly 164,800 meters.)

4. Your weight. (You may have weighed yourself this morning, but your weight varies during the day. (Your scale may say you weighed 150 pounds, but your weight might actually be 150.375 pounds.)

V. Univariate, Bivariate, and Multivariate Data

Univariate data contain a single variable. The prefix of this word, uni, means one. Examples of univariate data include: The weight of the athletes on the New York Jets football team, the annual income of college graduates, the number of states where the recreational use of marijuana is legal, or the total annual revenue of PepsiCo.

Bivariate data contain two variables. The prefix, bi, means two. We use bivariate data to determine whether there is a relationship between the two variables. For example, your weight and the average number of calories you consume. We will deal with bivariate data in Chapter 18: Linear Correlation and Regression.

Multivariate data contain three or more variables. For example, your weight, your average daily calorie consumption, and your average daily number of minutes of aerobic exercise. The prefix, multi, means many. There are many different types of multivariate analysis. These techniques are typically not covered in an undergraduate introductory statistics class.

VI. The Four Levels of Measurement

Figure 3: Stanley Smith Stevens, “On the Theory of Scales of Measurement,” Science, June 7, 1946.

Stanley Smith Stevens' "On the Theiry of Scales of Measurement," Science, June 7, 1946.

In 1946, Stanley Smith Stevens, an American psychologist and founder of Harvard University’s Psycho-Acoustic Laboratory, published a very important article in the peer-reviewed journal Science. This article, “On the Theory of Scales of Measurement,” introduced the concept of the four levels of measurement.8 Knowing the level of measurement of your data is important because it determines what type of statistical analysis you can conduct.

According to Stevens, there are four measurement levels are Nominal, Ordinal, Interval, and Ratio. The mnemonic I use to remember the four levels of measurement is NOIR, the French word for black.

Figure 4: The Four Levels of Measurement

Levels of measurement recap

A. Nominal Level

Nominal is the lowest level of measurement. Such data are qualitative or categorical data and deal with naming things. Nominal data can be classified into categories, but these categories cannot be arranged in a meaningful order. While alphabetical order is very important for a dictionary or phone book, it is not considered important when classifying data by level of measurement. As with any qualitative data, you can add a quantitative dimension by counting frequencies or calculating relative frequencies. Here are some examples of nominal data:

1. Your mother’s first name.

2. The color of the socks you wore yesterday.

3. The color of your hair.

4. Your gender whether you use a binary classification or one or more of Facebook’s 51 gender identities.

5. The numbers on athletes’ uniforms.

6. Your religious affiliation.

7. Your birthplace.

8. Your political party, if any.

B. Ordinal Scale

Like nominal data, ordinal data are qualitative or categorical, but they have an additional dimension. As the name “ordinal” suggests, we have a meaningful order or ranks. The difference between the ranks, however, cannot be determined or they are meaningless. Here are some examples of ordinal measurements:

1. First place, second place, third place, and so forth in a beauty contest.

2. Tee shirt sizes: Extra small, small, medium, large, and extra-large.

3. The hotness of chili peppers: Hot, hotter, and hottest.

4. Letter grades: A (Excellent), B (Good), C (Satisfactory), D (Passing), and F (Failing).

5 Responses to a Likert question: Strongly Agree, Agree, Neutral, Disagree, Strongly Disagree.

With each example, we cannot measure the distance between the ranks. Regarding the beauty contest, for example, we do not know the number of votes that determined who came in first, second, or third.

C. Interval Scale

With the interval scale, data are quantitative. The interval scale has a big advantage over the ordinal scale because we can now measure the interval between the ranks. But the interval scale lacks a natural, or true, zero.

The classic example of interval scale data is temperature measured on a Fahrenheit or Celsius scale. Today, for example, the high temperature is 87° F. Yesterday the high was 84° F. The interval between the high temperatures for these two days is 3° F. Tomorrow the predicted high temperature is 90° F. Last November the high temperature was 45° F. Because there is no real zero on the Fahrenheit scale, we cannot say that tomorrow will be twice as warm as the November day when the high temperature was 45° F. All we can say is that the difference in temperature is 45° F.

Other examples of interval scale data include:

1. Calendar dates. (There is no day zero.)

2. Calendar years. (There is no year zero.)

3. Shoe size. (There is no size zero; a size 12, therefore, is not twice as big as a size 6.)

4. Longitude on the map. (00, the prime meridian that goes through Greenwich England, is arbitrary.)

5. Tee shirts with the following sizes: 36, 38, 40, 42, 44, and so forth

6. SAT scores: Total scores on the SAT exam range from a low of 400 to a high of 1,600. Because there is no zero in this scale, we cannot say that a student who achieved a score of 1,600 did twice as well as someone who scored 800.

D. Ratio Scale

The ratio scale is the most sophisticated of the four scales. It has everything the interval scale has plus a real, non-arbitrary zero. We can calculate ratios or proportions. Here are some examples:

The number of minutes you have spent so far reading this chapter

The amount of money in your pocket. (If today you have $20 and yesterday you had $10, the amount of money you have has doubled or is up 100 percent.)

The number of credits toward your degree you have completed to date. (If you completed 30 credits, you are halfway towards an Associate’s degree and one-quarter of the way towards a Bachelor’s degree.)

Initiation fees for President Trump’s Mar-a-Lago Club doubled when he became president. As reported by CNBC, membership fees jumped from $100,000 per year to $200,000.9

The balance in your bank account. It is possible to have a negative balance, but there is still an absolute zero in this scale.

E. Level of Measurement Summary

Knowing the level of measurement is important because it determines the type of statistical analyses that can be conducted.

Table 2: Levels of Measurement Summary

1. With nominal data, we can:

Calculate frequencies (Chapter 4)

Calculate the mode (Chapter 5)

Perform Chi-square Tests (Chapter 17)

2. With ordinal data, we can:

Calculate frequencies (Chapter 4)

Calculate the mode (Chapter 5)

Perform Chi-square Tests (Chapter 17)

Calculate percentiles (Chapter 5)

Calculate the range (Chapter 5)

Calculate the Interquartile Range (Chapter 5)

3. With interval data, we can:

Calculate frequencies (Chapter 4)

Calculate the mode (Chapter 5)

Calculate the median (Chapter 5)

Calculate percentiles (Chapter 5)

Calculate the range (Chapter 5)

Calculate the Interquartile Range (Chapter 5)

Calculate the mean (Chapter 5)

Calculate variance (Chapter 5)

Calculate standard deviation (Chapter 5)

Calculate the coefficient of variance (Chapter 5)

Conduct parametric null hypothesis tests (Chapters 13-16)

Conduct correlation and regression analyses (Chapter 18)

4. With ratio data, we can:

Calculate frequencies (Chapter 4)

Calculate the mode (Chapter 5)

Calculate the median (Chapter 5)

Calculate percentiles (Chapter 5)

Calculate the range (Chapter 5)

Calculate the Interquartile Range (Chapter 5)

Calculate the mean (Chapter 5)

Calculate variance (Chapter 5)

Calculate standard deviation (Chapter 5)

Calculate the coefficient of variance (Chapter 5)

Conduct parametric null hypothesis tests (Chapters 13-16)

VII. Exercises

Answers to these questions can be found by carefully reading this Chapter.

1. Define Data

2. What is the difference between a parameter and a statistic?

3. What is the difference between facts and values?

4. What alphabets are used to symbolize data from populations and data from samples?

5. What are the key features of Qualitative data?

6. What are the key features of Quantitative data?

7. What is the difference between continuous and discrete data?

8. Distinguish among univariate, bivariate, and multivariate data

9. What are the characteristics of Nominal data?

10. What are the characteristics of Ordinal data?

11. What are the characteristics of Interval data?

12. What are the characteristics of Ratio data?

13. Your sister receives a 650 on her math SAT exam. What level of measurement is this?

14. Jose ranks second in his graduating class. What level of measurement is this?

15. While ill with COVID-19, Maria lost 10 lbs. What level of measurement is her

16. Sam was born in Philadelphia. What level of measurement is birthplace?

Except where otherwise noted, Clear-Sighted Statistics is licensed under a
Creative Commons License. You are free to share derivatives of this work for
non-commercial purposes only. Please attribute this work to Edward Volchok.

Endnotes

1

Thomas H. Davenport and Jeanne G. Harris. Competing on Analytics: The New Science of Winning. (Boston, MA: Harvard Business School Press, 2007), p. 30.

2 The Constitution of the United States of America. (New York: ACLU, 2019), pp. 2-3.

3 Max Weber, From Max Weber: Essays in Sociology, Hans Gerth and C. Wright Mills, editors. (New York: Oxford University Press, 1958), p. 357.

4 Edith Hamilton and Huntington Cairns (eds.). The Collected Dialogues of Plato Including the Letters. The Symposium translated by Michael Joyce. (Princeton, NJ: Princeton University Press, 1971), pp. 526-574.

5 https://www.thedailybeast.com/what-each-of-facebooks-51-new-gender-options-means

6 Dan Levin. “The Fluidity of Gender, Language and the ‘Human Experience.’” The New York Times, June 30, 2019, p. 22.

7 Dan Levin. “The Human Experience is Infinite.” The New York Times, June 28, 2019, https://www.nytimes.com/interactive/2019/06/28/us/pride-identity.html?rref=collection%2Fbyline%2Fdan-levin&action=click&contentCollection=undefined&region=stream&module=stream_unit&version=latest&contentPlacement=1&pgtype=collection..

8 Stanley Smith Stevens. “On the Theory of Scales of Measurement.” Science, New Series, Vol. 103, No. 2684. June 7, 1946) pp. 677-680. http://psychology.okstate.edu/faculty/jgrice/psyc3214/Stevens_FourScales_1946.pdf. .

9 Robert Frank, “Mar-a-Lago Membership Fee Doubles to $200,000,” CNBC, January 25, 2017. https://www.cnbc.com/2017/01/25/mar-a-lago-membership-fee-doubles-to-200000.html. .

Annotate

Creative Commons
Powered by Manifold Scholarship. Learn more at
Opens in new tab or windowmanifoldapp.org