Estimating correlation coefficient