Basic Statistics ยท Unit 3
Data Presentation and Visualization
Exam-focused notes for Data Presentation and Visualization (Basic Statistics, STA154): what the TU syllabus asks and how it has actually been tested, with 11 solved past questions from this unit.
Data Presentation and Visualization in short
Raw data is hard to read. Tables and graphs show its shape quickly, and the five number summary shows its centre, spread and unusual values.
What this unit covers
- Frequency distributions and tables
- Histogram construction
- Frequency polygon and frequency curve
- Bar diagrams and Pareto diagrams
- Pie charts
- Box and whisker plots
- Five number summary
Bar diagrams and Pareto diagrams
2082 ยท 5 marks
Differentiate Pareto chart and a bar diagram. [5]
Show solved answerHide answer
Differentiate Pareto Chart and Bar Diagram
Definition and Purpose
Bar Diagram:
- A basic statistical graph that displays data using rectangular bars of equal width
- Bars are arranged side-by-side or in groups
- Used to compare quantities across different categories
- Primarily for simple data comparison and visualization
Pareto Chart:
- A specialized bar chart combined with a line graph (cumulative percentage curve)
- Based on the Pareto principle (80/20 rule)
- Bars are arranged in descending order of frequency/magnitude
- Used to identify the most significant factors contributing to a problem
Key Differences
| Feature | Bar Diagram | Pareto Chart |
|---|---|---|
| Arrangement | Bars can be in any order (categorical or random) | Bars arranged in descending order (highest to lowest) |
| Components | Only bars representing frequencies/values | Bars + cumulative percentage line graph |
| Purpose | General comparison of data across categories | Identify vital few factors from trivial many |
| Application | Simple data presentation and comparison | Quality control, problem analysis, prioritization |
| Principle | No specific principle applied | Based on Pareto principle (80% problems from 20% causes) |
| Complexity | Simple and straightforward | More complex with dual axes |
Example Context
- Bar Diagram: Comparing sales of different products in a month
- Pareto Chart: Identifying which product defects account for 80% of quality issues
Conclusion
While a bar diagram is a general-purpose tool for data comparison, a Pareto chart is a specialized analytical tool designed to prioritize problems and identify the most impactful factors in quality management and process improvement.
2080 ยท 5 marks
The following table shows the mode of transport used by 400 students of a school. Represent the following information on the bar diagram and Pareto diagram.
| Mode of transport | Bus | Bicycle | On foot | By car |
|---|---|---|---|---|
| No. of students | 200 | 100 | 80 | 20 |
[5]
2080.1 ยท 5 marks
Construct bar diagram and Pareto diagram of the following information.
| Brand | Dell | Acer | Lenovo | HP | Total |
|---|---|---|---|---|---|
| No. of Sales | 50 | 100 | 40 | 60 | 250 |
[5]
Show solved answerHide answer
Model Answer: Bar Diagram and Pareto Diagram
Given
| Brand | Dell | Acer | Lenovo | HP | Total |
|---|---|---|---|---|---|
| No. of Sales | 50 | 100 | 40 | 60 | 250 |
Solution
1. Bar Diagram
In a bar diagram, each brand is shown as a separate rectangular bar whose height equals its number of sales. Bars are of equal width with equal gaps.
- X-axis: Brand (Dell, Acer, Lenovo, HP)
- Y-axis: Number of Sales
Heights: Dell = 50, Acer = 100, Lenovo = 40, HP = 60
No. of Sales
110|
100| โโโโ
90| โโโโ
80| โโโโ
70| โโโโ
60| โโโโ โโโโ
50| โโโโ โโโโ โโโโ
40| โโโโ โโโโ โโโโ โโโโ
30| โโโโ โโโโ โโโโ โโโโ
20| โโโโ โโโโ โโโโ โโโโ
10| โโโโ โโโโ โโโโ โโโโ
0|__โโโโ_____โโโโ____โโโโ_____โโโโ__
Dell Acer Lenovo HP
Brand
2. Pareto Diagram
A Pareto diagram arranges categories in descending order of frequency (as bars) with a cumulative percentage line overlaid.
Step 1: Arrange in descending order and compute cumulative percentage
$$\text{Cumulative %} = \frac{\text{Cumulative Sales}}{250} \times 100$$
| Brand | Sales | Cumulative Sales | Cumulative % |
|---|---|---|---|
| Acer | 100 | 100 | $\frac{100}{250}\times100 = 40%$ |
| HP | 60 | 160 | $\frac{160}{250}\times100 = 64%$ |
| Dell | 50 | 210 | $\frac{210}{250}\times100 = 84%$ |
| Lenovo | 40 | 250 | $\frac{250}{250}\times100 = 100%$ |
Step 2: Draw bars (descending) with cumulative curve
Sales Cumulative %
110| _____ 100%
100| โโโโ ___/ 84%
90| โโโโ ___/
80| โโโโ ______โ--/ 64%
70| โโโโ ___/
60| โโโโ โ--/ โโโโ
50| โโโโ / โโโโ โโโโ
40| โ---/ โโโโ โโโโ โโโโ โโโโ
30| โโโโ โโโโ โโโโ โโโโ โโโโ
20| โโโโ โโโโ โโโโ โโโโ โโโโ
10| โโโโ โโโโ โโโโ โโโโ โโโโ
0|__โโโโ____________โโโโ_________โโโโ_โโโโ__
Acer(40%) HP(64%) Dell(84%) Lenovo(100%)
The line rises steeply for Acer and HP (together $64%$ of all sales) then flattens, illustrating the Pareto principle that a few categories account for the majority of the total.
Result: Bars: Dell 50, Acer 100, Lenovo 40, HP 60. Pareto order Acer, HP, Dell, Lenovo with cumulative percentages $40%, 64%, 84%, 100%$.
Pie charts
2081 ยท 5 marks
In a survey of 50 IT students, the following programming languages were preferred: Python (20), Java (15), C++ (10), and JavaScript (5). Create a pie chart representing the preferences. [5]
2078 ยท 5 marks
The following table shows the numbers of hours spent by a child on different events on a working day. Represent the adjoining information on a pie chart.
| Activity | No. of hours |
|---|---|
| School | 6 |
| Sleep | 8 |
| Playing | 2 |
| Study | 4 |
| T.V. | 1 |
| Others | 3 |
[5]
Five number summary
2081 ยท 5 marks
The time taken (in seconds) to complete a file transfer operation is recorded for 11 sessions. Calculate the five-number summary and construct a box plot. 100, 120, 110, 115, 130, 105, 125, 122, 112, 108, 135 [5]
2080.1 ยท 5 marks
Drive D of a computer having 25 folders contain the following number of files. (a) List the five number summaries (b) Construct a box-plot for the data (c) Are the data skewed? 4, 0, 5, 2, 3, 1, 4, 3, 2, 3, 4, 3, 1, 6, 3, 2, 3, 4, 2, 1, 0, 3, 2, 5, 4 [5]
Box and whisker plots
2080 ยท 5 marks
Write short note on the following: a) Use of Box and whisker plot. b) Parameter and Statistic. [5]
Show solved answerHide answer
Model Answer: Box and Whisker Plot, Parameter and Statistic
a) Use of Box and Whisker Plot
A box and whisker plot (or boxplot) is a graphical method used to display the distribution and spread of numerical data. Its main uses include:
-
Visual Summary of Data: Displays five-number summary - minimum, Q1 (first quartile), median (Q2), Q3 (third quartile), and maximum values in a single diagram.
-
Identifying Outliers: Points that fall beyond 1.5 ร IQR (Interquartile Range) from Q1 or Q3 are plotted separately as outliers, making them easily identifiable.
-
Comparing Distributions: Multiple boxplots can be drawn side-by-side to compare the central tendency, spread, and skewness of different datasets or groups.
-
Assessing Skewness: The position of the median line within the box and the length of whiskers indicate whether data is symmetrically distributed or skewed.
-
Understanding Data Spread: The box width (IQR) shows where the middle 50% of data lies, while whiskers extend to show the range of typical values.
Example: In quality control, boxplots help compare product measurements across different batches to identify inconsistencies.
b) Parameter and Statistic
| Parameter | Statistic |
|---|---|
| A numerical value that describes a characteristic of a population | A numerical value that describes a characteristic of a sample |
| Fixed and constant for a given population | Varies from sample to sample |
| Usually unknown and estimated from sample data | Calculated from observed sample data |
| Denoted by Greek letters (ฮผ, ฯ, ฯ) | Denoted by Roman letters (xฬ, s, r) |
| Example: Population mean ฮผ, population standard deviation ฯ | Example: Sample mean xฬ, sample standard deviation s |
Key Relationship: Statistics are used as estimators of population parameters. For instance, the sample mean (xฬ) is used to estimate the population mean (ฮผ).
2079 ยท 5 marks
Write short notes on : a.) Box and whisker plot. Write short notes on : b.) Census survey and sample survey [2.5+2.5]
0 ยท 5 marks
Write short notes on the following: a.)Box and whisker plot b.) Choice of appropriate measure of central tendency [5]
Histogram construction
2079 ยท 5 marks
Construct histogram, frequency polygon and frequency curve of the following frequency distribution.
| Circumference (cm) | 50 | 55 | 54 | 52 | 37 | 52 | 53 | 47 |
|---|---|---|---|---|---|---|---|---|
| Weight (gram) '00' | 12 | 20 | 15 | 17 | 50 | 10 | 15 | 14 |
[5]
Make Unit 3 stick
Practice STA154 with flashcards & quizzes