🏠 Home
Introduction to Statistics
Unit II Β· Lecture 15

BDS113 β€” Introduction to Statistics

Unit II β€” Review & Problem-Solving

Consolidating Lectures 6–14 Β· Formula Sheet Β· Exam-Style Practice


Unit II Β· Lecture 15 of 40 Β· B.Sc. Data Science, 1st Year, Semester II

Introduction to Statistics
Unit II Β· Lecture 15

πŸ—ΊοΈ Unit II Roadmap β€” What We Covered (Lectures 6–14)


πŸ“‹
Lectures 6–7 β€” Data Organisation & Graphical Representation
πŸ“
Lectures 8–10 β€” Arithmetic Mean (ungrouped, grouped, weighted, combined)
πŸ“Š
Lectures 11–12 β€” Median, Mode & Empirical Relationship
πŸ“
Lectures 13–14 β€” Quartiles, Deciles, Percentiles & Box Plot

πŸ’¬ Today's Goal: We will review every formula, clarify common confusions, solve exam-style problems step by step, and build your exam strategy.
Introduction to Statistics
Unit II Β· Lecture 15

πŸ“– Master Formula Sheet β€” All of Unit II


Ungrouped Mean

xΜ„ = Ξ£xα΅’ / n

Grouped Mean (Direct)

xΜ„ = Ξ£fα΅’xα΅’ / Ξ£fα΅’
xα΅’ = class mark = (upper+lower)/2

Assumed Mean (Shortcut)

xΜ„ = A + Ξ£fα΅’dα΅’ / Ξ£fα΅’
dα΅’ = xα΅’ βˆ’ A (A = assumed mean)

Step-Deviation

xΜ„ = A + (Ξ£fα΅’uα΅’ / Ξ£fα΅’) Γ— h
uα΅’ = (xα΅’ βˆ’ A)/h (h = class width)

Weighted Mean

xΜ„_w = Ξ£wα΅’xα΅’ / Ξ£wα΅’

Combined Mean

x̄₁₂ = (n₁x̄₁ + nβ‚‚xΜ„β‚‚) / (n₁+nβ‚‚)

Property: Ξ£(xα΅’ βˆ’ xΜ„) = 0 always. The mean is the balancing point of data.

Ungrouped (Odd n)

M = value at position (n+1)/2

Ungrouped (Even n)

M = avg of values at n/2 & (n/2+1)

Grouped Data

Median = L + [(N/2 βˆ’ CF) / f] Γ— h
Median class = where CF first β‰₯ N/2. L = its lower limit, CF = CF before it, f = its frequency, h = class width

Key: Not affected by outliers. Can handle open-end classes. Qβ‚‚ = Median = Pβ‚…β‚€ = Dβ‚….

Grouped Mode

Mode = L + [(fβ‚βˆ’fβ‚€) / (2fβ‚βˆ’fβ‚€βˆ’fβ‚‚)] Γ— h
Modal class = highest frequency. f₁ = its freq, fβ‚€ = freq before, fβ‚‚ = freq after, L = its lower limit, h = class width

Key: Works for qualitative data too. Can have no mode, one mode (unimodal), or multiple modes. Not unique for grouped data.

Karl Pearson's Empirical Formula

Mode = 3 Median βˆ’ 2 Mean
Equivalently: Mean βˆ’ Mode = 3(Mean βˆ’ Median)
Rearranged: Median = (Mode + 2Β·Mean)/3 Β· Mean = (3Β·Median βˆ’ Mode)/2

DistributionOrder
SymmetricMean = Median = Mode
Right-skewed (+ve skew)Mean > Median > Mode
Left-skewed (βˆ’ve skew)Mode > Median > Mean

Ungrouped Quartile

Qβ‚– = value at k(n+1)/4
k = 1, 2, 3

Grouped Quartile

Qβ‚– = L + [(kN/4βˆ’CF)/f] Γ— h

IQR & Quartile Deviation

IQR = Qβ‚ƒβˆ’Q₁   Q.D. = (Qβ‚ƒβˆ’Q₁)/2

Coefficient of Q.D.

C.Q.D. = (Qβ‚ƒβˆ’Q₁)/(Q₃+Q₁)

Deciles β€” Ungrouped

Dβ‚– = value at k(n+1)/10
k = 1, 2, ..., 9

