Estatística

Residual Calculator

Effortlessly calculate residuals for linear regression with our online tool. Understand the difference between observed and predicted values to assess your model accuracy.

Enter comma-separated values.

Enter comma-separated values.

Residuals:

Residual Plot

What are Residuals?

In regression analysis, a residual is the difference between the observed value of the dependent variable (y) and the predicted value (ŷ), based on the regression model. Each data point has one residual.

Mathematically, the residual (e) is calculated as: e = y - ŷ

Residuals are used to assess the goodness-of-fit of a regression model. Ideally, residuals should be randomly distributed around zero, indicating that the model adequately captures the underlying relationship in the data. Large or patterned residuals may suggest issues with the model, such as non-linearity or heteroscedasticity.

By plotting residuals, we can visually check for patterns and assess the assumptions of linear regression.