PPT2 Types and Classification of Variables
PPT2 Types and Classification of Variables
Variables
Objectives:
1 2 3
To differentiate To identify discrete To classify data
quantitative from and continuous according the
qualitative data scales/levels of
variables measurement
Types of Data
Attribute Numerical
(qualitative) (quantitative)
The numbers 24, 28, 17 and 54 sewn Test scores of the students in
on the shirts of a basketball team an examination
QUALITATIVE DATA
QUANTITATIVE DATA
Qualitative data
Examples
• Gender (Male, Female, LGBTQ)
• Job status (regular, probationary, contractual)
• Education (elementary, high school, vocational, college)
Qualitative data
Examples
• Gender (Male - 1, Female - 2, LGBTQ - 3)
• Job status (regular -3, probationary - 2, contractual - 1)
• Education (elementary - 1, high school - 2, vocational - 3, college - 4)
Quantitative data
Examples:
• Number of family members
• Amount of tuition fee paid in a semester
• Weight of baby
• Score in an exam • Can be broken down into two types
– discrete or continuous data.
Discrete and continuous
• DISCRETE DATA – result when the number of possible values
is either a finite number or a ‘countable’ number.
• CONTINUOUS DATA – result from infinitely many possible
values that correspond to some continuous scale that covers a
range of values without gaps, interruptions, or jumps.
The amounts of milk from cows The number of eggs that hens lay
- CONTINUOUS DATA - DISCRETE DATA
They are measurements that can
assume any value over a They represent counts.
continuous span.
Levels /Scales of Measurement
NOMINAL level
• consist of names, labels or categories only
• cannot be arranged in an ordering scheme (such as low to
high).
• is a qualitative data
• cannot be used for calculations
Gender (Male,
• coded with a number
Female, LGBTQ)
Examples
Yes/No/Undecided: Survey
responses of yes, no and undecided Nationality
ORDINAL level
can be arranged in some order, but there is no distinct interval
between the ranks
differences (obtained by subtraction) between data values either
cannot be determined or are meaningless
Examples:
Ranking (first, second, third etc.)
Temperature: Body temperatures of
It doesn’t have a natural starting point.
The value of might seem like a starting point, but
it is arbitrary and does not represent the total
absence of heat.
RATIO level
• Data that is ranked, with distinct
interval between the ranks
• Data has meaningful zero
Examples:
Distances – Distance (in km) traveled by cars
Height
Weight Prices – Prices of college
textbooks.