Explore linear modeling of bivariate data by moving the data points up and down. You'll see how the correlation coefficient r describes the linearity of the data, and how the least-squares regression line fits the data. The point indicating the mean of the x-coordinates ("x-bar") and the mean of the y-coordinates ("y-bar") is shown.

Things to try:
Move the points so the slope of the least-squares line is negative. What happens to the sign on the correlation coefficient?
Adjust the points so they fall in a line. What is the correlation coefficient?
Does the point (x-bar, y-bar) ever come off of the least-squares line?
Consider which points have the most insfluence on the fit line and on a projection for timeperio