Free Regression Analysis Calculator

Model how process settings drive a result. Paste your data and get the regression equation, which predictors are significant, residual diagnostics and predictions with confidence and prediction intervals.

  • 100% free
  • No sign-up
  • Export to PDF, PNG & Excel
  • Data stays in your browser
R²95.7%
Adjusted R²95.2%
S0.613
Model p-value< 0.001
Observations30

Equation: Bond strength (MPa) = -24.30 + 0.2088 × Cure temperature (°C) + 0.07603 × Cure time (min) − 14.78 × Resin moisture (%)

The model is significant (p < 0.001) and explains 96% of the variation in Bond strength (MPa). Significant predictors: Cure temperature (°C), Cure time (min), Resin moisture (%).

Observed vs fitted5101520257.510.012.515.017.520.022.5Fitted Bond strength (MPa)Observed Bond strength (MPa)Which predictors matter? |t| of each coefficient0510152025Cure temperature (°C)Cure time (min)Resin moisture (%)p = 0.05 (|t| = 2.06)|t| value (dark bars are significant)Residuals vs fitted values-4-20247.510.012.515.017.520.022.5Fitted Bond strength (MPa)Standardized residualNormal probability plot of residuals-3-2-10123-1.5-1.0-0.50.00.51.01.5ResidualNormal score
Regression plots: fit, predictor significance, residuals vs fitted values and normal probability plot of residuals.

Coefficients

TermCoef.SEtpVIF
Constant-24.30352.3060-10.54< 0.001
Cure temperature (°C)0.20880.010320.36< 0.0011.15
Cure time (min)0.07600.02053.71< 0.0011.09
Resin moisture (%)-14.78431.9293-7.66< 0.0011.06

Analysis of variance

SourceDFSSMSFp
Regression3219.02673.009194.56< 0.001
Residual error269.7570.375
Total29228.783
Predict Bond strength (MPa)

Predicted Bond strength (MPa): 17.51. 95% confidence interval for the mean 17.17 to 17.85; 95% prediction interval for a single new value 16.21 to 18.82.

30 rows · Tip: copy cells in Excel and paste them into any cell (Ctrl+V). Enter moves down.
#Bond strength (MPa)Cure temperature (°C)Cure time (min)Resin moisture (%)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

What is regression analysis?

A scatter diagram shows whether two variables move together. Regression analysis goes further: it estimates how much Y changes for each unit of every X while holding the others constant, tests which effects are real, and predicts results for new settings. In quality work it is used to find key process inputs, set operating windows and build transfer functions in Six Sigma projects.

Reading the regression output

  • Coefficients: the change in Y per unit of X. The p-value tests whether it differs from zero.
  • R² and adjusted R²: how much of the variation is explained.
  • S: the typical size of a residual, in the units of Y.
  • ANOVA F-test: whether the model as a whole explains anything.
  • VIF: multicollinearity between predictors.
  • Residual plots: whether the model assumptions hold.

Regression example

The example models the bond strength of 30 bonded assemblies from cure temperature, cure time and resin moisture. The model explains 95.7% of the variation (adjusted R² 95.2%). All three predictors are significant: each additional °C adds about 0.21 MPa, each minute about 0.08 MPa, and each additional 0.1% of resin moisture removes about 1.5 MPa. The VIFs are close to 1, so the effects are not confounded. At 195 °C, 30 minutes and 0.08% moisture the model predicts 17.5 MPa, with a 95% prediction interval of 16.2 to 18.8 MPa for a single assembly.

Common pitfalls

  • Extrapolation: predictions outside the range of the data are unreliable.
  • Correlation is not causation: happenstance data can mislead; confirm with a designed experiment.
  • Overfitting: keep at least 10 observations per predictor.
  • Ignoring curvature and interactions: a linear model may not be enough. Check the residuals.

How to use this Regression Analysis tool

  1. Name the variables. Name the response (Y) and add up to five predictors (X).
  2. Paste the data. Paste one row per observation with Y and the X columns, straight from Excel.
  3. Read the model. Check the equation, R², the model p-value and the p-value of each coefficient.
  4. Check the residuals. Look at the residual plots and the unusual observations before trusting the model.
  5. Predict. Enter X values to get the predicted Y with confidence and prediction intervals.
  6. Export. Export coefficients, ANOVA, plots and fitted values to PDF or Excel.

Frequently asked questions

What is regression analysis?

Regression analysis fits an equation that describes how a response (Y) depends on one or more predictors (X). Linear regression by least squares is the most common form. It lets you quantify the effect of each predictor, test whether it is significant and predict Y for new X values.

What is the difference between R² and adjusted R²?

R² is the share of the variation in Y explained by the model. It always increases when you add predictors, even useless ones. Adjusted R² penalizes extra predictors, so use it to compare models with a different number of terms.

How do I know which predictors matter?

Look at the p-value of each coefficient: below 0.05 means the predictor has a significant effect, given the other predictors in the model. Remove non-significant predictors one at a time and refit.

What is a VIF?

The variance inflation factor measures multicollinearity: how much a predictor is explained by the other predictors. A VIF above 5 (some use 10) means the coefficients are unstable and hard to interpret. Remove one of the correlated predictors or combine them.

Why check the residual plots?

Regression assumes the residuals are random, have constant spread and are roughly normal. A curved pattern in residuals versus fitted values means a missing term; a funnel shape means non-constant variance; points far from the line in the normal plot are outliers. The tool flags standardized residuals beyond ±2 and high-leverage points.

What is the difference between a confidence and a prediction interval?

The confidence interval is the uncertainty of the average Y at given X values. The prediction interval is the range for a single new observation, and is always wider because it includes the scatter of individual values.

Make statistical evidence part of your quality system

Cloudtheapp keeps the evidence behind your studies under control: calibrated equipment, validation records, change control and CAPA, linked in one validated cloud QMS.