Multiple Component: Lecture No 4
Multiple Component: Lecture No 4
Lecture No 4:
• Tabulation
• Pie chart
As indicated in the last lecture, there are two broad categories of data … qualitative data and quantitative data. A variety
of methods exist for summarizing and describing these two types of data. The tree-diagram below presents an outline of
the various techniques
TYPES OF DATA
Qualitative Quantitative
Frequency
Curve
Lecture Notes
Lecture Notes
In today’s lecture, we will be dealing with various techniques for summarizing and describing qualitative data.
Qualitative
Univariate Bivariate
Frequency Frequency
Table Table
Percentages
Component Multiple
Pie Chart Bar Chart Bar Chart
Bar Chart
We will begin with the univariate situation, and will proceed to the bivariate situation.
EXAMPLE:
Suppose that we are carrying out a survey of the students of first year studying in a co-educational college of
Lahore. Suppose that in all there are 1200 students of first year in this large college.
We wish to determine what proportion of these students have come from Urdu medium schools and what proportion has
come from English medium schools.
So we will interview the students and we will inquire from each one of them about their schooling.
As a result, we will obtain a set of data as you can now see on the screen.
U, U, E, U, E, E, E, U, ……
(U : URDU MEDIUM)
(E : ENGLISH MEDIUM)
The technical term for the numbers given in the second column of this table is “frequency”.
Out of the 1200 students, 719 stated that they had come from Urdu medium schools.
So in this example, the frequency of the first category of responses is 719 whereas the frequency of the second category
of responses is 481.
Lecture Notes
Lecture Notes
It is evident that this information is not as useful as if we compute the proportion or percentage of students
falling in each category.
Dividing the cell frequencies by the total frequency and multiplying by 100 we obtain the following:
Medium of
f %
Institution
Urdu 719 59.9 = 60%
English 481 40.1 = 40%
1200
What we have just accomplished is an example of a univariate frequency table pertaining to qualitative data.
Let us now see how we can represent this information in the form of a diagram.
One good way of representing the above information is in the form of a pie chart.
A pie chart consists of a circle which is divided into two or more parts in accordance with the number of distinct
categories that we have in our data.
For the example that we have just considered, the circle is divided into two sectors, the larger sector pertaining to
students coming from Urdu medium schools and the smaller sector pertaining to students coming from English medium
schools.
How do we decide where to cut the circle?
The answer is very simple! All we have to do is to divide the cell frequency by the total frequency and multiply by 360.
This process will give us the exact value of the angle at which we should cut the circle.
PIE CHART
Medium of
f Angle
Institution
Urdu 719 215.70
English 481 144.30
1200
Urdu
215.70
English
144.30
Lecture Notes
Lecture Notes
A simple bar chart consists of horizontal or vertical bars of equal width and lengths proportional to values they
represent.
As the basis of comparison is one-dimensional, the widths of these bars have no mathematical significance but
are taken in order to make the chart look attractive.
Let us consider an example.
Suppose we have available to us information regarding the turnover of a company for 5 years as given in the
table below:
In order to represent the above information in the form of a bar chart, all we have to do is to take the year along the x-
axis and construct a scale for turnover along the y-axis.
Next, against each year, we will draw vertical bars of equal width and different heights in accordance with the
50,000
40,000
30,000
20,000
10,000
50,000
40,000
30,000
20,000
10,000
0
1965 1966 1967 1968 1969
In each of the two examples, we were dealing with one single variable.
In the example of the first year students of a college, our lone variable of interest was ‘medium of schooling’.
And in the second example, our one single variable of interest was turnover.
Now let us expand the discussion a little, and consider the bivariate situation.
Lecture Notes
Lecture Notes
Going back to the example of the first year students, suppose that alongwith the enquiry about the Medium of Institution,
you are also recording the sex of the student.
Suppose that our survey results in the following information:
Now this is a bivariate situation; we have two variables, medium of schooling and sex of the student.
In order to summarize the above information, we will construct a table containing a box head and a stub as shown below:
Sex
Male Female Total
Med.
Urdu
English
Total
The top row of this kind of a table is known as the boxhead and the first column of the table is known as stub.
Next, we will count the number of students falling in each of the following four categories:
Sex
Male Female Total
Med.
What we have just accomplished is an example of a bivariate frequency table pertaining to two qualitative variables.
Lecture Notes
Lecture Notes
This can be accomplished by constructing the component bar chart (also known as the subdivided bar chart) as shown
below:
Urdu
800 English
700
600
500
400
300
200
100
0
Male Female
In the above figure, each bar has been divided into two parts. The first bar represents the total number of male students
whereas the second bar represents the total number of female students.
As far as the medium of schooling is concerned, the lower part of each bar represents the students coming from
English medium schools. Whereas the upper part of each bar represents the students coming from the Urdu medium
schools.The advantage of this kind of a diagram is that we are able to ascertain the situation of both the variables at a
glance.
We can compare the number of male students in the college with the number of female students, and at the same
time we can compare the number of English medium students among the males with the number of English medium
students among the females.
Suppose we have information regarding the imports and exports of Pakistan for the years 1970-71 to 1974-75
as shown in the table below:
Imports Exports
Years
(Crores of Rs.) (Crores of Rs.)
1970-71 370 200
1971-72 350 337
1972-73 840 855
1973-74 1438 1016
1974-75 2092 1029
Source: State Bank of Pakistan
A multiple bar chart is a very useful and effective way of presenting this kind of information.
This kind of a chart consists of a set of grouped bars, the lengths of which are proportionate to the values of
our variables, and each of which is shaded or coloured differently in order to aid identification.
With reference to the above example, we obtain the multiple bar chart shown below:
Lecture Notes
Lecture Notes
Multiple Bar Chart Showing Imports & Exports of Pakistan 1970-71 to 1974-75
This is a very good device for the comparison of two different kinds of information.
If, in addition to information regarding imports and exports, we also had information regarding production, we could
have compared them from year to year by grouping the three bars together.
The question is, what is the basic difference between a component bar chart and a multiple bar chart?
The component bar chart should be used when we have available to us information regarding totals and their
components.
For example, the total number of male students out of which some are Urdu medium and some are English
medium. The number of Urdu medium male students and the number of English medium male students add up to give us
the total number of male students.
On the contrary, in the example of exports and imports, the imports and exports do not add up to give us the totality of
some one thing!
The example shows a table of a maths test given to a year group. Note that the class interval varies for each class:
Lecture Notes
Lecture Notes
Lecture Notes