🏠 Home
Introduction to Statistics
Unit I Β· Lectures 6–8

BDS113 β€” Introduction to Statistics

Representation of Data & Unit I Review

Tabular Β· Graphical Β· Diagrammatic Β· Comprehensive Review & Problem-Solving


Unit I Β· Lectures 6–8 of 40 Β· B.Sc. Data Science, 1st Year, Semester II

Introduction to Statistics
Unit I Β· Lectures 6–8

The Journey β€” Lectures 6 to 8


πŸ“‹
Lecture 6 β€” Tabular & Basic Graphical Representation
One-way & two-way tables Β· Bar diagrams Β· Simple, multiple & component bar diagrams
πŸ“Š
Lecture 7 β€” Advanced Graphical & Diagrammatic Representation
Histogram Β· Frequency polygon Β· Pie chart Β· Choosing the right diagram
πŸ”„
Lecture 8 β€” Unit I Review & Problem-Solving
Consolidation of L1–L7 Β· Mixed problems Β· Exam-style practice Β· Doubt clearing
Introduction to Statistics
Unit I Β· Lecture 6

πŸ€” Why Represent Data Visually?


πŸ“– The Problem with Numbers Alone

A frequency table of 100 numbers is useful for computation, but the human brain processes visual information far faster than raw numbers. A well-designed graph can reveal trends, patterns, outliers, and comparisons at a glance β€” something a table of numbers cannot do as quickly.


πŸ’‘ Analogy: Map vs Written Directions

Imagine describing a route with written instructions: "Go 200m north, turn left, go 500m east..." Now imagine showing a map. The map conveys the same information instantly. Similarly, a graph conveys statistical information far more effectively than raw numbers.


Data can be represented in three broad ways:

πŸ“‹
Tabular
Tables with rows & columns
πŸ“ˆ
Graphical
Histograms, polygons, curves
πŸ“Š
Diagrammatic
Bar charts, pie charts
Introduction to Statistics
Unit I Β· Lecture 6

πŸ“‹ Tabular Representation of Data


πŸ“– Definition

A statistical table is a systematic arrangement of data in rows and columns. It presents data in a structured, compact form that makes comparison and analysis easy. Every well-designed table has a title, row headings, column headings, body (data values), and usually a total row/column.


1. One-Way (Simple) Table

Classifies data by one characteristic only. Each row represents one category.

πŸ“ Example: Students by Gender

GenderNo. of Students
Male120
Female145
Other5
Total270

2. Two-Way (Double) Table

Classifies data by two characteristics simultaneously. Rows represent one variable; columns represent another.

πŸ“ Example: Gender Γ— Branch

BranchMaleFemaleTotal
CSE4555100
ECE405090
ME354075
Total120145265

πŸ’‘ Note: Tables can extend to three-way or higher classification (e.g., Gender Γ— Branch Γ— Year), but two-way tables are the most common in introductory statistics.
Introduction to Statistics
Unit I Β· Lecture 6

πŸ“ Components of a Good Statistical Table


1. Table Number

Each table should be numbered (e.g., Table 1, Table 2) for easy reference in the text.

2. Title

A clear, concise title describing what the table shows, where the data is from, and when.

3. Column Headings

Labels at the top of each column describing the variable or category represented.

4. Row Headings (Stubs)

Labels at the left of each row describing the categories or class intervals.

5. Body

The data values (frequencies, counts, percentages) arranged in rows and columns.

6. Totals

Row totals and column totals (usually the last row and last column). Grand total in the bottom-right corner.

7. Source Note

Indicates where the data came from (e.g., "Source: Census of India 2011").

8. Footnotes

Any additional explanations, abbreviations, or caveats about the data.

Introduction to Statistics
Unit I Β· Lecture 6

πŸ“Š Bar Diagrams


πŸ“– Definition

A bar diagram (or bar chart) is a graphical representation using rectangular bars of equal width, where the height (or length) of each bar represents the frequency or magnitude of a category. Bars are separated by equal gaps. Bar diagrams are used for qualitative (categorical) data or discrete quantitative data.


πŸ’‘ Key Properties of Bar Diagrams

β€’ All bars have equal width
β€’ There is a gap between consecutive bars (bars do NOT touch)
β€’ Bar height = frequency or value
β€’ Used for categorical or discrete data (NOT for continuous data β€” use histogram for that)
β€’ Can be drawn vertically or horizontally


