Source: http://chemistry.oregonstate.edu/courses/ch361-464/ch464/RegrssnFnl.pdf