Click anywhere on the stage. The program will calculate the LSRL (least-squares regression line) for the points on screen. It is designed to find the line of best fit for a set of points.
Originally intended to help me more with my statistics homework a while ago, I realized what fun this could be if I wasn't using it for work. The r variable above represents correlation among the points on a scale of -1 to +1. The stronger the correlation of the points, the greater its magnitude will be. The direction of the correlation will determine its sign. If there is no trend, r will be very close to 0. Press key f to get 15 random points. The more you press it, the closer r should be to 0.