Exploring-Data-Descriptive-Data
Exploring-Data-Descriptive-Data
Categorical Variable
• A variable is categorical if each observation
Exploring Data belongs to one of a set of categories.
• Examples:
Descriptive Data 1. Gender (Male or Female)
2. Religion (Catholic, Jewish, …)
3. Type of residence (Apartment, House, …)
4. Belief in life after death (Yes or No)
1 4
• Types of Variables
• Describing data using graphical summaries • A variable is called quantitative if observations
• Describing the Center of Quantitative Data take numerical values for different magnitudes
of the variable.
• Describing the Spread of Quantitative Data
• How Measures of Position Describe Spread
• Examples:
1. Age
2. Number of brothers/sisters
3. Annual Income
2 5
1
Math 1530 - Chapter 2
4 types of scale
• Nominal
• Ordinal
• Interval
• Ratio
7 10
Ordinal Scale
Continuous Quantitative Variable
• A subset of the nominal scale
• A quantitative variable – Where the scale follows an order
is continuous if it has • Ordinal scale creates an ordered (ranked)
an infinite number of relationship
possible values • Typical ordinal scales
• Measurements – (i) result of examination: first, second, third and fail;
– (ii) quality of products: ‘excellent’, ‘good’, ‘fair’ or ‘poor’
• Examples:
– (iii) social class: upper, middle, lower class
1. Height/Weight
2. Age
3. Blood pressure
www.wtvq.com
9 12
2
Math 1530 - Chapter 2
Be careful to distinguish
Ratio Scale
Proportions & Percentages (Rel. Freq.)
• Ratio scales are absolute rather than relative
• If interval scale can only have an absolute zero
– then it is really a ratio scale.
• Absolute zero
– a point on scale where the attribute is zero
• Examples
– age, money and weight are ratio scales
– because they possess an absolute zero and interval
properties
– A person can’t have a negative weight or negative age Proportions and percentages are also
14 called relative frequencies. 17
15 18
3
Math 1530 - Chapter 2
19 22
21 24
4
Math 1530 - Chapter 2
25 28
26 29
Outlier Mean
• The mean is the sum
An outlier falls far from the rest of the data of the observations
divided by the
number of
observations
• It is the center of
mass
27 30
5
Math 1530 - Chapter 2
32 35
Mode Range
Range = max – min
Two teams with same average (mean) height = 2.0m
The range is strongly affected by outliers.
2.2m
1.5m
1.8m
2.1m
2.5m
2.1m
6
Math 1530 - Chapter 2
37 40
Standard Deviation
7
Math 1530 - Chapter 2
43 25 50 75 46
44 47
45 48
8
Math 1530 - Chapter 2
1,3
1,3 m
m 1,6 m 1,9 m
49