A particular professor has noticed that the number of people,
y, who complain about his attitude is dependent on the
number of cups of coffee, x, he drinks. From eight days of
tracking he compiled the following data:
People (y) | 10 | 9 | 10 | 6 | 6 | 6 | 4 | 2 |
---|---|---|---|---|---|---|---|---|
Cups of coffee (x) | 1 | 2 | 2 | 3 | 3 | 4 | 4 | 5 |
Unless otherwise stated, you can round values to two decimal
places.
a) Using regression to find a linear equation for ˆy .
Round to three decimal places.
ˆy =
b) Find the correlation coefficient. Round to three or four
decimals.
r =
c) Does the correlation coefficient indicate a strong linear trend,
a weak linear trend, or no linear trend?
strong linear trend
weak linear trend
no linear trend
d) Use your model to predict the number of people that will
complain about his attitude if he drinks 10 cups of coffee.
i have used r software
a)
So the regression equation is
People (y)=12.8750 -2.0833Cups of coffee (x)
or,
b)
the correlation coefficient=r=-0.9486454 -0.9486
c)
we can see from b that there exists a negetive correlation between people and cups of coffee.
And the correlation is near to -1. So there exists strong negetive correlation,hence
the correlation coefficient indicate a strong linear trend.
d)
predicted valye of y is -7.9583
PLEASE UPVOTE IF YOU LIKE MY ANSWER.
THANK YOU.
Get Answers For Free
Most questions answered within 1 hours.