STAT-132 Lecture 3 2021(Updated).PDF
STAT-132 Lecture 3 2021(Updated).PDF
Frequency Distributions
and Graphs
Lecture 3
Raw data
Note:
Raw Data: data collected in original form
STAT 132 Basic Sciences Department, Science Track 5
2.1 Organizing Data
Categorical Frequency Distribution:
A B O AB B
B O AB B A
O B A O AB
O A O B O
AB B A O O
Total n =∑ f = 25 ∑ = 100%
𝐟
𝐏𝐞𝐫𝐜𝐞𝐧𝐭 = ∗ 𝟏𝟎𝟎%
𝐧
𝟓 𝟕 𝟗 𝟒
𝐏 𝐀 = ∗ 𝟏𝟎𝟎% = 𝟐𝟎% 𝐏 𝐁 = ∗ 𝟏𝟎𝟎% = 𝟐𝟖% 𝐏 𝐀𝐁 = ∗ 𝟏𝟎𝟎% = 𝟑𝟔% 𝐏 𝐎 = ∗ 𝟏𝟎𝟎% = 𝟏𝟔%
𝟐𝟓 𝟐𝟓 𝟐𝟓 𝟐𝟓
Grouped Frequency
Distribution
class
class width class midpoint class limits
boundaries
▪ Class Limits : Separate one class in a grouped frequency distribution from another
❖The smallest value that can be included in a class is called Lower Limit of the class
❖ The largest value that can be included in a class is called Upper Limit of the class.
▪ Class Boundaries: It is the midpoint between the upper class limit of a class and the
lower class limit of the next class. Each class has both upper and lower limit boundary
Lower Class Boundary = Lower Class Limit – 0.5
Upper Class Boundary = UpperClass Limit + 0.5
Class width = lower limit of a class - the lower limit of the next higher class
= Upper boundary – Lower boundary
▪ Class Midpoint: The average of the two class limits of a class or the average of the
two class boundaries:
𝐋𝐨𝐰𝐞𝐫 𝐋𝐢𝐦𝐢𝐭 + 𝐔𝐩𝐩𝐞𝐫 𝐋𝐢𝐦𝐢𝐭
Class midpoint (𝑿𝒎 ) =
𝟐
❖Find the class width by dividing the range by the number of classes.
𝐑𝐚𝐧𝐠𝐞 𝟐𝟗
Width = = = 5.8 ≈ 6
𝐧𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 𝐜𝐥𝐚𝐬𝐬𝐞𝐬 𝟓
ROUNDING RULE:
▪ Always round up if a remainder. If there is no remainder, you
will need to add an extra class to accommodate all the data.
Lower class limit of the first class = the lowest value in the data set = 150
▪ The subsequent lower class limits are found by adding the width( width=6) to
the previous lower class limits.
n =∑ f = 50 ∑ rf = 1
R𝐞𝐥𝐚𝐭𝐢𝐯𝐞 𝐅𝐫𝐞𝐪𝐮𝐞𝐧𝐜𝐲 = 𝐟/𝐧
𝟔 𝟑 𝟕 𝟏𝟒 𝟐𝟎
= 𝟎. 𝟏𝟐 = 𝟎. 𝟎𝟔 = 𝟎. 𝟏𝟒 = 𝟎. 𝟐𝟖 = 𝟎. 𝟒𝟎
𝟓𝟎 𝟓𝟎 𝟓𝟎 𝟓𝟎 𝟓𝟎
n =∑ f = 50 ∑ rf = 1 Number of
observations
3-7 C 5 3 0.075 3
8 - 12 7.5 - 12.5 F 5 0.125 8
A D 15 2 I K
B E 20 8 J 18
23 - 27 22.5 - 27.5 G H 0.35 L
28 - 32 27.5 – 32.5 30 8 0.20 40
Total 40 1
Solution
Class width is Classes are overlapped and A class has been Class width is
not uniform the width is not uniform omitted not uniform
Ungrouped Frequency
Distribution
0 0 0 1 1
2 2 2 2 2
3 3 3 3 4
1 1 2 4 4
4 2 3 5 5 4
3 1 5 4 4 3
3 2 3 1 3 2
5 2 1 5 0 2
4 2 3 5 5 4
3 1 5 4 4 3
3 2 3 1 3 2
5 2 1 5 0 2