Docsity

Types and Uses of Graphical Data Presentation: Pie, Line, Bar, Histogram, Scatter, and Box, Study notes of Mathematics

Toggle sidebar
bg1
MODULE: Mathematics A Module Code: MS2101
Topic: Graphical Presentation of Data
______________________________________________________________________________________
______________________________________________________________________________________
Math Section/ LT School of Mathematics & Science
Stage 1A Chapter 2/Page 1
Graphical Presentation of Data
Keywords: Pie Chart, Line Chart, Simple and Composite Bar Charts, Histogram and
Frequency Polygon (covered in Chapter 1), Scatter Plot (details to be
covered in Chapter 3), Box-and-Whisker Plot, Five-Number Summary.
Objective: Students should be able to fit a given set of data into an appropriate mode of
diagrammatic presentation.
They should be able to:
2.1 Plot the graphs listed under Keywords using Microsoft Excel.
2.2 Identify and find the five measures in the five-number summary.
2.3 Identify outliers by calculating the lower and upper fences of a dataset.
2.4 Identify the types of distribution from the box-and-whisker plots.
Ref. Book: Elementary Statistics by Robert Johnson/ Patricia Kuby.
Thomson/ Brooks/ Cole 2007
Introduction: In this section of descriptive statistics, data were presented using charts.
Appropriate/ Good charts tell tales about the data: A picture speaks a
thousand words! At this stage, students may be able to plot the charts
manually and probably able to interpret the charts meaningfully, that is, able
to gather useful information from the charts. This will ultimately lead to
decision making.
As manual plotting of charts may be tedious, you are going to embark on
using Microsoft Excel to plot these charts.
Graphical Presentation of Data
Methods of Graphical Presentation
Disorganized data are often difficult to comprehend and interpret. When data are collected,
they are meant to be studied/ analyzed so that useful information and necessary calculations
may be done easily and decisions may be made ultimately.
One good way to present to a team of decision makers a set of data is to use charts. It is
undoubtedly a good mode of visual presentation. In the field of Statistics, these are the
various methods of presentation using charts:
I. Pie Chart
II. Line Chart
III. Bar Chart (Simple – single variable and Composite – multiple variables)
IV. Histogram/ Frequency Polygon
V. Scatter Plot
VI. Others: Pictograph, dot plot, stem-and-leaf diagram, infographics
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Types and Uses of Graphical Data Presentation: Pie, Line, Bar, Histogram, Scatter, and Box and more Study notes Mathematics in PDF only on Docsity!

Topic: Graphical Presentation of Data



Math Section/ LT School of Mathematics & Science

Graphical Presentation of Data

Keywords: Pie Chart, Line Chart, Simple and Composite Bar Charts, Histogram and Frequency Polygon (covered in Chapter 1), Scatter Plot (details to be covered in Chapter 3), Box-and-Whisker Plot, Five-Number Summary.

Objective: Students should be able to fit a given set of data into an appropriate mode of diagrammatic presentation. They should be able to: 2.1 Plot the graphs listed under Keywords using Microsoft Excel. 2.2 Identify and find the five measures in the five-number summary. 2.3 Identify outliers by calculating the lower and upper fences of a dataset. 2.4 Identify the types of distribution from the box-and-whisker plots.

Ref. Book: Elementary Statistics by Robert Johnson/ Patricia Kuby. Thomson/ Brooks/ Cole 2007

Introduction: In this section of descriptive statistics, data were presented using charts. Appropriate/ Good charts tell tales about the data: A picture speaks a thousand words! At this stage, students may be able to plot the charts manually and probably able to interpret the charts meaningfully, that is, able to gather useful information from the charts. This will ultimately lead to decision making. As manual plotting of charts may be tedious, you are going to embark on using Microsoft Excel to plot these charts. Graphical Presentation of Data

Methods of Graphical Presentation Disorganized data are often difficult to comprehend and interpret. When data are collected, they are meant to be studied/ analyzed so that useful information and necessary calculations may be done easily and decisions may be made ultimately.

