Linear regression calculator

This linear regression calculator uses the least squares method to find the line of best fit for a set of paired data. The line of best fit is described by the equation f(x) = Ax + B, where A is the slope of the line and B is the y-axis intercept.
All you need to do is enter paired data into the text box, each pair of x and y in a separate line (row).

Also, the coefficient of correlation is calculated as the Pearson product-moment correlation coefficient (PPMCC or PCC or R). The Pearson correlation coefficient measures the strength of a linear association between two variables, where the value R = 1 means a perfect positive correlation and the value R = -1 means a perfect negative correlation.



Practice problems from statistics:



more math problems »