Calculates and displays the least-squares regression line for a scatter-plot. The prompts should be somewhat self explanatory. Make sure you put the X-Values and Y-Values in so that 1 of X-Values and 1 of Y-Values make an ordered pair. And entering non-numerical data will also mess it up a little. It's 1s1s!
Just playing around. Plundered some scripts from earlier stuff on my main account.