Advertisements
Advertisements
Question
The data obtained on X, the length of time in weeks that a promotional project has been in progress at a small business, and Y, the percentage increase in weekly sales over the period just prior to the beginning of the campaign.
| X | 1 | 2 | 3 | 4 | 1 | 3 | 1 | 2 | 3 | 4 | 2 | 4 |
| Y | 10 | 10 | 18 | 20 | 11 | 15 | 12 | 15 | 17 | 19 | 13 | 16 |
Find the equation of the regression line to predict the percentage increase in sales if the campaign has been in progress for 1.5 weeks.
Advertisements
Solution
Here, X = Length of time in weeks,
Y = Percentage increase in weekly sales
| X = xi | Y = yi | `x_i^2` | xi yi |
| 1 | 10 | 1 | 10 |
| 2 | 10 | 4 | 20 |
| 3 | 18 | 9 | 54 |
| 4 | 20 | 16 | 80 |
| 1 | 11 | 1 | 11 |
| 3 | 15 | 9 | 45 |
| 1 | 12 | 1 | 12 |
| 2 | 15 | 4 | 30 |
| 3 | 17 | 9 | 51 |
| 4 | 19 | 16 | 76 |
| 2 | 13 | 4 | 26 |
| 4 | 16 | 16 | 64 |
| 30 | 176 | 90 | 479 |
From the table, we have
n = 12, ∑ xi = 30, ∑ yi = 176, `sum x_i^2 = 90`, ∑ xi yi = 479
∴ `bar x = (sum x_i)/"n" = 30/12 = 2.5`
`bar y = (sum y_i)/"n" = 176/12 = 14.67`
Now, `"b"_"YX" = (sum"x"_"i" "y"_"i" - "n" bar "x" bar "y")/(sum "x"_"i"^2 - "n" bar "x"^2)`
`= (479 - 12 xx 2.5 xx 14.67)/(90 - 12 xx (2.5)^2)`
`= (479 - 440.1)/(90 - 75) = 38.9/15 = 2.59`
Also,
`"a" = bar y - "b"_"YX" bar x`
= 14.67 - 2.59 × 2.5 = 14.67 - 6.475 = 8.195
∴ a ≈ 8.2
∴ The regression equation of percentage increase in weekly sales (Y) on length of weeks (X) is
Y = a + bYX + X
i.e., Y = 8.2 + 2.59 X
For X = 1.5, we get
Y = 8.2 + 2.59(1.5) = 8.2 + 3.885 = 12.085
∴ Increase in sales is 12.085% if the campaign has been in progress for 1.5 weeks.
APPEARS IN
RELATED QUESTIONS
The equations given of the two regression lines are 2x + 3y - 6 = 0 and 5x + 7y - 12 = 0.
Find:
(a) Correlation coefficient
(b) `sigma_x/sigma_y`
Find the equation of the regression line of y on x, if the observations (x, y) are as follows :
(1,4),(2,8),(3,2),(4,12),(5,10),(6,14),(7,16),(8,6),(9,18)
Also, find the estimated value of y when x = 14.
Find the feasible solution for the following system of linear inequations:
0 ≤ x ≤ 3, 0 ≤ y ≤ 3, x + y ≤ 5, 2x + y ≥ 4
If Σx1 = 56 Σy1 = 56, Σ`x_1^2` = 478,
Σ`y_1^2` = 476, Σx1y1 = 469 and n = 7, Find
(a) the regression equation of y on x.
(b) y, if x = 12.
For the given lines of regression, 3x – 2y = 5 and x – 4y = 7, find:
(a) regression coefficients byx and bxy
(b) coefficient of correlation r (x, y)
For the following bivariate data obtain the equations of two regression lines:
| X | 1 | 2 | 3 | 4 | 5 |
| Y | 5 | 7 | 9 | 11 | 13 |
From the data of 20 pairs of observations on X and Y, following results are obtained.
`barx` = 199, `bary` = 94,
`sum(x_i - barx)^2` = 1200, `sum(y_i - bary)^2` = 300,
`sum(x_i - bar x)(y_i - bar y)` = –250
Find:
- The line of regression of Y on X.
- The line of regression of X on Y.
- Correlation coefficient between X and Y.
Given the following data, obtain a linear regression estimate of X for Y = 10, `bar x = 7.6, bar y = 14.8, sigma_x = 3.2, sigma_y = 16` and r = 0.7
bYX is ______.
The equation of the line of regression of y on x is y = `2/9` x and x on y is x = `"y"/2 + 7/6`.
Find (i) r, (ii) `sigma_"y"^2 if sigma_"x"^2 = 4`
From the two regression equations y = 4x – 5 and 3x = 2y + 5, find `bar x and bar y`.
The equations of the two lines of regression are 3x + 2y − 26 = 0 and 6x + y − 31 = 0 Find
- Means of X and Y
- Correlation coefficient between X and Y
- Estimate of Y for X = 2
- var (X) if var (Y) = 36
Regression equation of X on Y is_________
Choose the correct alternative:
The slope of the line of regression of y on x is called the ______
Choose the correct alternative:
u = `(x - 20)/5` and v = `(y - 30)/4`, then bxy =
Choose the correct alternative:
y = 5 – 2.8x and x = 3 – 0.5 y be the regression lines, then the value of byx is
State whether the following statement is True or False:
The equations of two regression lines are 10x – 4y = 80 and 10y – 9x = 40. Then bxy = 0.9
State whether the following statement is True or False:
bxy is the slope of regression line of y on x
The age in years of 7 young couples is given below. Calculate husband’s age when wife’s age is 38 years.
| Husband (x) | 21 | 25 | 26 | 24 | 22 | 30 | 20 |
| Wife (y) | 19 | 20 | 24 | 20 | 22 | 24 | 18 |
The equations of the two lines of regression are 6x + y − 31 = 0 and 3x + 2y – 26 = 0. Calculate the mean values of x and y
Two samples from bivariate populations have 15 observations each. The sample means of X and Y are 25 and 18 respectively. The corresponding sum of squares of deviations from means are 136 and 148 respectively. The sum of product of deviations from respective means is 122. Obtain the regression equation of x on y
If n = 5, Σx = Σy = 20, Σx2 = Σy2 = 90, Σxy = 76 Find the regression equation of x on y
If n = 6, Σx = 36, Σy = 60, Σxy = –67, Σx2 = 50, Σy2 =106, Estimate y when x is 13
The regression equation of x on y is 40x – 18y = 214 ......(i)
The regression equation of y on x is 8x – 10y + 66 = 0 ......(ii)
Solving equations (i) and (ii),
`barx = square`
`bary = square`
∴ byx = `square/square`
∴ bxy = `square/square`
∴ r = `square`
Given variance of x = 9
∴ byx = `square/square`
∴ `sigma_y = square`
Complete the following activity to find, the equation of line of regression of Y on X and X on Y for the following data:
Given:`n=8,sum(x_i-barx)^2=36,sum(y_i-bary)^2=40,sum(x_i-barx)(y_i-bary)=24`
Solution:
Given:`n=8,sum(x_i-barx)=36,sum(y_i-bary)^2=40,sum(x_i-barx)(y_i-bary)=24`
∴ `b_(yx)=(sum(x_i-barx)(y_i-bary))/(sum(x_i-barx)^2)=square`
∴ `b_(xy)=(sum(x_i-barx)(y_i-bary))/(sum(y_i-bary)^2)=square`
∴ regression equation of Y on :
`y-bary=b_(yx)(x-barx)` `y-bary=square(x-barx)`
`x-barx=b_(xy)(y-bary)` `x-barx=square(y-bary)`
For a bivariate data `barx = 10`, `bary = 12`, V(X) = 9, σy = 4 and r = 0.6
Estimate y when x = 5
Solution: Line of regression of Y on X is
`"Y" - bary = square ("X" - barx)`
∴ Y − 12 = `r.(σ_y)/(σ_x)("X" - 10)`
∴ Y − 12 = `0.6 xx 4/square ("X" - 10)`
∴ When x = 5
Y − 12 = `square(5 - 10)`
∴ Y − 12 = −4
∴ Y = `square`
