A manager wishes to find out whether there is a relationship between the age of his
employees and the number of sick days they take each year. The data for the sample
follow.
Age, x 18 26 39 48 53 58
Days, y 16 12 9 5 6 2
a. Make a scatter plot
b. Compute the correlation coefficient
c. Find the equation of the regression line
a)
b)
correlation coefficient:
"r=\\frac{\u03a3(x_i - x\u0304)(y_i - \u0233)}{\\sqrt{\u03a3(x_i - x\u0304)^2\u03a3(y_i - \u0233)^2 }}=-0.9791"
c)
regression line:
"y=b_0+b_1x"
"b_1 =\\frac{\\sum(x_i-x\u0304)(y_i-\u0233)}{\u03a3(x_i-x\u0304)^2}=-0.3165"
"b_0 = \u0233 - b_1x\u0304=21.1005"
"y=21.1005-0.3165x"
Comments
Leave a comment