Three types of bar diagrams:

Simple
One set of bars
Multiple
Grouped side-by-side
Component (Stacked)
Stacked within one bar
Introduction to Statistics
Unit I Β· Lecture 6

🎬 Visual: Simple Bar Diagram


Example: Number of students enrolled in different branches (B.Sc. Data Science Year 1)


Number of Students 0 20 40 60 80 75 CSE 55 ECE 40 ME 30 CE 20 BT Student Enrollment by Branch β€” Simple Bar Diagram
Introduction to Statistics
Unit I Β· Lecture 6

🎬 Visual: Multiple Bar Diagram


Example: Male & Female students in each branch (comparison of two categories per branch)


Number of Students 0 20 40 60 80 CSE ECE ME CE Male Female Gender-wise Enrollment β€” Multiple Bar Diagram
Introduction to Statistics
Unit I Β· Lecture 6

🎬 Visual: Component (Stacked) Bar Diagram


Example: Same gender-wise data, but stacked into a single bar per branch


Number of Students 0 20 40 60 80 CSE ECE ME CE Male Female Gender-wise Enrollment β€” Component (Stacked) Bar Diagram
Introduction to Statistics
Unit I Β· Lecture 6

βš–οΈ Simple vs Multiple vs Component Bar Diagram


FeatureSimple BarMultiple BarComponent (Stacked)
Bars per categoryOne barMultiple bars side-by-sideOne bar, divided into segments
What it showsSingle variable per categoryComparison of sub-categoriesParts making up the whole
Best forSimple comparisonComparing 2–4 sub-groupsShowing composition/proportion
LimitationCannot show sub-categoriesGets cluttered with too many groupsHard to compare exact segment sizes
ExampleTotal students per branchMale & Female per branchMale + Female stacked per branch

πŸ’‘ Key Distinction β€” Bar Diagram vs Histogram: Bar diagrams have gaps between bars (for categorical data). Histograms have no gaps between bars (for continuous data with class intervals). This is a crucial distinction tested in exams.
Introduction to Statistics
Unit I Β· Lecture 7

β€” Lecture 7 β€”

Advanced Graphical & Diagrammatic Representation

Histogram Β· Frequency Polygon Β· Pie Chart Β· Choosing the Right Diagram

Introduction to Statistics
Unit I Β· Lecture 7

πŸ“Š Histogram


πŸ“– Definition

A histogram is a graphical representation of a grouped frequency distribution using adjacent rectangles (bars with no gaps). Each rectangle represents a class interval, with the class interval on the X-axis and the frequency on the Y-axis. The area of each rectangle is proportional to the frequency of that class.


πŸ’‘ Key Properties

β€’ Bars are adjacent (no gaps) β€” because data is continuous
β€’ Bar width = class width
β€’ Bar height = frequency (when classes are equal width)
β€’ For unequal class widths: height = frequency density = frequency / class width
β€’ Used for continuous (grouped) data only

πŸ’‘ Histogram vs Bar Diagram:
Bar diagram: gaps between bars, categorical data, bar height = frequency
Histogram: no gaps, continuous data, area proportional to frequency

πŸ“ When to Use a Histogram

β€’ When data is continuous and divided into class intervals
β€’ When you want to see the shape of the distribution (symmetric, skewed, bimodal)
β€’ When you want to identify peaks, gaps, and outliers
β€’ NOT suitable for categorical data (use bar diagram instead)

πŸ“– Reading a Histogram

β€’ Tall bars = most observations fall in that range
β€’ Short bars = few observations
β€’ Shape: Symmetric (bell-shaped), right-skewed (tail to right), left-skewed (tail to left)

Introduction to Statistics
Unit I Β· Lecture 7

🎬 Visual: Histogram


Example: Marks of 40 students (from Lectures 4–5 data)


Marks (Class Intervals) Frequency 0 2 4 6 8 10 10 20 30 40 50 60 70 2 5 8 12 7 4 2 Marks Distribution β€” Histogram (No gaps between bars)
Introduction to Statistics
Unit I Β· Lecture 7

πŸ“ˆ Frequency Polygon


πŸ“– Definition

A frequency polygon is a line graph obtained by plotting the class marks (midpoints) on the X-axis and the corresponding frequencies on the Y-axis, then joining the points with straight lines. To close the polygon, two additional points with zero frequency are added at the ends (using the midpoints of the imaginary classes before the first and after the last class).


