























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
























Once data has been collected, it has to be classified and organised in such a way that it becomes easily readable and interpretable, that is, converted to information. Before the calculation of descriptive statistics, it is sometimes a good idea to present data as tables, charts, diagrams or graphs. Most people find ‘pictures’ much more helpful than ‘numbers’ in the sense that, in their opinion, they present data more meaningfully.
In this course, we will consider the various possible types of presentation of data and justification for their use in given situations.
This type of information occurs as individual observations, usually as a table or array of disorderly values. These observations are to be firstly arranged in some order (ascending or descending if they are numerical) or simply grouped together in the form of a frequency table before proper presentation on diagrams is possible.
1.2.1 Arrays
An array is a matrix of rows and columns of numbers which have been arranged in some order (preferably ascending). It is probably the most primitive way of tabulating information but can be very useful if it is small in size. Some important statistics can immediately be located by mere inspection.
Without any calculations, one can easily find the
Example
2 7 8 11 15 16 18 19 19 19 23 23 24 26 27 29 33 40 44 47 49 51 54 63 68
Table 1.2.
We can easily verify the following:
1.2.2 Simple tables
A table is slightly more complex than an array since it needs a heading and the names of the variables involved. We can also use symbols to represent the variables at times, provided they are sufficiently explicit for the reader. Optionally, the table may also include totals or percentages (relative figures).
Example
DISTRIBUTION OF AGES OF DCDMBS STUDENTS Age of student Frequency Relative frequency 19 14 0. 20 23 0. 21 134 0. 22 149 0. 23 71 0. 24 9 0. Total 400 1.
Table 1.2.
1.2.3 Compound tables
A compound table is just an extension of a simple in which there are more than one variable distributed among its attributes (sub-variable). An attribute is just a quality, property or component of a variable according to which it can be differentiated with respect to other variables.
We may refer to a compound table as a cross tabulation or even to a contingency table depending on the context in which it is used.
Line graph for ages of students
0
20
40
60
80
100
120
140
160
19 20 21 22 23 24 Age
Number of students
Fig. 1.3.1.
1.3.2 Multiple line graph
Multiple line graphs illustrate information on several variables so that comparison is possible between them. Consider the following table containing information on the ages of first-year students attending courses the University of Mauritius (UoM), the De Chazal du Mée Business School (DCDMBS) and the University of Technology of Mauritius (UTM) respectively.
AGE DISTRIBUTION OF STUDENTS AT ACADEMIC INSTITUTIONS Number of students Age of students UoM DCDMBS UTM 19 14 8 2 20 23 52 23 21 134 101 152 22 149 133 98 23 71 54 34 24 8 18 13
Table 1.3.2.
This data, when displayed on a multiple line graph, enables a comparison between the frequencies for each age among the institutions (maybe in an attempt to know whether younger students prefer to enrol for courses at one of these institutions).
Fig. 1.3.2.
A pie chart or circular diagram is one which essentially displays the relative figures (proportions or percentages) of classes or strata of a given sample or population. We should not include absolute values (class frequencies) on a pie chart. Perhaps, this is the simplest diagram that can be used to display data and that is the reason why it is quite limited in its presentation.
The pie chart follows the principle that the angle of each of its sectors should be proportional to the frequency of the class that it represents.
Merits
Limitations
Multiple line graph for age distribution at academic institutions
0
20
40
60
80
100
120
140
160
19 20 21 22 23 24 Age
Number of students
UoM DCDMBS UTM
1.4.2 Enhanced pie chart
This is just an enhancement (as the name says itself) of a simple pie chart in order to lay emphasis on particular sector.
Example
Again, using the same data from Table 1.2.3 , but this time, including the total number of students enrolled for BA, B Com and B Sc, we shall now display the distribution of students for these three courses the population.
UNISA 2004 results for first-year DCDMBS students
COURSE BA B Com B Sc Pass 37 25 33 Supp 5 10 4 RESULTFail 11 8 27
TOTAL 53 43 64
Table 1.4.1.
It is customary to include a legend to relate the colours or patterns used for each sector to its corresponding data. In Fig. 1.4.1.4 , we show the importance of the number of passes in B Sc.
Distribution of students enrolled for BA, B Com and B Sc
33%
27%
40%
BA B Com B Sc
Fig. 1.4.1.
The bar chart is one of the most common methods of presenting data in a visual form. Its main purpose is to display quantities in the form of bars. A bar chart consists of a set of bars whose heights are proportional to the frequencies that they represent.
Note that the figure may be drawn horizontally or vertically. There are different types of bar charts, depending on the number of variables and the type of information to be displayed.
General merits
General limitations
Note Any additional merit or limitation for each type of bar chart will be mentioned in its corresponding section.
1.5.1 Simple bar chart
The simple bar chart is used for the case of one variable only. In Table 1.5.1.1 below, our variable is age.
Example
Age of students
Number of students (frequency) 19 14 20 23 21 134 22 149 23 71 24 8 Total 399
Table 1.5.1.
Multiple bar chart showing the results for BA, B Com and B Sc
0
5
10
15
20
25
30
35
40
BA B Com B Sc Courses
Results
(^) Pass Supp Fail
Fig. 1.5.2.
Merits
Limitations
1.5.3 Component bar chart
In this type of bar chart, the components (quantities) of each variable are piled on top of one another.
Example
UNISA 2004 results for first-year DCDMBS students
COURSE BA B Com B Sc Pass 37 25 33 Supp 5 10 4 RESULTFail 11 8 27
TOTAL 53 43 64
Table 1.5.2.
Component bar chart showing the results for each course
0
10
20
30
40
50
60
70
BA B Com B Sc Courses
Results
(^) Fail Supp Pass
Fig. 1.5.2.
Merits
Limitations
Out of several methods of presenting a frequency distribution graphically, the histogram is the most popular and widely used in practice. A histogram is a set of vertical bars whose areas are proportional to the frequencies of the classes that they represent.
While constructing a histogram, the variable is always taken on the x -axis while the frequencies are on the y -axis. Each class is then represented by a distance on the scale that is proportional to its class interval. The distance for each rectangle on the x -axis shall remain the same in the case that the class intervals are uniform throughout the distribution. If the classes have different class intervals, they will obviously vary accordingly on the x -axis. The y -axis represents the frequencies of each class which constitute the height of the rectangle.
The histogram should be clearly distinguished from the bar chart. The most striking physical difference between these two diagrams is that, unlike the bar chart, there are no ‘gaps’ between successive rectangles of a histogram. A bar chart is one-dimensional since only the length, and not the width, matters whereas a histogram is two-dimensional since both length and width are important.
A histogram is mainly used to display data for continuous variables but can also be adjusted so as to present discrete data by making an appropriate continuity correction. Moreover, it can be quite misleading if the distribution has unequal class intervals.
1.6.1 Histograms for equal class intervals
Example
Consider the set of data in Fig. 1.6.1.1 , which represents the ages of workers of a private company. The real limits and mid-class values have already been computed.
Age group Real limits Mid-class value Frequency 21 – 25 20.5 – 25.5 23 5 26 – 30 25.5 – 30.5 28 12 31 – 35 30.5 – 35.5 33 23 36 – 40 35.5 – 40.5 38 39 41 – 45 40.5 – 45.5 43 32 46 – 50 45.5 – 50.5 48 21 51 – 55 50.5 – 55.5 53 9 56 – 60 55.5 – 60.5 58 2 Total 143
Table 1.6.1.
The data is presented on the histogram in Fig. 1.6.1.2.
Presentation of grouped data (uniform class interval) on a histogram
Fig. 1.6.1.
1.6.2 Histograms for unequal class intervals
When class intervals are unequal, a correction must be made. This consists of finding the frequency density for each class, which is the ratio of the frequency to the class interval. The frequency densities now become the actual heights of the rectangles since the areas of the rectangles should be proportional to the frequencies.
Frequency density = Class interval
Frequency
Example
The temperatures (in degrees Fahrenheit) were simultaneously recorded in various cities in the world at a specific moment. Table 1.6.2.1 below gives the thermometer readings.
Histogram for grouped data
0
5
10
15
20
25
30
35
40
45
[20.5, 25.5)
[25.5, 30.5)
[30.5, 35.5)
[35.5, 40.5)
[40.5, 45.5)
[45.5, 50.5)
[50.5, 55.5)
[55.5, 60.5) Age group of w orkers
Number of workers (frequency)
1.7.1 Drawing a histogram first
This is indeed a very effective in which a frequency polygon may be constructed. Draw a histogram of the given data and then join, by means of straight lines, the midpoints of the upper horizontal side of each rectangle with the adjacent ones. It is an accepted practice to close the polygon at both ends of the distribution by extending the lines to the base line (x-axis). When this is done, two hypothetical classes with zero frequencies must be included at each end. This extension is made with the objective of making the area under the polygon equal to the area under the corresponding histogram.
Example
Temperature Frequency [0 – 10) 2 [10 – 20) 7 [20 – 30) 11 [30 – 40) 17 [40 – 50) 9 [50 – 60) 3 [60 – 70) 1 Total 50
Table 1.7.1.
Presentation of grouped data on a histogram and frequency polygon
Fig. 1.7.1.
Histogram and frequency polygon for grouped data
0
2
4
6
8
10
12
14
16
18
-10 0 10 20 30 40 50 60 70 80 Temperature (degrees Fahrenheit)
Frequency
1.7.2 Direct construction
The frequency polygon may also be directly drawn by finding the points on the figure. The x -coordinate of each point is the mid-class value of the cell whilst the y -coordinate is the frequency of the cell (or frequency density if class intervals are unequal). Successive points are then linked by means of line segments.
In that state, the polygon would be ‘hanging in the air’, that is, it would not touch the x -axis. To satisfy this ultimate requirement, we determine its left (right) x -intercept by respectively subtracting (adding) the class intervals of the first (last) classes from the x -intercept of the first (last) point.
Example
Using the data from Table 1.6.2.1 , we have the following polygon:
Presentation of grouped data on a frequency polygon
Fig. 1.7.
A frequency polygon sketches an outline of the data pattern more clearly. In fact, it is the refinement of a histogram, as it does not assume that the frequencies of observations within a class are equal. The polygon becomes increasingly smooth and curve-like as we increase the number of classes in a distribution.
Frequency polygon for grouped data
0
5
10
15
20
25
30
35
40
45
20.5 –
25.5 –
30.5 –
35.5 –
40.5 –
45.5 –
50.5 –
55.5 –
Age of students
Number of students (frequency)
Note Careful inspection of Table 1.8.1 reveals that the ‘less than’ CF of a class is also the overall rank of the last observation in that class. This is a very important finding since it will be of tremendous help to us when calculating percentiles.
1.8.2 ‘Less than’ cumulative frequency ogive
The ‘less than’ CF ogive is used to determine the number of observations which fall below a given value. We can thus use it to estimate the value of the median and other percentiles by interpolation on the ogive itself.
The difference between a CF curve and a CF polygon is that, for the polygon, successive points are linked by means of line segments whereas, for the curve, we fit a smooth curve of best fit through the points.
The points on a ‘less than’ CF ogive have upper real limits for x - coordinates and ‘less than’ CF for y -coordinates. This is quite easy to remember: ‘less than’ CFs are defined according to upper real limits!
If we use the data from Table 1.8.1 , the following ‘less than’ CF curve is obtained.
Fig. 1.8.
Note The ‘less than’ CF ogive has an x -intercept equal to the lower real limit of the first class.
'Less than' cumulative frequency curve for age
0
20
40
60
80
100
120
140
160
20.5 25.5 30.5 35.5 40.5 45.5 50.5 55.5 60. Age (upper real limits)
'Less than' CF
1.8.3 ‘More than’ cumulative frequency ogive
The ‘more than’ CF ogive is used to determine the number of observations which fall above a given value. We can also use it to estimate the value of the median and other percentiles by interpolation on the ogive itself.
The points on a ‘more than’ CF ogive have lower real limits for x - coordinates and mores than’ CF for y -coordinates. Remember that ‘more than’ CFs are defined according to lower real limits!
Again, if we use the data from Table 1.8.1 , the following ‘more than’ CF curve is obtained.
Fig. 1.8.
Note The ‘less than’ CF ogive has an x -intercept equal to the upper real limit of the last class.
The main use of cumulative frequency ogives is to estimate percentiles , more specifically the median and the lower and upper quartiles. However, we may also estimate the percentage of the distribution that falls below or above a given value. Alternatively, we may find a value above or below which a certain percentage of the distribution lies.
It is generally advisable to use a CF curve, instead of a CF polygon, since it has been found to yield more realistic and reliable estimates for percentiles.
'More than' cumulative frequency ogive for age
0
20
40
60
80
100
120
140
160
20.5 25.5 30.5 35.5 40.5 45.5 50.5 55.5 60. Age (lower real limits)
'More than' CF