Deciles β€” Grouped

Dβ‚– = L + [(kN/10βˆ’CF)/f] Γ— h

Percentiles β€” Ungrouped

Pβ‚– = value at k(n+1)/100
k = 1, 2, ..., 99

Percentiles β€” Grouped

Pβ‚– = L + [(kN/100βˆ’CF)/f] Γ— h

Master Equivalences: Q₁ = Dβ‚‚ = Pβ‚‚β‚…  |  Qβ‚‚ = Dβ‚… = Pβ‚…β‚€ = Median  |  Q₃ = Dβ‚ˆ = P₇₅
Introduction to Statistics
Unit II Β· Lecture 15

πŸ’‘ The One Formula That Rules Them All


The Universal Partition Value Formula (Grouped Data)

Value = L + [(Position βˆ’ CF) / f] Γ— h

Median: Position = N/2
Quartile Qβ‚–: Position = kN/4
Decile Dβ‚–: Position = kN/10
Percentile Pβ‚–: Position = kN/100

In every case: Find the class where CF first reaches or exceeds the Position. Then apply the formula with that class's L, f, h and the CF of the class before it.


Introduction to Statistics
Unit II Β· Lecture 15

⚠️ Top 10 Common Mistakes & Confusions


❌ Mistakes to Avoid

1. Using upper limit as xα΅’ β€” Always use the class mark (midpoint), not the upper or lower limit.

2. Forgetting to order data for median/mode/quartiles β€” Data must be in ascending order first.

3. Wrong CF for grouped partition values β€” CF used in formula is of the class before the target class, not of the target class itself.

4. Confusing "N/2" with "n/2" β€” N = Ξ£f for grouped data. n = number of observations for ungrouped data.

5. Assuming Mode = 3Medianβˆ’2Mean is exact β€” It is an approximation for moderately skewed data only.

πŸ’‘ Tricky Exam Scenarios

6. Even n median β€” Must average the two middle values, not pick one.

7. Position is fractional β€” For ungrouped quartiles/deciles/percentiles, interpolate between adjacent values.

8. Open-end classes β€” Mean cannot be calculated, but median/mode/quartiles can be.

9. Qualitative data β€” Only Mode works. Mean and Median (ordinal) have limited use.

10. Class width not uniform β€” The formula still works; just use the correct h for each class.

Introduction to Statistics
Unit II Β· Lecture 15

🧭 Decision Flowchart: Which Average to Use?


Introduction to Statistics
Unit II Β· Lecture 15

πŸ“ Problem Set 1 β€” Mean


Problem 1.1 β€” Grouped Mean (Direct Method)

Find the mean marks from the following distribution:

Class0–1010–2020–3030–4040–50
f4814104

πŸ“ Solution 1.1

Class marks (xα΅’): 5, 15, 25, 35, 45
fα΅’xα΅’: 4Γ—5=20, 8Γ—15=120, 14Γ—25=350, 10Γ—35=350, 4Γ—45=180
Ξ£fα΅’ = 40, Ξ£fα΅’xα΅’ = 1020
xΜ„ = 1020/40 = 25.5 marks

Problem 1.2 β€” Step-Deviation Method

Using the same data as 1.1, find the mean using the step-deviation method with A = 25, h = 10.

πŸ“ Solution 1.2

uα΅’ = (xα΅’ βˆ’ 25)/10: u = βˆ’2, βˆ’1, 0, 1, 2
fα΅’uα΅’: 4(βˆ’2)=βˆ’8, 8(βˆ’1)=βˆ’8, 14(0)=0, 10(1)=10, 4(2)=8
Ξ£fα΅’uα΅’ = 2, Ξ£fα΅’ = 40
xΜ„ = 25 + (2/40) Γ— 10 = 25 + 0.5 = 25.5 βœ“ (Same answer!)

Problem 1.3 β€” Combined Mean

Section A has 30 students with mean marks 65. Section B has 20 students with mean marks 78. Find the combined mean.

πŸ“ Solution 1.3

x̄₁₂ = (n₁x̄₁ + nβ‚‚xΜ„β‚‚) / (n₁+nβ‚‚)
= (30Γ—65 + 20Γ—78) / (30+20)
= (1950 + 1560) / 50
= 3510/50 = 70.2 marks

