Lecture 04-05 Frequency Distribution Part 2
Lecture 04-05 Frequency Distribution Part 2
Part-2
Dr. Nadeem Shaukat
Associate Professor, CMS, PIEAS
For Continuous Data
The three most commonly used graphs in research
are as follows:
1. The histogram
2. The frequency polygon
3. The cumulative frequency graph, or Ogive
Date: 06-02-23.
Introduction
Date: 06-02-23.
Histogram
Date: 06-02-23.
Example 2-4:
Construct a histogram to represent the data for the
record high temperatures for each of the 50 states
Date: 06-02-23.
Histograms use class boundaries and frequencies
of the classes.
Date: 06-02-23.
Frequency polygons
Date: 06-02-23.
Example 2-5:
Construct a frequency polygon to represent the
data for the record high temperatures for each of
the 50 states.
Class
Class Limits Frequency
Midpoints
100 - 104 102 2
105 - 109 107 8
110 - 114 112 18
115 - 119 117 13
120 - 124 122 7
125 - 129 127 1
130 - 134 132 1
Date: 06-02-23.
Frequency polygons use class midpoints and frequencies
of the classes.
A frequency polygon
is anchored on the
x-axis before the first
class and after the
last class.
Date: 06-02-23.
Example 2-7:
Construct a histogram, frequency polygon, and ogive using
relative frequencies for the distribution (shown here) of the
miles that 20 randomly selected runners ran during a given
week.
Class
Frequency
Boundaries
5.5 - 10.5 1
10.5 - 15.5 2
15.5 - 20.5 3
20.5 - 25.5 5
25.5 - 30.5 4
30.5 - 35.5 3
35.5 - 40.5 2
Date: 06-02-23.
Histograms
The following is a frequency distribution of miles
run per week by 20 selected runners.
Date: 06-02-23.
Use the class boundaries and the relative
frequencies of the classes.
Date: 06-02-23.
Frequency Polygons
The following is a frequency distribution of miles
run per week by 20 selected runners.
Date: 06-02-23.
Use the class midpoints and the relative
frequencies of the classes.
Date: 06-02-23.
Ogive Definition
Date: 06-02-23.
Ogive Graph
Date: 06-02-23.
Less than Ogive
Date: 06-02-23.
Greater than Ogive
Date: 06-02-23.
How to Draw Less Than Ogive Curve?
Date: 06-02-23.
How to Draw Greater Than Ogive Curve?
Date: 06-02-23.
Uses of Ogive Curve
Date: 06-02-23.
Less Than Ogives Example
The following is a frequency distribution of miles run
per week by 20 selected runners. 𝐶𝑢𝑚.𝑟𝑒𝑙. 𝑓𝑟𝑒𝑞𝑢𝑒𝑛𝑐𝑦= 𝑐𝑢𝑚𝑢𝑙𝑎𝑡𝑖𝑣𝑒 𝑓𝑟𝑒𝑞𝑢𝑒𝑛𝑐𝑦
∑𝑓
Class Cumulative Cum. Rel.
Frequency
Boundaries Frequency Frequency
5.5 - 10.5 1 0 0 0
10.5 - 15.5 2 1 1/20 = 0.05
15.5 - 20.5 3 3 3/20 = 0.15
20.5 - 25.5 5 6 6/20 = 0.30
25.5 - 30.5 4 11
11/20 = 0.55
30.5 - 35.5 3 15
35.5 - 40.5 2 18 15/20 = 0.75
20 18/20 = 0.90
f = 20 20/20 = 1.00
Date: 06-02-23.
Less Than Ogives use upper class boundaries and
cumulative frequencies of the classes.
Cum. Rel.
Class Boundaries
Frequency
Less than 5.5 0
Less than 10.5 0.05
Less than 15.5 0.15
Less than 20.5 0.30
Less than 25.5 0.55
Less than 30.5 0.75
Less than 35.5 0.90
Less than 40.5 1.00
Date: 06-02-23.
Use the upper class boundaries and the
cumulative relative frequencies.
Date: 06-02-23.
Greater Than Ogive Example
Construct more than ogive (a cumulative frequency graph.) for
the following table.
Date: 06-02-23.
Greater Than Ogive Example
f = 30
Date: 06-02-23.
Greater Than Ogives use lower class boundaries
and cumulative frequencies of the classes.
Cum.
Class Boundaries
Frequency
Greater than 10 30
Greater than 15 28
Greater than 20 26
Greater than 25 22
Greater than 30 19
Greater than 35 13
Greater than 40 7
Greater than 45 3
Date: 06-02-23.
Greater Than Ogive Example
Date: 06-02-23.
Shapes of Distributions
Flat
J shaped:few data values on left side and increases as one moves to right
Reverse J shaped: opposite of the j-shaped distribution
Date: 06-02-23.
Positively skewed Negatively skewed
Date: 06-02-23.