Linear Regression Calculator

Fit y = mx + b by ordinary least squares from paired data. Returns slope, intercept, correlation r, R², and standard error of slope.

Frequently Asked Questions

What is linear regression?

A method to fit a straight line through paired (x, y) data by minimizing the squared vertical residuals. Outputs the slope and intercept of that line.

What's R²?

The coefficient of determination - the fraction of y-variance explained by the linear model. Ranges 0 to 1 in simple regression.

What's the standard error of slope?

An estimate of how precisely the slope is determined. Smaller is more precise. Used to test if the slope differs from zero.

Important Disclaimer: Estimates for informational purposes only.

This calculator provides estimates for informational purposes only. Results are based on assumptions and may not reflect actual outcomes. Consult qualified professionals in relevant fields before making important decisions based on these results.