Lecture 3 - 1
Lecture 3 - 1
Example 3.4:
Using the results from (Example 3.3) find the cumulative frequencies.
24-30 23.5-30.5 3
31-37 30.5-37.5 1
38-44 37.5-44.5 5
45-51 44.5-51.5 9
52-58 51.5-58.5 6
59-65 58.5-65.5 1
25
Solution: The cumulative frequency for the first class is 0 + 3 = 3; for the second
class it is 0 + 3 + 1 =4; for the third class it is 0 + 3 + 1 + 5 = 9, etc.
Class limit Class boundaries Frequency Cumulative
frequencies
Less than 23.5 0
24-30 23.5-30.5 3 Less than 30.5 3
Dr.Shelan S.Ismaeel
2024- Statistics
31-37 30.5-37.5 1 Less than 37.5 4
38-44 37.5-44.5 5 Less than 44.5 9
45-51 44.5-51.5 9 Less than 51.5 18
52-58 51.5-58.5 6 Less than 58.5 24
59-65 58.5-65.5 1 Less than 65.5 25
25
𝑅 =𝐻−𝐿
2. Number of classes: There are many formula to determine the number of
classes (𝑚) one of them (Sturges formula)
𝑚 = 1 + 3.322 𝑙𝑜𝑔(𝑛)
n: number of observations
3. width by dividing the range by the number of classes.
𝑅
𝑊𝑖𝑑𝑡h =
𝑚
Step 3 Find the numerical frequencies from the tallies, and find the cumulative
frequencies.
Example 3.5 : Record High Temperatures
Dr.Shelan S.Ismaeel
2024- Statistics
These data represent the record high temperatures in degrees Fahrenheit (F) for each
of the 50 states. Construct a grouped frequency distribution for the data using 7 classes.
Solution: Step 1: Determine the classes. Find the highest value and lowest value: 𝐻 =
134 and 𝐿 = 100. Find the range:
𝑅=𝐻 − 𝐿
𝑅 = 134 − 100 = 34
𝑅 34
𝑊𝑖𝑑𝑡h = = =5
𝑚 7
The cumulative frequency for the first class is 0 + 2 = 2; for the second class it is 0 +
2 + 8 = 10 ; for the third class it is 0 + 2 + 8 + 10 = 28 , etc.
Step 2 Tally the data.
Step 3 Find the numerical frequencies from the tallies. The completed frequency
distribution is
Class Class Tally Frequency Cumulative
limits boundaries frequencies
100 - 104 99.5- 104.5 // 2 2
Dr.Shelan S.Ismaeel
2024- Statistics
105 - 109 104.5- 109.5 //// /// 8 10
110 - 114 109.5- 114.5 //// //// //// /// 18 28
115 - 119 114.5-119.5 //// //// /// 13 41
120 - 124 119.5- 124.5 //// // 7 48
125 - 129 124.5- 129.5 / 1 49
130 - 134 129.5- 134.5 / 1 50
𝑛 = ∑ 𝑓 = 50
After you have organized the data into a frequency distribution, you can present them
in graphical form.
A. The Histogram
The histogram is a graph that displays the data by using contiguous vertical bars (unless
the frequency of a class is 0) of various heights to represent the frequencies of the
classes.
Histogram: Represent the frequency on the y axis and the class boundaries on the x
axis.
Construct a histogram to represent the data shown for the record high temperatures for
each of the 50 states (see Example 3.5).
Class boundaries Frequency
Dr.Shelan S.Ismaeel
2024- Statistics
99.5- 104.5 2
104.5- 109.5 8
109.5- 114.5 18
114.5-119.5 13
119.5- 124.5 7
124.5- 129.5 1
129.5- 134.5 1
Solution:
As the histogram shows, the class with the greatest number of data values (18) is 109.5–
114.5.
The frequency polygon is a graph that displays the data by using lines that connect
points plotted for the frequencies at the midpoints of the classes. The frequencies are
represented by the heights of the points.
Frequency polygon: Using the midpoints for the x values and the frequencies as the y
values, plot the points
Dr.Shelan S.Ismaeel
2024- Statistics
Example 3.7: Record High Temperatures
Using the frequency distribution given in Example 3.5, construct a frequency polygon.
100+104 105+109
Solution: = 102 , = 107
2 2
Solution:
Dr.Shelan S.Ismaeel
2024- Statistics
Example 3.8:
Dr.Shelan S.Ismaeel
2024- Statistics
b. How many values fall between 24.5 and 36.5?
a) Bar Graphs
A bar graph represents the data by using vertical or horizontal bars whose heights or
lengths represent the frequencies of the data.
Clothing 141
Shoes 72
Dr.Shelan S.Ismaeel
2024- Statistics
Dr.Shelan S.Ismaeel
2024- Statistics
c) Pie Graph
A pie graph is a circle that is divided into sections or wedges according to the
percentage of frequencies in each category of the distribution.
Solution:
Step1: Since there are 360° in a circle.
𝐟
𝐃𝐞𝐠𝐫𝐞𝐞 = . 𝟑𝟔𝟎°
𝐧
11.2
Potato chips = . 360° = 134°
30
Dr.Shelan S.Ismaeel
2024- Statistics
8.2
Tortilla chips = . 360° = 98°
30
4.3
Pretzels = . 360° = 52°
30
3.8
Popcorn = . 360° = 46°
30
2.5
Snack nuts = . 360° = 30°
30
Total = 360°
Step2: Since there are 360° in a circle.
𝐟
% = . 𝟏𝟎𝟎%
𝐧
11.2
Potato chips = . 100% =37.3%
30
8.2
Tortilla chips = . 100%=27.3%
30
4.3
Pretzels = . 100%=14.3%
30
3.8
Popcorn = . 100%=12.7%
30
2.5
Snack nuts = . 100%=8.3%
30
Total = 99.9%
Step 3: using a protractor and a compass, draw the graph using the appropriate
degree measures found in step 1, and label each section with the name and
percentages.
Example:
Construct a pie graph showing the blood types of the army inductees.
Dr.Shelan S.Ismaeel
2024- Statistics
Solution:
f
Degree = . 360°
n
5
A= . 360° = 72°
25
7
B= . 360° = 100.8°
25
9
O= . 360° = 129.6°
25
4
AB = . 360° = 57.6°
25
Dr.Shelan S.Ismaeel