Correlation - Simulation

Adjust the regression coefficient and slope of the best fit line to the right.

The correlation coefficient, r, ranges from -1 to +1. The sign of this statistic depends on whether the best fit line has a positive or negative slope. Other than the sign, r is independent of the slope of the best fit line.