Use Linear Regression Calculator and Grapher
Given a set of experimental points, this calculator calculates the coefficients a and b and hence the equation of the line y = a x + b and the Pearson correlation coefficient r. It also plots the experimental points and the equation y = a x + b where a and b are given by the formulas above.
Enter the experimnental points (x1, y1), (x2, y2)... (xN, yN) separated by commas, check the data entered and then press "Calculate and Plot". If you have data already formatted as points separated by commas, you may copy and paste it in the input text area below.
More References and LinksLinear Least Squares Fitting.
Linear Regression - Problems with Solutions.
Pearson correlation coefficient.
Statistics Calculators, Solvers and Graphers.