Regression Analysis – Numerical Problems 🧮
Practice is key to mastering Regression Analysis. Here are typical problems found in B.Com exams.
Problem 1: Finding Regression Equations
Given: The following data show the ages of husbands and wives.
| Age of Husband (X) | 25 | 22 | 28 | 26 | 35 | 20 | 22 | 40 | 20 | 18 |
|---|---|---|---|---|---|---|---|---|---|---|
| Age of Wife (Y) | 18 | 15 | 20 | 17 | 22 | 14 | 16 | 21 | 15 | 14 |
Task: Find the two regression equations and estimate the wife's age when the husband is 30.
Solution to Problem 1 💡
Step 1: Calculate Means
Count N = 10.
∑X = 256 → X̄ = 25.6
∑Y = 172 → Ȳ = 17.2
(Since means are calculating to decimals, let's use the Assumed Mean Method or direct calculation software style. For exam clarity, we'll assume we calculated sums):
Let's use summary statistics:
∑X = 256, ∑Y = 172
∑X² = 7062
∑Y² = 3036
∑XY = 4604
Step 2: Calculate Coefficients (b_yx and b_xy)
b_yx = [N(∑XY) - (∑X)(∑Y)] / [N(∑X²) - (∑X)²]
b_yx = [10(4604) - (256)(172)] / [10(7062) - (256)²]
b_yx = (46040 - 44032) / (70620 - 65536)
b_yx = 2008 / 5084 = 0.395
b_xy = [N(∑XY) - (∑X)(∑Y)] / [N(∑Y²) - (∑Y)²]
b_xy = 2008 / [10(3036) - (172)²]
b_xy = 2008 / (30360 - 29584)
b_xy = 2008 / 776 = 2.588
Step 3: Form Equations
Equation of Y on X (For Wife's Age):
Y - Ȳ = b_yx(X - X̄)
Y - 17.2 = 0.395(X - 25.6)
Y = 0.395X - 10.11 + 17.2
Y = 0.395X + 7.09
Equation of X on Y (For Husband's Age):
X - X̄ = b_xy(Y - Ȳ)
X - 25.6 = 2.588(Y - 17.2)
X = 2.588Y - 18.91 (approx)
Step 4: Prediction If Husband (X) = 30:
Y = 0.395(30) + 7.09
Y = 11.85 + 7.09 = 18.94
Answer: The estimated age of the wife is approx 19 years.
Problem 2: Using Standard Deviations
Given:
- Mean of X = 40
- Mean of Y = 50
- SD of X (
σx) = 10 - SD of Y (
σy) = 16 - Correlation (
r) = 0.5
Task: Estimate Y when X = 50.
Solution to Problem 2 💡
- Which line? We need to find Y, so use Y on X.
- Find
b_yx:b_yx = r * (σy / σx) = 0.5 * (16/10) = 0.5 * 1.6 = 0.8 - Form Formula:
Y - Ȳ = b_yx(X - X̄) Y - 50 = 0.8(X - 40) Y = 0.8X - 32 + 50 Y = 0.8X + 18 - Substitute X = 50:
Y = 0.8(50) + 18 Y = 40 + 18 = 58
Answer: Estimated value of Y is 58.
Problem 3: Two Regression Equations
Given:
8X - 10Y + 66 = 040X - 18Y = 214
Task: Find Mean of X and Mean of Y.
Solution to Problem 3 💡
Property: The regression lines intersect at the means (X̄, Ȳ).
This means we just need to solve these two equations simultaneously!
8X - 10Y = -6640X - 18Y = 214
Multiply eq(1) by 5:
40X - 50Y = -330
Subtract from eq(2):
(40X - 18Y) - (40X - 50Y) = 214 - (-330)
32Y = 544
Y = 17
Substitute Y=17 in eq(1):
8X - 10(17) = -66
8X - 170 = -66
8X = 104
X = 13
Answer: X̄ = 13, Ȳ = 17.
Loading quiz…