Assignment No.6
Assignment No.6
6
Q1: A researcher took a sample of 25 electronics companies and found the following relationship between x and y where x i
of dollars) spent on advertising by a company in 1996 and y represents the total gross sales (in millions of dollars) of that co
ŷ = 3.4 + 11.55x is the least-squares regression line.
a) An electronics company spent $2 million on advertising in 1996. What are the expected gross sales for 1996?
ŷ = 3.4 + 11.55x q
ŷ 26.5
b) Suppose four electronics companies spent $2 million each on advertising in 1996. Do you expect these four companies to
gross sales for 1996? Explain.
b. Describe the type of correlation, and interpret the correlation in context of the data.
Solution:
r 0.050986618
Interpretation: As correlation coefficient is close to zero it implies that the two variables height and iq scores
have little to no linear relationship or dependence.
IQ score (y)
140
120
100
80
60
40
20
0
56 58 60 62 64 66 68
ore will also increase.
Q3: Use the value of the correlation coefficient r to calculate the coefficient of determination r2. What does this tell you a
explained variation of the data about the regression line?
Solution:
a.
r 0.465
r^2 22%
That is 21% of the variability of y is explained frm the variation of x in regression line
b.
r -0.957
r^2 92%
That is 92% of the variability of y is explained frm the variation of x in regression line
tion r2. What does this tell you about the
ine?
Q4: Use the data of Q2:
a) Estimate a regression line for IQ Score, y on height of high school girls, and interpret the meaning of slope and intercept.
b) Verify the identity SST = SSR + SSE
Solution:
a.
Height (x) IQ score (y) (x-x_bar) (y-y)bar) (x-x)bar)^2 (x-x_bar)*(y-y_bar)
62 109 -0.125 -1.25 0.015625 0.15625
58 102 -4.125 -8.25 17.015625 34.03125
65 107 2.875 -3.25 8.265625 -9.34375
67 114 4.875 3.75 23.765625 18.28125
59 96 -3.125 -14.25 9.765625 44.53125
64 110 1.875 -0.25 3.515625 -0.46875
65 116 2.875 5.75 8.265625 16.53125
57 128 -5.125 17.75 26.265625 -90.96875
Mean 62.125 110.25 0 0 96.875 12.75
Bo 102.07 intercept
B1 0.131612903 slope
y= 102.07+0.1316129x
Interpretation: If height of school girls increases by 1% then iq score will increase by 0.1316129
140
120
f(x) = 0.131612903225
100 R² = 0.0025996351915
80
60
40
20
0
56 58
the meaning of slope and intercept.
SST 97886.0000
IQ score (y)
140
120
80
60
40
20
0
56 58 60 62 64 66 68