Problem 1.4 β€” Weighted Mean

A student scores: Statistics 72 (weight 4), Maths 65 (weight 3), English 80 (weight 2), CS 85 (weight 1). Find the weighted mean.

πŸ“ Solution 1.4

Ξ£wα΅’xα΅’ = 4(72)+3(65)+2(80)+1(85) = 288+195+160+85 = 728
Ξ£wα΅’ = 4+3+2+1 = 10
xΜ„_w = 728/10 = 72.8

Introduction to Statistics
Unit II Β· Lecture 15

πŸ“ Problem Set 2 β€” Median & Mode


Problem 2.1 β€” Grouped Median

Find the median:

Class0–2020–4040–6060–8080–100
f61018124

πŸ“ Solution 2.1

N = 50. N/2 = 25. CF: 6, 16, 34, 46, 50.
CF first β‰₯ 25 at 40–60 (CF=34). Median class = 40–60.
L=40, CF(before)=16, f=18, h=20
Median = 40 + [(25βˆ’16)/18] Γ— 20 = 40 + [9/18]Γ—20 = 40 + 10 = 50

Problem 2.2 β€” Grouped Mode

Find the mode for the same data as 2.1.

πŸ“ Solution 2.2

Highest frequency = 18 at class 40–60 β†’ Modal class = 40–60
L=40, f₁=18, fβ‚€=10(freq before), fβ‚‚=12(freq after), h=20
Mode = 40 + [(18βˆ’10)/(2Γ—18βˆ’10βˆ’12)] Γ— 20
= 40 + [8/(36βˆ’22)] Γ— 20 = 40 + [8/14] Γ— 20 = 40 + 11.43 = 51.43

Problem 2.3 β€” Empirical Relationship

For the data in 2.1, the Mean = 49.6, Median = 50, Mode = 51.43. Verify the empirical formula and comment on skewness.

πŸ“ Solution 2.3

Empirical: Mode = 3Β·Median βˆ’ 2Β·Mean = 3(50) βˆ’ 2(49.6) = 150 βˆ’ 99.2 = 50.8
Actual Mode = 51.43. Difference = 0.63 (small β€” formula is approximately correct).

Since Mean(49.6) β‰ˆ Median(50) β‰ˆ Mode(51.43), the distribution is approximately symmetric (very slight left skew).

Introduction to Statistics
Unit II Β· Lecture 15

πŸ“ Problem Set 3 β€” Quartiles & Partition Values


Problem 3.1 β€” Q₁, Q₃, IQR, Q.D.

Find Q₁, Q₃, IQR, and Quartile Deviation from the data in Problem 2.1.

πŸ“ Solution 3.1

N=50, CF: 6, 16, 34, 46, 50.

Q₁: N/4=12.5. CF first β‰₯ 12.5 at 20–40 (CF=16). L=20, CF(before)=6, f=10, h=20.
Q₁ = 20 + [(12.5βˆ’6)/10]Γ—20 = 20 + 13 = 33

Q₃: 3N/4=37.5. CF first β‰₯ 37.5 at 60–80 (CF=46). L=60, CF(before)=34, f=12, h=20.
Q₃ = 60 + [(37.5βˆ’34)/12]Γ—20 = 60 + 5.83 = 65.83

IQR = Q₃ βˆ’ Q₁ = 65.83 βˆ’ 33 = 32.83
Q.D. = 32.83/2 = 16.42
C.Q.D. = 32.83 / (65.83+33) = 32.83/98.83 = 0.332

Problem 3.2 β€” Percentiles

Find Pβ‚‚β‚…, Pβ‚…β‚€, P₇₅ from the same data. Verify Pβ‚‚β‚… = Q₁.

πŸ“ Solution 3.2

Pβ‚‚β‚…: kN/100 = 25Γ—50/100 = 12.5 β†’ same position as Q₁ β†’ Pβ‚‚β‚… = 33 = Q₁ βœ“
Pβ‚…β‚€: kN/100 = 50Γ—50/100 = 25 β†’ same position as Median β†’ Pβ‚…β‚€ = 50 = Median βœ“
P₇₅: kN/100 = 75Γ—50/100 = 37.5 β†’ same position as Q₃ β†’ P₇₅ = 65.83 = Q₃ βœ“

