Linear Regression & Correlation
Find the line of best fit, the correlation coefficient r and predictions from paired data, with sums and slope calculated. Try “best fit line for (1,2), (2,4), (3,5), (4,4), (5,6)”.
Try an example:
How the Linear Regression & Correlation works
- Compute the means and the sums Σxy, Σx² and Σy².
- Slope b = Sxy ÷ Sxx and intercept a = ȳ − b·x̄.
- Write y = a + bx, compute r and use the line to predict.
Frequently asked questions
What does the correlation coefficient r mean?
r runs from −1 to 1: near ±1 is a strong linear relationship, near 0 is little or none.
Does correlation prove causation?
No. Two variables can move together without one causing the other.
More Statistics & Probability calculators
Statistics CalculatorMean, median, mode, range, quartiles and standard deviation.
Probability CalculatorSimple, compound, conditional and independent events.
Permutations & CombinationsCounting arrangements and selections, factorials.
Binomial ProbabilityProbability of k successes in n trials.
Normal Distribution & Z-scoreZ-scores, percentiles and areas under the bell curve.
MathMate can make mistakes. Please double-check important steps and calculations.