- #1
joe007
- 23
- 0
calculating residuals help!
Along 14 separate sections of highway measurements of trac volume (x) and rate of
accidents (y) were taken.
x; 303, 294, 242, 236 ,267, 213, 233, 292 ,287 ,215 ,231 ,195 ,255 ,298
y; 30, 27, 23, 20, 26, 20, 22, 29, 27, 20, 23, 20, 26 ,27
(a)Calculate the coefficient of correlation between trac volume and acci-
dent rate.
Sxy=1566.57
Sxx=16759.214
Syy=164.857
well i used the formula: r=Sxy/sqrt(Sxx*Syy)=0.94247
(b)Obtain residuals and sketch a residual plot (residuals against trac
volume). Explain what the plot tells us about the t of the regression
i know the general formula f(x)=a+bx, where i found a=0.509 and b=0.0934
but how do i obtain individual residuals
Along 14 separate sections of highway measurements of trac volume (x) and rate of
accidents (y) were taken.
x; 303, 294, 242, 236 ,267, 213, 233, 292 ,287 ,215 ,231 ,195 ,255 ,298
y; 30, 27, 23, 20, 26, 20, 22, 29, 27, 20, 23, 20, 26 ,27
(a)Calculate the coefficient of correlation between trac volume and acci-
dent rate.
Sxy=1566.57
Sxx=16759.214
Syy=164.857
well i used the formula: r=Sxy/sqrt(Sxx*Syy)=0.94247
(b)Obtain residuals and sketch a residual plot (residuals against trac
volume). Explain what the plot tells us about the t of the regression
i know the general formula f(x)=a+bx, where i found a=0.509 and b=0.0934
but how do i obtain individual residuals