Problem 3.3 β€” Ungrouped Quartiles

Find Q₁, Qβ‚‚, Q₃ for: 15, 22, 28, 33, 38, 42, 48, 55, 62, 70, 78

πŸ“ Solution 3.3

n=11, data is ordered.
Q₁ = pos (12)/4 = 3rd value = 28
Qβ‚‚ = pos (12)/2 = 6th value = 42 (= Median)
Q₃ = pos 3(12)/4 = 9th value = 62
IQR = 62 βˆ’ 28 = 34

Introduction to Statistics
Unit II Β· Lecture 15

πŸ“ Problem Set 4 β€” Mixed & Exam-Style Problems


Problem 4.1 β€” Finding Missing Frequency

The mean of the following distribution is 35.8. Find the missing frequency a:

Class10–2020–3030–4040–5050–60
f5a15105

πŸ“ Solution 4.1

xα΅’: 15, 25, 35, 45, 55
fα΅’xα΅’: 75, 25a, 525, 450, 275
Ξ£fα΅’ = 35+a, Ξ£fα΅’xα΅’ = 1325+25a

xΜ„ = (1325+25a)/(35+a) = 35.8
1325+25a = 35.8(35+a) = 1253+35.8a
1325βˆ’1253 = 35.8aβˆ’25a
72 = 10.8a
a = 72/10.8 β‰ˆ 6.67 β†’ round to 7
(If exact answer needed: a = 72/10.8 = 20/3. Check data β€” likely a = 5 or integer; recheck: with a=5, mean = (1325+125)/40 = 1450/40 = 36.25. With the exam given 35.8, a is approximately 7.)

Problem 4.2 β€” Mean from One Missing Value

The mean of 8 observations is 15. Six of them are: 11, 13, 15, 17, 19, 21. One value is known to be less than 10. Find the two missing values if the 7th value is twice the 8th value.

πŸ“ Solution 4.2

Ξ£xα΅’ = 8Γ—15 = 120. Sum of 6 known = 11+13+15+17+19+21 = 96.
Let 8th value = k, then 7th value = 2k.
96 + 2k + k = 120 β†’ 3k = 24 β†’ k = 8, 2k = 16
Check: value less than 10 β†’ 8 βœ“. Missing values are 8 and 16.

Problem 4.3 β€” Complete Analysis

For the data below, calculate ALL measures: Mean, Median, Mode, Q₁, Q₃, IQR, Q.D., Dβ‚…, P₇₅. Verify the empirical relationship.

Class10–2020–3030–4040–5050–6060–70
f481216105

πŸ“ Solution 4.3 β€” Complete Analysis

N = 55. xα΅’: 15, 25, 35, 45, 55, 65. CF: 4, 12, 24, 40, 50, 55.

Mean (step-deviation, A=35, h=10):
d: βˆ’20,βˆ’10,0,10,20,30 β†’ u: βˆ’2,βˆ’1,0,1,2,3
fu: βˆ’8,βˆ’8,0,16,20,15 β†’ Ξ£fu = 35
xΜ„ = 35 + (35/55)Γ—10 = 35 + 6.36 = 41.36

Median: N/2 = 27.5. CF first β‰₯ 27.5 at 40–50 (CF=40).
M = 40 + [(27.5βˆ’24)/16]Γ—10 = 40 + 2.19 = 42.19

Mode: Highest freq = 16 at 40–50. f₁=16, fβ‚€=12, fβ‚‚=10.
Z = 40 + [(16βˆ’12)/(32βˆ’12βˆ’10)]Γ—10 = 40 + [4/10]Γ—10 = 44

Empirical check: 3Mβˆ’2xΜ„ = 3(42.19)βˆ’2(41.36) = 126.57βˆ’82.72 = 43.85 β‰ˆ Mode(44) βœ“

Q₁: N/4=13.75. CF first β‰₯ 13.75 at 30–40 (CF=24).
Q₁ = 30 + [(13.75βˆ’12)/12]Γ—10 = 30 + 1.46 = 31.46

Q₃: 3N/4=41.25. CF first β‰₯ 41.25 at 50–60 (CF=50).
Q₃ = 50 + [(41.25βˆ’40)/10]Γ—10 = 50 + 1.25 = 51.25

