3. vA frequency distribution is the
organization of raw data in table
form, using classes and
frequencies.
vThe division of counts
(frequencies) of number of
scores that fall into each class
(category) is called frequency
distribution.
3
FREQUENCY DISTRIBUTION
4. vFrequency distribution is a most
convenient way of organizing
raw data.
vThe reasons for constructing a
frequency distribution are as
follows:
§ To organize the data in a
meaningful, intelligible way.
§ To enable the reader to make
comparisons among different data
sets.
4
FREQUENCY DISTRIBUTION
5. vThe original form of data is
called raw data.
vLittle meaningful information
can be obtained from raw data
5
FREQUENCY DISTRIBUTION
RAW DATA
6. vEach raw data value is placed
into a quantitative or qualitative
category called a class.
6
FREQUENCY DISTRIBUTION
CLASS
7. vThe frequency of a class is the
number of data values contained
in a specific class.
vFrequency is the number of
times that a repeated
observation occurs.
7
FREQUENCY DISTRIBUTION
FREQUENCY
8. v‘Message Portal’ is a software
project that comprises of 30
different modules. On first
deployment to client, several
bugs were identified in each
module of project in Staging
environment. No. of bugs of
each module varies with respect
to each other.
8
FREQUENCY DISTRIBUTION
CASE STUDY # 1 (OPEN BUGS)
9. vNumber of bugs in each module
is enlisted below:
v23, 55, 13, 67, 43, 32, 15, 9,
27, 26, 34, 39, 42, 55, 61, 31,
68, 56, 35, 48, 57, 26, 64, 8,
11, 38, 23, 71, 13, 68.
9
FREQUENCY DISTRIBUTION
CASE STUDY # 1 (OPEN BUGS)
10. vRaw Data
§ In previous Slide, the data in its
original form is raw data.
§ No useful information about bugs
can be obtained from this form of
data.
10
FREQUENCY DISTRIBUTION
CASE STUDY # 1 (OPEN BUGS)
11. 11
FREQUENCY DISTRIBUTION
CASE STUDY # 1 (OPEN BUGS)
Class Limits Tally Frequency
8-17 |||| | 6
18-27 |||| 5
28-37 |||| 4
38-47 |||| 4
48-57 |||| 5
58-67 ||| 3
68-77 ||| 3
Total: 30
12. vClasses
§ The classes in this distribution are 8–17,
18–27, etc.
§ The data values 8, 9, 10, 11, 12, 13, 14,
15, 16, 17 can be tallied in the first class;
18, 19, 20, 21, 22, 23, 24, 25, 26, 27 in
the second class; and so on.
12
FREQUENCY DISTRIBUTION
CASE STUDY # 1 (OPEN BUGS)
13. vInterpretations
§ Frequency distribution table shows that 8-
17 number of bugs were reported in each
of 6 modules of ‘Message Portal’.
However, having small number of open
bugs, these 6 modules are more stable in
this project.
§ 3 modules are very critical with respect to
quality, because these modules have 68-
77 number of open bugs.
13
FREQUENCY DISTRIBUTION
CASE STUDY # 1 (OPEN BUGS)
14. vThe cumulative frequency for a
class is the sum of the
frequencies of that class and all
the previous classes.
14
FREQUENCY DISTRIBUTION
CUMULATIVE FREQUENCY
15. 15
FREQUENCY DISTRIBUTION
CASE STUDY # 1 (OPEN BUGS)
Class Limits Frequency
Cumulative
Frequency
8-17 6 6
18-27 5 11
28-37 4 15
38-47 4 19
48-57 5 24
58-67 3 27
68-77 3 30
16. vThe relative frequency for any class is
obtained by dividing the frequency for
that class by the total number of
observations.
vFormula:
Relative Frequency= Frequency of class / Total no. of observation
16
FREQUENCY DISTRIBUTION
RELATIVE FREQUENCY
17. 17
FREQUENCY DISTRIBUTION
CASE STUDY # 1 (OPEN BUGS)
Class
Limits
Frequency
Relative
Frequency
Cumulative
Frequency
8-17 6 6/30 = 0.2 6
18-27 5 0.167 11
28-37 4 0.133 15
38-47 4 0.133 19
48-57 5 0.167 24
58-67 3 0.1 27
68-77 3 0.1 30
18. vThe cumulative relative
frequency for a class is the sum
of the relative frequencies of
that class and all the previous
classes.
18
FREQUENCY DISTRIBUTION
CUMULATIVE RELATIVE FREQUENCY
19. 19
FREQUENCY DISTRIBUTION
CASE STUDY # 1 (OPEN BUGS)
Class
Limits
Frequency
Relative
Frequency
Cumulative
relative
Frequency
8-17 6 6/30 = 0.2 0.2
18-27 5 0.167 0.367
28-37 4 0.133 0.5
38-47 4 0.133 0.633
48-57 5 0.167 0.8
58-67 3 0.1 0.9
68-77 3 0.1 1
20. vThe values or numbers
specifying a class are called
class limits.
vThe smallest value specifying a
class is called lower class limit
while the largest value
specifying a class is called upper
class limit.
20
FREQUENCY DISTRIBUTION
CLASS LIMITS
21. v8-17, 18-27 etc. values are
called class limits.
v8 is lower class limit and 17 is
upper class limit of class 8-17
21
FREQUENCY DISTRIBUTION
CLASS LIMITS
22. vClass boundaries are the numbers used
to separate classes, but without the
gaps created by class limits.
vThey are obtained by increasing the
upper class limits and decreasing the
lower class limits by the same amount
so that there are no gaps between
consecutive classes.
vThese boundaries are also called
precise limits or true limits.
22
FREQUENCY DISTRIBUTION
CLASS BOUNDARIES
23. vClass limits should have the same
decimal place value as the data, but
the class boundaries should have one
additional place value and end in a 5.
vFormulas:
§ Lower Boundary = Lower Limit - 0.5
§ Upper Boundary = Upper Boundary + 0.5
23
FREQUENCY DISTRIBUTION
CLASS BOUNDARIES
24. 24
FREQUENCY DISTRIBUTION
CASE STUDY # 1 (OPEN BUGS)
Class Limits Class Boundaries Frequency
8-17 7.5-17.5 6
18-27 17.5-27.5 5
28-37 27.5-37.5 4
38-47 37.5-47.5 4
48-57 47.5-57.5 5
58-67 57.5-67.5 3
68-77 67.5-77.5 3
25. vA frequency distribution with an open-
ended class is called an open-ended
distribution.
vOpen-ended distribution is used to
include outliers into class limits.
25
FREQUENCY DISTRIBUTION
OPEN-ENDED DISTRIBUTION
27. vClass marks or midpoints of the
classes are obtained by adding
lower class limits to the
corresponding upper class limits
and dividing by 2.
vFormula:
Xm = (Lower Limit +Upper Limit) / 2
27
FREQUENCY DISTRIBUTION
CLASS MARK (MIDPOINTS)
28. vClass marks can also be obtained by
adding lower class boundary to the
corresponding upper class boundary
and dividing by 2.
vFormula:
Xm = Lower boundary +Upper boundary / 2
28
FREQUENCY DISTRIBUTION
CLASS MARK (MIDPOINTS)
29. 29
FREQUENCY DISTRIBUTION
CASE STUDY # 1 (OPEN BUGS)
Class Limits Class Mark Frequency
8-17 8+17/2 = 12.5 6
18-27 22.5 5
28-37 32.5 4
38-47 42.5 4
48-57 52.5 5
58-67 62.5 3
68-77 72.5 3
30. vClass Interval or class width is the
difference between two
consecutive lower class limits or
two consecutive lower class
boundaries.
§ Class Width = 18-8 = 10
30
FREQUENCY DISTRIBUTION
CLASS INTERVAL (WIDTH)
31. vFind the highest value and lowest
value from raw data:
§ L : 8 and H: 71
vFind the Range (R)
§ R = H - L
§ R = 71 – 8
§ R = 63
vSelect the desired number of
classes. Suppose 7 in this case
31
FREQUENCY DISTRIBUTION
CALCULATION OF CLASS WIDTH
32. vFind Width by dividing the Number of
classes:
§ Width = Range / No. of classes
§ Width = 63 / 7
§ Width = 9
vIf answer is a Fraction no., then
Round up to nearest whole number,
otherwise add one into the computed
width. i.e.
§ Width = 9 + 1 = 10
32
FREQUENCY DISTRIBUTION
CALCULATION OF CLASS WIDTH
33. vIn ‘Message Portal’ software
project, the number of Change
Requests in each module is
enlisted below:
§ 32, 55, 31, 76, 34, 23, 51, 90, 72,
62, 43, 93, 24, 55, 16, 13, 86, 65,
53, 84, 75, 62, 46, 80, 11, 83, 32,
17, 31, 86.
33
FREQUENCY DISTRIBUTION
ASSIGNMENT # 1 (CHANGE REQUESTS)
34. vFrom Raw data of previous slide
compute the Class Width (Suppose No.
of Classes = 8), Draw the Frequency
Distribution Table by computing
following:
§ Class Limits, Class Boundaries Tallies,
Frequency, Cumulative Frequency,
Relative Frequency, Cumulative Relative
Frequency, Class Mark (Midpoint)
34
FREQUENCY DISTRIBUTION
ASSIGNMENT # 1 (CHANGE REQUESTS)
35. vAlthough there is no hard-and-fast
rule for the number of classes
contained in a frequency distribution,
but, it is recommended that there
should be 5-20 classes in a frequency
distribution.
vThe classes must be exhaustive.
There should be enough classes to
accommodate all the data.
35
FREQUENCY DISTRIBUTION
IMPORTANT POINTS FOR CLASSES
36. vThe classes must be mutually
exclusive. Mutually exclusive classes
have non-overlapping class limits so
that data cannot be placed into two
classes. E.g.
§ 10-20
§ 20-30 à Incorrect
§ 10-20
§ 21-30 à Correct
36
FREQUENCY DISTRIBUTION
IMPORTANT POINTS FOR CLASSES
37. vThe classes must be continuous.
Even if there are no values in a class,
the class must be included in the
frequency distribution.
vThe classes must be equal in width.
37
FREQUENCY DISTRIBUTION
IMPORTANT POINTS FOR CLASSES
38. vThere are two types of frequency
distribution:
§ 1. Grouped Frequency Distribution
§ 2. Categorical Frequency Distribution
38
FREQUENCY DISTRIBUTION
TYPES OF FREQUENCY DISTRIBUTION
39. vThe grouping of quantitative data
is called grouped frequency
Distribution.
vExample à Case Study # 1
39
FREQUENCY DISTRIBUTION
1. GROUPED FREQUENCY DISTRIBUTION
40. vThe categorical frequency
distribution is used for data that can
be placed in specific categories, such
as nominal- or ordinal-level data.
vDiscrete Classes are used for
categorical frequency distribution
vNo class limits, class boundaries,
class Midpoints and Class width are
computed for categorical frequency
distribution.
40
FREQUENCY DISTRIBUTION
2. CATEGORICAL FREQUENCY DISTRIBUTION
41. vHowever, Tallies and all types of
Frequencies are computed in
similar way as those of Grouped
Frequency distribution.
41
FREQUENCY DISTRIBUTION
2. CATEGORICAL FREQUENCY DISTRIBUTION
42. vQuality Management Department has
reviewed the Use Case Document of
‘Message Portal’ software project. They
found document issues with different
severities.
vRaw data of Bugs Severity is as follows:
§ Low, Medium, Medium, Low, High,
Medium, Very High, Low, High, High,
Medium, Very High, High, Medium, Low,
Medium, Very High, High, Medium, Low,
Medium, High
42
FREQUENCY DISTRIBUTION
CASE STUDY # 2 (SEVERITY OF ISSUES)
43. vThere are four types of Severities of
Document issues: Low, Medium, High
and Very High.
vThese types will be used as the Classes
for the distribution.
43
FREQUENCY DISTRIBUTION
CASE STUDY # 2 (SEVERITY OF ISSUES)