In: Statistics and Probability
The following data represent a company’s yearly sales volume and its advertising expenditure over a period of 8 years.
Year Sales (Y) Advertising (X)
1989 15 32
1990 16 33
1991 18 35
1992 17 34
1993 16 36
1994 19 37
1995 19 39
1996 24 42
a.
b.
Sum of X = 288
Sum of Y = 144
Mean X = 36
Mean Y = 18
Sum of squares (SSX) = 76
Sum of products (SP) = 60
Regression Equation = ŷ = bX + a
b = SP/SSX = 60/76 =
0.7895
a = MY - bMX = 18 -
(0.79*36) = -10.4211
ŷ = 0.7895X - 10.4211
c. For x=40, ŷ = (0.7895*40) - 10.4211=21.1589
d. As slope value is positive, there is positive relationship between advertising and sales
For every increase in x, y will change 0.7895 correspondingly and it is slope value
e. First we will find r
X Values
∑ = 288
Mean = 36
∑(X - Mx)2 = SSx = 76
Y Values
∑ = 144
Mean = 18
∑(Y - My)2 = SSy = 56
X and Y Combined
N = 8
∑(X - Mx)(Y - My) = 60
R Calculation
r = ∑((X - My)(Y - Mx)) /
√((SSx)(SSy))
r = 60 / √((76)(56)) = 0.9197
So coefficient of determination is r^2=0.9197^2=0.8458
f. R Calculation
r = ∑((X - My)(Y - Mx)) /
√((SSx)(SSy))
r = 60 / √((76)(56)) = 0.9197