One good way to present to a team of decision makers a set of data is to use charts. It is undoubtedly a good mode of visual presentation. In the field of Statistics, these are the various methods of presentation using charts: I. Pie Chart II. Line Chart III. Bar Chart (Simple – single variable and Composite – multiple variables) IV. Histogram/ Frequency Polygon V. Scatter Plot VI. Others: Pictograph, dot plot, stem-and-leaf diagram, infographics

Topic: Graphical Presentation of Data



Math Section/ LT School of Mathematics & Science

Pie Chart

Line Chart

Bar Chart

Histogram This chart has been discussed in Chapter 1. It represents the frequency distribution of a dataset. As seen in Chapter 1, it is good for quantitative continuous data, which is the reason for joining the bars together, unlike the bar chart. With the bars joined, the areas of all the bars equal the area of the frequency polygon. The latter represents the total frequency.

This is good for qualitative data such as categorical data and ordinal data. Sectors of the chart represent the different categorical data of the dataset. Frequencies or percentages of occurrences of the categorical data are represented by the sizes of the sectors.

This chart reflects chronological progress, that is, changes over time. This type of chart is often used to report changing stock prices, economic growth, unemployment rate, viral infection recovery rate, population and more. Comparison is possible when two or three charts of the same nature are plotted on the same axes.

This chart is good for categorical data too, like the pie chart, and also for quantitative discrete data. The bars are separated by gaps since the data are categorical or discrete. This chart has an added advantage over the pie chart in that two or more variables may be presented on the same axes for comparison purpose.

Topic: Graphical Presentation of Data



Math Section/ LT School of Mathematics & Science

Stem-and-leaf diagrams:

These plots are good for small datasets only. As these cannot be plotted on Excel, they will not be covered here.

Infographics:

Box-and-Whisker Plot ( also known as Box Plot) It is drawn up based on the five-number summary. The five numbers that determine the box and whiskers are the median, upper and lower quartiles, the highest and lowest data points of the data set.

Determining Median and Quartiles Determining the median is easy. Arrange the data points in, usually an ascending order. Median = the data point in the^ n 21 position where n is the number of data points. When n is odd, median = middle value. When n is odd, median = average of the two middle values.

This chart usually looks interesting because it conveys quantitative data using charts, pictures, maps, …

Figure B1 Figure B

Topic: Graphical Presentation of Data



Math Section/ LT School of Mathematics & Science

To determine quartiles, divide the data points into two halves: lower and upper halves. It will be easy if n is even. However, when n is odd, all the data points to the left of the median will make up the lower half and those to the right of the median will make up the upper half. Next, determine the quartiles in the same way as the median. Thus, Lower Quartile (LQ) = median of the lower half; Upper Quartile (UQ) = median of the upper half.

Example A dataset is given as follows (the data points have been pre-arranged in ascending order) with a dividing line in between. 0 0 1 2 2 2 4 5 5 6

Using the 'median' method (described above), LQ = 1 and UQ = 5. Suppose one data point has been added to the above dataset as shown below. 0 0 1 2 2 2 4 4 5 5 6 The data points to the left of the median form the lower half and those on the right form the upper half. Thus, LQ = 1 and UQ = 5.

Outliers These are unusual data points that do not fall into the regular pattern of a data set. These data points can be checked using the fences whose formulas are as follows: Lower fence = Lower Quartile – 1.5 x IQR Upper fence = Upper Quartile + 1.5 x IQR If data points are less than the lower fence or more than the upper fence, then they are outliers. They might have to be discarded by discretion.

Figure B3 Figure B

Topic: Graphical Presentation of Data



Math Section/ LT School of Mathematics & Science

  1. Left-click mouse on the pies and click on Select Data. Click Edit under Horizontal (Category) Axis Labels. Highlight the four Ordinal Responses. They will be added to the legend as shown. The pie chart may also be resized. Click at one of the corners of the pie chart, a square box circumscribes the pie chart. Either one of the four corners may be moved to resize. The square box may be moved around to reposition the pie chart.

Line Chart

  1. Highlight the two columns: Average Earnings and Labour Productivity. Click on Insert Charts and select 2 - D Line. The result is as shown.

