Question #268970

 the temperatures (in degrees Fahrenheit) at 18:00 hr. and the attendance (rounded to hundreds) at a minor league baseball team’s night games on 7 randomly selected evenings in May.

Temperature 61 70 50 65 48 78

Attendence 10 16 12 15 8 20

i. Do you think temperature depends on attendance or attendance depends on temperature? [2 marks]

ii. With temperature as an independent variable and attendance as a dependent variable, what is your hypothesis about the sign of b in the regression model?

[2 marks]

iii. Construct a scatter diagram for these data. Does the scatter diagram exhibit a

linear relationship between the two variables? [4 marks]

iv. Compute the correlation coefficient r and explain what it means. [5 marks]

v. Find the least squares regression line. Is the sign of b the same as the one you hypothesized for b in part ii? [5 marks]

vi. Use your regression equation to predict the attendance at a night game in May for a temperature of 60oF


1
Expert's answer
2021-11-22T16:38:04-0500

i)

Attendance depends on temperature.

Temperature depends on climatic conditions.


ii)

b in the regression model has sign '+', because attendance (y) increases (from 8 to 20) with increasing (from 48 to 78) of temperature (x).


iii)


the scatter diagram does not exhibit a linear relationship between the two variables


iv)

correlation coefficient:


r=(xix)(yiy)(xix)2(yiy)2=0.8974r=\frac{\sum(x_i-\overline{x})(y_i-\overline{y})}{\sqrt{\sum(x_i-\overline{x})^2\sum(y_i-\overline{y})^2}}=0.8974


This indicates that there is a significant large positive relationship between x and y.


v)

equation of regression line:

y=bx+ay=bx+a

where


b=nxyxynx2(x)2=0.3388b=\frac{n\sum xy-\sum x\sum y}{n\sum x^2-(\sum x)^2}=0.3388


a=yx2xxynx2(x)2=7.506a=\frac{\sum y\sum x^2-\sum x\sum xy}{n\sum x^2-(\sum x)^2}=-7.506


y=0.3388x7.506y=0.3388x-7.506

the sign of b is the same as in the hypothesis in part ii)


vi)

the attendance for a temperature of 60oF:

y=0.3388607.506=12.82213y=0.3388\cdot60-7.506=12.822\approx 13


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS