Source: https://sites.science.oregonstate.edu/chemistry/courses/ch361-464/ch464/RegrssnFnl.pdf