90 7: Statistical Calculations
Linear Regression and Estimation
/LQHDUUHJUHVVLRQLVDVWDWLVWLFDOPHWKRGIRUHVWLPDWLRQDQG
IRUHFDVWLQJ,WLVXVHGWRILQGDVWUDLJKWOLQHWKDWEHVWILWVD
VHWRI[\GDWD7KHUHPXVWEHDWOHDVWWZRGLIIHUHQW[\
SDLUV7KHVWUDLJKWOLQHSURYLGHVDUHODWLRQVKLSEHWZHHQWKH
[DQG\YDULDEOHV\ P[EZKHUHPLVWKHVORSHDQGELV
WKH\LQWHUFHSW
Linear Regression. &DOFXODWHPEDQGUWKHFRUUHODWLRQFRHIILFLHQWDV
IROORZV
&OHDUWKHVWDWLVWLFDOUHJLVWHUVE\SUHVVLQJ
(QWHUWKHILUVW[YDOXHDQGSUHVV
7KH[YDOXHLVGLVSOD\HG
(QWHUWKHFRUUHVSRQGLQJ\YDOXHDQGSUHVV
7KH+3%,,
GLVSOD\VQWKHQXPEHURISDLUVRILWHPVDFFXPXODWHG
&RQWLQXHHQWHULQJ[\SDLUV7KHQYDOXHLVLQFUHPHQWHGZLWKHDFK
HQWU\
7RGLVSOD\EWKH\LQWHUFHSWSUHVV
7KHQSUHVV
WRGLVSOD\PWKHVORSHRIWKHOLQH
3UHVV
WRGLVSOD\UWKHFRUUHODWLRQFRHIILFLHQW
Keys: Display: Description:
0.00
&OHDUVVWDWLVWLFDOUHJLVWHUV
1.00
(QWHUVKHLJKWDQGZHLJKWRI
SOD\HU
2.00
(QWHUVKHLJKWDQGZHLJKWRI
SOD\HU
3.00
(QWHUVKHLJKWDQGZHLJKWRI
SOD\HU
4.00
(QWHUVKHLJKWDQGZHLJKWRI
SOD\HU
184.25
&DOFXODWHVPHDQRIKHLJKWV[
82.75
'LVSOD\VPHDQRIZHLJKWV\
5.80
&DOFXODWHVSRSXODWLRQVWDQGDUG
GHYLDWLRQIRUKHLJKWV[
4.71
'LVSOD\VSRSXODWLRQVWDQGDUG
GHYLDWLRQIRUZHLJKWV\
331.00
'LVSOD\VWKHWRWDORIWKH\·V
10B.book Page 90 Wednesday, June 21, 2000 5:19 PM