Testing for Correlation and Bivariate Regression