Docsity

Lecture Notes on Data - Qualitative and Quantitative | STAT 4473, Study notes of Statistics

Toggle sidebar
bg1
DATA:
QUALITATIVE (CATEGORICAL) and QUANTITATIVE (NUMERICAL)
Data is obtained by measuring or observing characteristics of individuals of
interest. We call these characteristics
variables
.
A variable is a characteristic that varies from one person or thing to
another. (Example: a person’s age, height, number of children, number of
cars, eye color, favorite type of music, etc.)
Typically, a variable can describe either a quantitative or a qualitative
characteristic of an individual.
A quantitative (numerical) variable is a variable that takes on numerical
values. (A quantitative variable has natural units of measurement. The units
of measurement tell us how much of something we have or how far apart two
values are.)
Examples: age, height, weight, number of children, number of cars,
exam score, distance one travels to get to school, number of coins in a
person’s pocket, etc.
A qualitative (categorical) variable is a variable whose values are descriptive,
not numerical.
Examples: gender, race, eye color, favorite type of music, political
party, birth month, handedness (left, right, ambidextrous), school
district, etc.
Comment #1:
Sometimes, numerical labels are used for qualitative (categorical) data.
Example: When we categorize individuals by eye color, we may denote
blue eyes by 1, brown eyes by 2, green eyes by 3, and hazel eyes by 4.
(This kind of data is sometimes called “coded data.”) The use of
numerical labels for categorical data does not make the data
quantitative.
pf3
pf4
pf5

Partial preview of the text

Download Lecture Notes on Data - Qualitative and Quantitative | STAT 4473 and more Study notes Statistics in PDF only on Docsity!

DATA:

QUALITATIVE (CATEGORICAL) and QUANTITATIVE (NUMERICAL)

Data is obtained by measuring or observing characteristics of individuals of

interest. We call these characteristicsvariables.

A variable is a characteristic that varies from one person or thing to another. (Example: a person’s age, height, number of children, number of cars, eye color, favorite type of music, etc.)

Typically, a variable can describe either a quantitative or a qualitative characteristic of an individual.

A quantitative (numerical) variable is a variable that takes on numerical values. (A quantitative variable has natural units of measurement. The units of measurement tell us how much of something we have or how far apart two values are.)

Examples: age, height, weight, number of children, number of cars, exam score, distance one travels to get to school, number of coins in a person’s pocket, etc.

A qualitative (categorical) variable is a variable whose values are descriptive, not numerical.

Examples: gender, race, eye color, favorite type of music, political party, birth month, handedness (left, right, ambidextrous), school district, etc.

Comment #1:

Sometimes, numerical labels are used for qualitative (categorical) data.

Example: When we categorize individuals by eye color, we may denote blue eyes by 1, brown eyes by 2, green eyes by 3, and hazel eyes by 4. (This kind of data is sometimes called “coded data.”) The use of numerical labels for categorical data does not make the data quantitative.

When numerical labels are used for qualitative (categorical) data, it will often make no sense to do arithmetic to the data (for example, taking an average).

Take a sample of 20 adults and suppose 4 of them have blue eyes, 7 have brown eyes, 2 have green eyes, and 7 have hazel eyes. The coded data would look like this:

1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 4, 4, 4

We can average these numbers and get 52/20 = 2.6, but this result has no meaningful interpretation.

Remember, data has context. If you are asked to analyze some data, make sure you are given the context – ask “What do the numbers in the data set represent?” When we realize the context of the numbers above is eye color, then we understand that taking an average of those numbers isn’t meaningful. (Another example: area codes.)

Comment #2:

Some variables can be considered quantitative (numerical) or

qualitative (categorical), depending onwhy you are looking at it.

Example: Amazon.com is constantly monitoring and evolving their web site to best serve their customers and maximize their sales performance. To make changes to the site, they experiment, collecting data and analyzing what works best. Suppose Amazon asks for your

age in years. That seems quantitative, and would be if they want to

know the average age of those customers who visit their site after 3am. But suppose they want to decide which CD to offer you in a special deal. Then thinking of your age in one of the categories child, teen, adult, or senior might be more useful.

If it isn’t clear whether a variable is categorical or quantitative, think

aboutwhy you are looking at it and what you want it to tell you.

So, data is information obtained by observing the values of a variable. This is the information that is gathered in a statistical study. Each piece of data

is anobservation and the set of all observations is thedata set.

  1. For each description of data, name the variables and specify for each variable whether its use indicates that it should be treated as categorical or quantitative.

(a) Weigh bears. Because of the difficulty of weighing a bear in the woods, researchers caught and measured 54 bears, recording their weight, neck size, length, and sex. They hoped to find a way to estimate weight from the other more easily determined quantities.

(b) Arby’s menu. A listing posted by the Arby’s restaurant chain gives, for each of the sandwiches it sells, the type of meat in the sandwich, the number of calories, and the serving size in ounces. The data might be used to assess the nutritional value of the different sandwiches.

(c) Babies. Medical researchers at a large city hospital investigating the impact of prenatal care on newborn health collected data from 882 births during 1998-2000. They kept track of the mother’s age, the number of weeks the pregnancy lasted, the type of birth (cesarean, induced, natural), the level of prenatal care the mother had (none, minimal, adequate), the birth weight and sex of the baby, and whether the baby exhibited health problems (none, minor, major).

QUANTITATIVE DATA: DISCRETE AND CONTINUOUS

Data consisting of quantitative (numerical) variables can be further divided

into two groups: discrete andcontinuous.

If the set of all possible values the variable might take on, when pictured on the number line, consists only of isolated points, then the numerical data is discrete. There are gaps between consecutive possible values because discrete variables assume only isolated values.

If the set of all values the variable might take on, when pictured on the number line, consists of an interval of numbers (or several intervals of numbers), possibly unbounded, then the numerical data is continuous.

Note that discrete quantitative data involvescounting. Continuous

quantitative data involvesmeasurement.

(e) The number of touchdowns scored by the Jonesboro high school football team last season

Discrete (arise from counting) or Continuous (arise from measurement)

(f) The heights of British basketball players aged 20 or over.

Discrete (arise from counting) or Continuous (arise from measurement)

(g) The time it takes to run 100 meters.

Discrete (arise from counting) or Continuous (arise from measurement)

(h) The number of matches in a box marked “average contents 50.”

Discrete (arise from counting) or Continuous (arise from measurement)

(i) Correct answers out of 10 questions on a mental arithmetic test

Discrete (arise from counting) or Continuous (arise from measurement)