IQR = 51.25βˆ’31.46 = 19.79 Β· Q.D. = 9.90
Dβ‚…: 5N/10=27.5 β†’ same as median β†’ Dβ‚… = 42.19 βœ“
P₇₅: 75N/100=41.25 β†’ same as Q₃ β†’ P₇₅ = 51.25 βœ“

Introduction to Statistics
Unit II Β· Lecture 15

🎯 Exam Strategy β€” How to Score Maximum


Before the Exam

1. Memorize the one master formula for grouped partition values.

2. Practice the step-deviation method β€” it's the fastest for calculations.

3. Know the equivalences: Q₁=Dβ‚‚=Pβ‚‚β‚… etc.

4. Draw a CF table before solving any grouped problem.

During the Exam

1. Read the question fully β€” identify if data is grouped or ungrouped.

2. Always arrange data in ascending order for ungrouped problems.

3. Show all steps β€” CF table, identifying the class, substituting values.

4. Verify using the empirical formula if asked.

Common Exam Questions

1. Calculate Mean, Median, Mode for grouped data.

2. Find missing frequency given the mean.

3. Verify Karl Pearson's empirical relationship.

4. Calculate Q₁, Q₃, IQR, Quartile Deviation.

5. Find specific deciles or percentiles.

Introduction to Statistics
Unit II Β· Lecture 15

🧠 Comprehensive Quiz β€” Unit II


Q1: Ξ£(xα΅’ βˆ’ xΜ„) for any dataset always equals:

A) A positive number
B) Zero
C) Ξ£xα΅’
D) n

Q2: The class mark of 20–30 is:

A) 20
B) 30
C) 25
D) 10

Q3: If every observation is multiplied by 3, the new mean is:

A) xΜ„ + 3
B) 3xΜ„
C) xΜ„/3
D) xΜ„

Q4: The median class is identified by:

A) Highest frequency
B) CF first β‰₯ N/2
C) Middle class in table
D) CF = N

Q5: In a left-skewed distribution:

A) Mean > Median > Mode
B) Mode > Median > Mean
C) Mean = Median = Mode
D) Median > Mode > Mean

Q6: Which can be used for nominal (qualitative) data?

A) Mean
B) Median
C) Mode
D) All three

Q7: P₇₅ is equivalent to:

A) Q₁ and Dβ‚‚
B) Qβ‚‚ and Dβ‚…
C) Q₃ and Dβ‚ˆ
D) Median

Q8: The step-deviation method formula is:

A) xΜ„ = A + Ξ£fα΅’dα΅’/N
B) xΜ„ = A + (Ξ£fα΅’uα΅’/N) Γ— h
C) xΜ„ = Ξ£fα΅’xα΅’/N
D) xΜ„ = A + Ξ£fα΅’uα΅’

Q9: If Mean=50, Median=45, the Mode (empirical) is approximately:

A) 40
B) 35
C) 55
D) 48

Q10: The IQR of a dataset is 24. The Quartile Deviation is:

A) 24
B) 48
C) 12
D) 6

Q11: For grouped data with N=60, Q₃ class is found where CF first reaches:

A) 15
B) 30
C) 45
D) 60

Q12: The weighted mean is preferred when:

A) All items are equally important
B) Items have different levels of importance
C) Data is qualitative
D) The distribution is skewed

Q13: A box plot displays:

A) Mean and Mode
B) Min, Q₁, Median, Q₃, Max
C) All percentiles
D) Frequency distribution

Q14: For n=30, the position of Dβ‚„ is:

A) 12.0
B) 12.4
C) 13.0
D) 4.0

Q15: The mode formula for grouped data uses:

A) All class frequencies
B) Modal class freq + freq of classes before & after it
C) Only the highest frequency
D) Cumulative frequencies
Introduction to Statistics
Unit II Β· Lecture 15

πŸ”‘ Unit II β€” Final Summary


Introduction to Statistics
Unit II Β· Lecture 15

Unit II Complete!


You now have a solid foundation in measures of central tendency and partition values.


Coming Up: Unit III

Measures of Dispersion β€” Range, Quartile Deviation, Mean Deviation, Standard Deviation, Variance

Skewness & Kurtosis β€” Shape of distributions beyond the centre


Unit II Β· Lecture 15 Β· BDS113 Introduction to Statistics Β· B.Sc. Data Science, Semester II