Docsity

Data Representation-Discrete Mathematics-Lecture Handout, Exercises of Discrete Mathematics

Toggle sidebar
bg1
MTH001 – Elementary Mathematics
Virtual University of Pakistan Page
150
LECTURE # 23
Data Representation
• Tabulation
• Simple bar chart
• Component bar chart
• Multiple bar chart
• 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
Quantitative
Qualitat
ive
Univariate
Frequency
Table
Percentages
Pie Chart
Bar Chart
Bivariate Frequency
Table
Multiple
Bar Chart
Discrete
Frequency
Distribution
Line Chart
Frequency
Distribution
Histogram
Frequency
Polygon
Frequency Curve
Component
Bar C
hart
docsity.com
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Data Representation-Discrete Mathematics-Lecture Handout and more Exercises Discrete Mathematics in PDF only on Docsity!

LECTURE # 23

Data Representation

  • Tabulation
  • Simple bar chart
  • Component bar chart
  • Multiple bar chart
  • 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

Univariate Frequency Table

Percentages

Pie Chart

Bar Chart

Bivariate Frequency

Table

Multiple

Bar Chart

Discrete

Frequency Distribution

Line Chart

Continuous

Frequency Distribution

Histogram

Frequency Polygon

Frequency Curve

Component

Bar Chart

In today’s lecture, we will be dealing with various techniques for summarizing and describing qualitative data.

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.

We will have an array of observations as follows:

U, U, E, U, E, E, E, U, ……

(U : URDU MEDIUM) (E : ENGLISH MEDIUM)

Now, the question is what should we do with this data? Obviously, the first thing that comes to mind is to count the number of students who said “Urdu medium” as well as the number of students who said “English medium”.

This will result in the following table:

Qualitative

Univariate Frequency Table

Percentages

Pie Chart

Bar Chart

Bivariate Frequency

Table

Component bar Multiple bar chart chart

Urdu

English

SIMPLE BAR CHART:

The next diagram to be considered is the simple bar chart.

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:

Years 1965 1966 1967 1968 1969 Turnover (Rupees) 35,000 42,000 43,500 48,000 48,

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 turn-over figures that we have in our table.

As a result we obtain a simple and attractive diagram as shown below. When our values do not relate to time, they should be arranged in ascending or descending order before-charting.

BIVARIATE FREQUENCY TABLE:

0

10,

20,

30,

40,

50,

1965 1966 1967 1968 1969

  1. Male student coming from an Urdu medium school.
  2. Female student coming from an Urdu medium school.
  3. Male student coming from an English medium school.
  4. Female student coming from an English medium school. As a result, suppose we obtain the following figures:

Sex Med. MALE^ Female^ Total

Urdu 202 517 719

English 350 131 481

Total 552 648 1200

What we have just accomplished is an example of a bivariate frequency table pertaining to two qualitative variables.

COMPONENT BAR CHAR:

Let us now consider how we will depict the above information diagrammatically. This can be accomplished by constructing the component bar chart (also known as the subdivided bar chart) as shown below:

Male Female

Urdu

English

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.

MULTIPLE BAR CHART

The next diagram to be considered is the multiple bar chart.

Let us consider an example.

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:

Years

Imports (Crores of Rs.)

Exports (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: