Problem 1.1 β Grouped Mean (Direct Method)
Find the mean marks from the following distribution:
| Class | 0β10 | 10β20 | 20β30 | 30β40 | 40β50 |
|---|---|---|---|---|---|
| f | 4 | 8 | 14 | 10 | 4 |
Unit II Β· Lecture 15 of 40 Β· B.Sc. Data Science, 1st Year, Semester II
Property: Ξ£(xα΅’ β xΜ) = 0 always. The mean is the balancing point of data.
Key: Not affected by outliers. Can handle open-end classes. Qβ = Median = Pβ β = Dβ .
Key: Works for qualitative data too. Can have no mode, one mode (unimodal), or multiple modes. Not unique for grouped data.
| Distribution | Order |
|---|---|
| Symmetric | Mean = Median = Mode |
| Right-skewed (+ve skew) | Mean > Median > Mode |
| Left-skewed (βve skew) | Mode > Median > Mean |
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.
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.
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.
Find the mean marks from the following distribution:
| Class | 0β10 | 10β20 | 20β30 | 30β40 | 40β50 |
|---|---|---|---|---|---|
| f | 4 | 8 | 14 | 10 | 4 |
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
Using the same data as 1.1, find the mean using the step-deviation method with A = 25, h = 10.
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!)
Section A has 30 students with mean marks 65. Section B has 20 students with mean marks 78. Find the combined mean.
xΜββ = (nβxΜβ + nβxΜβ) / (nβ+nβ)
= (30Γ65 + 20Γ78) / (30+20)
= (1950 + 1560) / 50
= 3510/50 = 70.2 marks
A student scores: Statistics 72 (weight 4), Maths 65 (weight 3), English 80 (weight 2), CS 85 (weight 1). Find the weighted mean.
Ξ£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
Find the median:
| Class | 0β20 | 20β40 | 40β60 | 60β80 | 80β100 |
|---|---|---|---|---|---|
| f | 6 | 10 | 18 | 12 | 4 |
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
Find the mode for the same data as 2.1.
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
For the data in 2.1, the Mean = 49.6, Median = 50, Mode = 51.43. Verify the empirical formula and comment on skewness.
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).
Find Qβ, Qβ, IQR, and Quartile Deviation from the data in Problem 2.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
Find Pββ , Pβ β, Pββ from the same data. Verify Pββ = Qβ.
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β β
Find Qβ, Qβ, Qβ for: 15, 22, 28, 33, 38, 42, 48, 55, 62, 70, 78
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
The mean of the following distribution is 35.8. Find the missing frequency a:
| Class | 10β20 | 20β30 | 30β40 | 40β50 | 50β60 |
|---|---|---|---|---|---|
| f | 5 | a | 15 | 10 | 5 |
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.)
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.
Ξ£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.
For the data below, calculate ALL measures: Mean, Median, Mode, Qβ, Qβ, IQR, Q.D., Dβ , Pββ . Verify the empirical relationship.
| Class | 10β20 | 20β30 | 30β40 | 40β50 | 50β60 | 60β70 |
|---|---|---|---|---|---|---|
| f | 4 | 8 | 12 | 16 | 10 | 5 |
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 β
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.
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.
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.
Q1: Ξ£(xα΅’ β xΜ) for any dataset always equals:
Q2: The class mark of 20β30 is:
Q3: If every observation is multiplied by 3, the new mean is:
Q4: The median class is identified by:
Q5: In a left-skewed distribution:
Q6: Which can be used for nominal (qualitative) data?
Q7: Pββ is equivalent to:
Q8: The step-deviation method formula is:
Q9: If Mean=50, Median=45, the Mode (empirical) is approximately:
Q10: The IQR of a dataset is 24. The Quartile Deviation is:
Q11: For grouped data with N=60, Qβ class is found where CF first reaches:
Q12: The weighted mean is preferred when:
Q13: A box plot displays:
Q14: For n=30, the position of Dβ is:
Q15: The mode formula for grouped data uses:
You now have a solid foundation in measures of central tendency and partition values.
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