Regression coefficient and correlation coefficient formula