Source: http://www.econ.ucla.edu/riley/106P/Excel/RegressionLecture.pdf