Skip to content
RDMAICS • FREE PROCESS IMPROVEMENT TOOLS

Correlation & Linear Regression

Fit a simple least-squares line and quantify linear association.

Analyze

Correlation & Linear Regression

Browser-only calculations · No input data saved

For tables: one row per line, comma-separated columns, no header row. Avoid commas inside labels. Changing an input clears previous results.

Worked example results

Pearson r
0.774597
R squared
0.6
Slope
0.6
Intercept
2.2
Residual standard error
0.894427

Rounded for display only. Export includes the inputs, results, method and assumptions. Refreshing or leaving the tool clears entered data.

How to use Correlation & Linear Regression

  1. Load the worked example to see the required input format.
  2. Fit a simple least-squares line and quantify linear association. Use consistent units, periods and definitions.
  3. Select Calculate, review the assumptions and export the result for your project evidence.

Formula and method

Slope = Sxy/Sxx; intercept = mean(y) − slope×mean(x); r = Sxy/√(Sxx Syy); R² = r².

Interpretation and assumptions

Use matched independent observations with a plausible linear relationship. Correlation does not imply causation. Check residuals, outliers and variance assumptions before inference or forecasting.

Results support professional judgement. They are not a certification of process stability, a financial commitment or a substitute for study design.

Frequently asked questions

How do I use the correlation & linear regression?

Fit a simple least-squares line and quantify linear association. Load the example first, then replace all inputs with consistent process data and select Calculate. Slope = Sxy/Sxx; intercept = mean(y) − slope×mean(x); r = Sxy/√(Sxx Syy); R² = r².

What assumptions matter for correlation & linear regression?

Use matched independent observations with a plausible linear relationship. Correlation does not imply causation. Check residuals, outliers and variance assumptions before inference or forecasting.

Are my calculator inputs saved or sent to a server?

These native calculations run in this browser tab. Inputs are not sent to a server or saved by this calculator. Download the result if you need a record; leaving or refreshing clears the form.