As there are two variables here, Series 1 and Series 2 show up in the legend. This will be taken care of later.

  1. Left-click mouse on the lines and click on Select Data. Click Edit under Horizontal (Category) Axis Labels. This is to edit the horizontal axis labels to Year as shown below.

Topic: Graphical Presentation of Data



Math Section/ LT School of Mathematics & Science

  1. To edit the legend, left-click mouse on the Plot Area and click on Select Data. Then click Edit under Legend Entries (Series) , as shown.
  2. Type or highlight 'Average Earnings' for Series1 and 'Labour Productivity' for Series2. The result is shown below.
  3. Like the other charts, add the Axis Titles and edit the Chart Title.

Bar Chart

  1. The method is very much like the Line Chart. Instead of selecting 2-D Line, select 2 - D Column for a vertical bar chart or 2 - D Bar for a horizontal bar chart.

Topic: Graphical Presentation of Data



Math Section/ LT School of Mathematics & Science

  1. The '1' on the horizontal axis is redundant. Thus, it may be deleted by highlighting it and deleting it. The vertical Axis Title may be added and the Chart Title may be edited, as shown below. As observed, an Axis Title on the horizontal axis has also been incidentally added. As it is redundant, it may be deleted too, as shown on the right-side figure.
  2. There are more to learn on the Box Plot charted on Excel. Left-click mouse on the box plot and right-click mouse to select Format Data Series.

By default, outlier points and mean markers are shown. For this dataset, there are no outliers. Next, Quartile Calculation is done using Exclusive median. Then what is Inclusive median? These terms will become clearer when the next section on computation of quartiles is discussed.

  1. Should you decide to chart the box plot using Inclusive median , the result is as shown below.

It is observed that the quartiles have changed. On Excel, there is a distinction between QUARTILE.EXC and QUARTILE.INC which will be discussed.

Topic: Graphical Presentation of Data



Math Section/ LT School of Mathematics & Science

  1. Where two datasets are to be charted, each dataset should be entered into a single column. Highlighting the two columns would result in two box plots. The legend will have to be added.

Use Microsoft Excel to Generate The Five-Number Summary The five numbers to be determined are as follows: Lowest data point Use the function MIN as shown below.

Highest data point Use MAX instead of MIN as seen above. Median Use MEDIAN instead of MIN and MAX. This function locates the middle value. Lower and Upper Quartiles Use the function QUARTILE. However, under this function, there are a few options. Each option is linked to a formula in the program. As it is formula-based, the answer for the quartile is not the same as that obtained by the median method. The function displays the options as shown below.

Recall these two functions in the last section where box plots were constructed: the options of 'Inclusive median' and 'Exclusive median'. The quartile values that show up on the box plot would be those of QUARTILE.INC when 'Inclusive median' is opted for. Likewise, those of QUARTILE.EXC would show up for 'Exclusive median'. Usually, we would select QUARTILE.INC as shown below.

The last option (from the earlier version of Excel) will not be discussed. The next shot shows more options under QUARTILE.INC.

As seen, the function QUARTILE may evaluate all the five numbers! Remark: If the median method is preferred to determine the quartiles, Excel may Sort the data points from Smallest to Largest.

Topic: Graphical Presentation of Data



Math Section/ LT School of Mathematics & Science

  1. The ages of 120 members of a social club are shown in the table below:

Age group (in years) 20 - 29 30 - 39 40 - 49 50 - 59 60 - 69 Number in each group 2 4 38 60 16

(a) What is the type of data given in the question?

(b) Suggest the type(s) of charts that may be used to illustrate the data. For each

answer, state the reason.

(c) Which is a good chart to show the largest age group in the club?

  1. Data 1 below are the weights (in kg) of 10 young male adults residing in the same village and Data 2 are the heights (in cm) of the same 10 young male adults. 64 73 71 69 66 75 71 63 72 69

Data 1

Data 2

(a) Use Excel to plot a box-and-whisker diagram for each dataset. (b) Describe the types of distribution based on your plots in Part (a). (c) Suppose an 11th^ data is added into Data 1 (see below): 64 73 71 69 66 75 71 63 72 69 85 Plot another box-and-whisker diagram. What do you notice on your current plot? (d) Comment on the differences between the two box plots.