πŸ’‘ How to Construct

Step 1: Calculate the class mark (midpoint) of each class.
Step 2: Plot points: (class mark₁, f₁), (class markβ‚‚, fβ‚‚), ..., (class markβ‚™, fβ‚™).
Step 3: Add closing points: one class width before the first midpoint with f=0, and one class width after the last midpoint with f=0.
Step 4: Join all points with straight lines.

πŸ“ Properties

β€’ Always a closed polygon (starts and ends on the X-axis)
β€’ Can be drawn on a histogram by joining the midpoints of the tops of the bars
β€’ Useful for comparing two distributions on the same graph
β€’ The total area under the polygon equals the total area under the histogram

πŸ’‘ Frequency Polygon vs Ogive: A polygon plots class marks vs frequencies. An ogive plots class boundaries vs cumulative frequencies. They are fundamentally different graphs.
Introduction to Statistics
Unit I Β· Lecture 7

🎬 Visual: Frequency Polygon


Example: Same marks data β€” class marks vs frequencies, with closing points


Class Marks Frequency 0 3 6 9 12 5 15 25 35 45 55 65 75 0 2 5 8 12 7 4 2 Polygon closes at X-axis (f=0) on both ends Frequency Polygon β€” Class Marks vs Frequency
Introduction to Statistics
Unit I Β· Lecture 7

πŸ₯§ Pie Chart


πŸ“– Definition

A pie chart (or circle diagram) is a circular diagram divided into sectors (slices), where each sector represents a category. The angle (and hence the area) of each sector is proportional to the frequency or percentage of that category. The entire circle represents 100% of the data, or equivalently 360Β°.


πŸ’‘ Analogy: Cutting a Cake

Imagine a round cake representing the total data. Each person gets a slice proportional to their share. If Student A studies 30% of the time, their slice covers 30% of the cake (108Β° out of 360Β°).

πŸ“ Formula for Central Angle

Central angle of a sector = (Frequency of category / Total frequency) Γ— 360Β°

Or equivalently:
Central angle = (Percentage / 100) Γ— 360Β°

πŸ“ Example: Expenditure of a Student

CategoryAmount (β‚Ή)%Angle (Β°)
Food4,00040%144Β°
Rent2,50025%90Β°
Transport1,50015%54Β°
Books1,00010%36Β°
Misc.1,00010%36Β°
Total10,000100%360Β°

Introduction to Statistics
Unit I Β· Lecture 7

🎬 Visual: Pie Chart β€” Student Expenditure


Food β€” 40% (144Β°) Rent β€” 25% (90Β°) Transport β€” 15% (54Β°) Books β€” 10% (36Β°) Misc β€” 10% (36Β°) Total: β‚Ή10,000 Student Monthly Expenditure β€” Pie Chart Each sector angle = (Category amount / Total) Γ— 360Β°
Introduction to Statistics
Unit I Β· Lecture 7

🧭 Choosing the Right Diagram


DiagramBest ForData TypeKey Feature
Simple BarComparing categoriesCategorical / DiscreteEqual-width bars with gaps
Multiple BarComparing sub-groupsCategorical with 2+ variablesGrouped side-by-side
Component BarShowing compositionCategorical (parts of whole)Stacked segments
HistogramDistribution shapeContinuous (grouped)No gaps, area ∝ frequency
Freq. Polygon
Freq. Curve
Trends & comparisonContinuous (grouped)Line graph of class marks vs f
Pie ChartProportions / parts of wholeCategoricalSectors proportional to frequency
OgiveFinding median, percentilesContinuous (grouped)Cumulative frequency curve

πŸ’¬ Exam Tip: The most commonly tested distinctions are:
1. Bar diagram (gaps, categorical) vs Histogram (no gaps, continuous)
2. Frequency polygon (class marks vs f) vs Ogive (boundaries vs cumulative f)
3. Pie chart angle formula: Angle = (f / Ξ£f) Γ— 360Β°
Introduction to Statistics
Unit I Β· Lecture 8

β€” Lecture 8 β€”

Unit I Review & Problem-Solving

Consolidation of Lectures 1–7 Β· Mixed Problems Β· Exam-Style Practice

Introduction to Statistics
Unit I Β· Lecture 8

πŸ—ΊοΈ Unit I β€” Complete Concept Map


