Residual Sum of Squares Formula:
From: | To: |
The Residual Sum of Squares (RSS) is a statistical measure that represents the sum of the squared differences between observed and predicted values in a regression model. It quantifies the variance in the data that is not explained by the model.
The calculator uses the RSS formula:
Where:
Explanation: For each data point, the calculator computes the difference between observed and predicted values, squares this difference, and sums all these squared differences.
Details: RSS is a key metric in regression analysis. A lower RSS indicates a better fit of the model to the data. It's used to compare different models and in the calculation of other statistics like R-squared.
Tips: Enter comma-separated lists of observed and predicted values. Both lists must have the same number of values. Example: "1,2,3,4" and "1.1,1.9,3.2,3.8".
Q1: What's the difference between RSS and MSE?
A: Mean Squared Error (MSE) is RSS divided by the number of observations. MSE is easier to interpret as it's on the same scale as the original data.
Q2: Can RSS be negative?
A: No, since it's a sum of squared values, RSS is always non-negative.
Q3: What does a high RSS value indicate?
A: A high RSS suggests that the model doesn't fit the data well, with large discrepancies between observed and predicted values.
Q4: How is RSS used in model selection?
A: When comparing models for the same data, the model with lower RSS is generally preferred, though other factors like complexity should be considered.
Q5: What are limitations of RSS?
A: RSS is sensitive to outliers and doesn't account for model complexity. It always decreases as more predictors are added to a model.