We are given the following coordinate pairs: (17,36), (27,25), (37,20), (47,12), (57,10), (67,7), and (77,5), where the x-coordinate represents the age in years and the y-coordinate the percent of fatal accidents with speeding as the major cause.
It might be easiest to create a table with the following headings: x, y, xy, x^2, and y^2. Then sum each of the columns:
x: y: xy: x^2: y^2:17 36 612 289 129627 25 675 ...
We are given the following coordinate pairs: (17,36), (27,25), (37,20), (47,12), (57,10), (67,7), and (77,5), where the x-coordinate represents the age in years and the y-coordinate the percent of fatal accidents with speeding as the major cause.
It might be easiest to create a table with the following headings: x, y, xy, x^2, and y^2. Then sum each of the columns:
x: y: xy: x^2: y^2:
17 36 612 289 1296
27 25 675 729 625
37 20 740 1369 400
47 12 564 2209 144
57 10 570 3249 100
67 7 469 4489 49
77 5 385 5929 25
-----------------------------------
329 115 4015 18263 2639
(1) Find the mean of x and y:
(2) Find a and b for the linear regression line of best fit. (Note that you should check that the correlation is significant—with r about -.959 the correlation is significant at least for a 98% confidence.)
(3) The equation of the regression line y'=a+bx is y'=39.760-0.496x
(4) The value of the regression line at x=25 (which is the estimate for the percentage of fatal accidents caused by speeding for 25 year olds) is
y'=39.760-0.496(25)=27.35
No comments:
Post a Comment