Unit I β€” Fundamentals πŸ“Š What is Statistics? πŸ”¬ Core Terms πŸ—‚οΈ Data Collection Descriptive Inferential Population / Sample Parameter / Statistic Variable / Attribute Primary / Secondary Qual. / Quant. Data πŸ—‚οΈ Organisation of Data Classification Frequency Distribution Cumulative Frequency πŸ“Š Representation of Data Bar, Multiple, Component Histogram, Polygon, Ogive Pie Chart
Introduction to Statistics
Unit I Β· Lecture 8

πŸ”‘ Unit I β€” Complete Summary (Lectures 1–7)


Introduction to Statistics
Unit I Β· Lecture 8

πŸ“ Exam-Style Problems β€” Unit I


πŸ“ Problem Set (Attempt all β€” Solutions below)

Q1. Explain the difference between descriptive and inferential statistics with one example each. (2 marks)

Q2. In a study of plant growth, a biologist measures the height of 50 plants selected from a farm of 5,000 plants. Identify: (a) Population, (b) Sample, (c) Parameter, (d) Statistic. (2 marks)

Q3. Classify the following as Nominal, Ordinal, Discrete, or Continuous: (i) Number of books on a shelf, (ii) Brand of laptop, (iii) Customer rating: 1–5 stars, (iv) Speed of a car in km/h. (2 marks)

Q4. The marks (out of 50) of 20 students are: 12, 35, 28, 41, 19, 33, 45, 22, 38, 27, 31, 44, 15, 36, 29, 42, 18, 34, 26, 40.
Construct a grouped frequency distribution with class width of 5 using the exclusive method. (3 marks)

Q5. Given: f = 4, 7, 10, 6, 3 for classes 10–20, 20–30, 30–40, 40–50, 50–60. Construct both "Less Than" and "More Than" cumulative frequency tables. (3 marks)

Q6. The monthly expenditure of a family is: Food β‚Ή8,000, Rent β‚Ή5,000, Education β‚Ή3,000, Transport β‚Ή2,000, Savings β‚Ή2,000. Construct a pie chart by computing the central angles. (3 marks)

Q7. What is the difference between a histogram and a bar diagram? Can one be used in place of the other? Explain with examples. (2 marks)

Q8. Convert the inclusive classes 5–9, 10–14, 15–19, 20–24 to exclusive form. Also calculate the class marks of the converted classes. (2 marks)

Introduction to Statistics
Unit I Β· Lecture 8

βœ… Solutions β€” Exam-Style Problems


Q1 Solution

Descriptive statistics summarises and presents data without making predictions. Example: The average marks of a class is 72.
Inferential statistics makes predictions about a population from a sample. Example: From a survey of 1,000 voters, we predict the election outcome for the entire state.

Q2 Solution

(a) Population: All 5,000 plants on the farm.
(b) Sample: The 50 plants selected and measured.
(c) Parameter: The true average height of all 5,000 plants (ΞΌ β€” unknown).
(d) Statistic: The average height of the 50 measured plants (xΜ„ β€” calculated from sample).

Q3 Solution

(i) Number of books on a shelf β†’ Discrete (countable whole numbers)
(ii) Brand of laptop β†’ Nominal (categories with no order)
(iii) Customer rating: 1–5 stars β†’ Ordinal (ordered categories)
(iv) Speed of a car β†’ Continuous (can take any numerical value)

Q4 Solution

Range = 45 βˆ’ 12 = 33. Classes with width 5, starting at 10:

ClassTallyf
10–15||2
15–20|||3
20–25||2
25–30||||4
30–35|||3
35–40|||3
40–45|||3
45–50β€”0
Total20

Q5 Solution

Classf"Less Than" CF"More Than" CF
10–204430
20–3071126
30–40102119
40–506279
50–603303

Q6 Solution

Total = 8000 + 5000 + 3000 + 2000 + 2000 = β‚Ή20,000

Categoryβ‚Ή%Angle
Food8,00040%144Β°
Rent5,00025%90Β°
Education3,00015%54Β°
Transport2,00010%36Β°
Savings2,00010%36Β°
Total20,000100%360Β°

Q7 Solution

Bar diagram: Gaps between bars, used for categorical/discrete data. Bar height = frequency.
Histogram: No gaps (adjacent bars), used for continuous grouped data. Area proportional to frequency.
No, they cannot be used interchangeably. A histogram for categorical data would incorrectly imply continuity. A bar diagram for continuous data would incorrectly show gaps.

Q8 Solution

