Linear Correlation and Regression

Values for x:
Values for y:

example


Source code available at biophp.org