InclusiveExclusiveClass Mark
5–94.5–9.57
10–149.5–14.512
15–1914.5–19.517
20–2419.5–24.522
Introduction to Statistics
Unit I Β· Lecture 8

🧠 Comprehensive Quiz β€” Unit I (L1–L7)


Q1: Which of the following is a parameter?

A) Average height of 100 sampled students
B) Average height of ALL students in the university
C) Height of one particular student
D) The sample size n

Q2: Data classified by region (North, South, East, West) is an example of:

A) Chronological classification
B) Geographical classification
C) Qualitative classification
D) Quantitative classification

Q3: In a histogram, the bars are:

A) Separated by gaps
B) Adjacent with no gaps
C) Circular sectors
D) Connected by curved lines only

Q4: The "More Than" cumulative frequency of the first class always equals:

A) 0
B) N (total observations)
C) The frequency of the first class
D) The class width

Q5: A pie chart sector for a category with 20% of the data has a central angle of:

A) 20Β°
B) 50Β°
C) 72Β°
D) 100Β°

Q6: Converting the inclusive class 25–29 to exclusive form gives:

A) 25–30
B) 24.5–29.5
C) 26–29
D) 25.5–28.5

Q7: An ogive is used to find:

A) Mean
B) Median
C) Mode
D) Standard deviation

Q8: "Number of children per family" is:

A) Continuous, qualitative
B) Discrete, quantitative
C) Continuous, quantitative
D) Nominal, qualitative

Q9: Which diagram has bars with equal width, gaps between bars, and is used for categorical data?

A) Bar diagram
B) Histogram
C) Pie chart
D) Frequency polygon

Q10: The frequency polygon requires plotting which values on the X-axis?

A) Class boundaries
B) Class marks (midpoints)
C) Cumulative frequencies
D) Tally marks
Introduction to Statistics
Unit I Β· Lecture 8

πŸ“ Homework β€” Unit I Comprehensive


πŸ“ Practice Tasks (for exam preparation)

1. Define statistics. Distinguish between descriptive and inferential statistics with two examples each.

2. Explain the terms: population, sample, parameter, statistic, variable, and attribute. Give one example of each.

3. A researcher collects data on the following: (a) Monthly rainfall in mm, (b) Religion of citizens, (c) Customer satisfaction: Low/Medium/High, (d) Number of accidents per month, (e) Temperature in Β°C, (f) Brand preference. Classify each as (i) primary or secondary, (ii) qualitative or quantitative, (iii) if quantitative: discrete or continuous; if qualitative: nominal or ordinal.

4. The weights (in kg) of 30 students are: 45, 52, 48, 55, 60, 47, 53, 58, 62, 50, 56, 49, 51, 57, 63, 46, 54, 59, 61, 48, 52, 55, 60, 47, 53, 58, 62, 50, 56, 49. Construct a grouped frequency distribution with class width 5 using the exclusive method. Compute class marks for each class.

5. For the data in Q4, construct (a) "Less Than" CF table, (b) "More Than" CF table, (c) "Less Than" ogive. Use the ogive to estimate the median.

6. Construct a histogram and a frequency polygon for the data in Q4.

7. The budget allocation of a company: Marketing β‚Ή15L, R&D β‚Ή10L, Production β‚Ή25L, HR β‚Ή5L, Admin β‚Ή5L. Draw a pie chart showing all angle calculations.

8. Explain with a diagram the difference between a histogram and a bar diagram. When would each be inappropriate?

9. Convert the following inclusive classes to exclusive: (a) 0–4, (b) 10–19, (c) 100–199, (d) 5–9. Calculate class marks for all.

10. BONUS: Find data from a newspaper or government website on any topic of your choice. Organise it into a frequency table, construct all relevant graphs, and write a 200-word analysis of what the data reveals.

Introduction to Statistics
Unit I Β· Lecture 8

Unit I Complete!


You now have a solid foundation in the fundamentals of statistics.


Upcoming: Unit II β€” Descriptive Measures I

Lecture 9–10: Measures of Central Tendency β€” Mean (Arithmetic, Weighted, Combined)
Lecture 11–12: Median, Mode, Empirical Relationship
Lecture 13–14: Partition Values β€” Quartiles, Deciles, Percentiles
Lecture 15: Review & Problem-Solving

Unit I Β· Lectures 6–8 Β· BDS113 Introduction to Statistics Β· B.Sc. Data Science, Semester II