This study reference details the Analysis of Variance (ANOVA) sum of squares decomposition framework used to evaluate ordinary least squares (OLS) regression models. It maps out how total target variability splits into explained and unexplained components, providing the mathematical basis for coefficients of determination.
To evaluate how well a regression line tracks empirical data, the total variation in the dependent target variable is broken down into three component elements:
Measures the baseline total variability present within the dependent target variable. It calculates the sum of the squared differences between each raw observed data point and the general mean of the dependent variable. Graphically, this captures the total variation of the observed values around a horizontal intercept line mapping the target average.
Measures the portion of target variability that is successfully captured and explained by the independent predictor features. It aggregates the sum of the squared differences between the model's predicted values and the baseline mean of the dependent variable. Graphically, this displays the variance of the regression line values around the target average.
Also known as the Sum of Squared Errors (SSE), this parameter measures the remaining variability in the dependent variable that the model fails to explain. It calculates the sum of the squared differences between the raw observed values and the model's matching predicted coordinates. Graphically, this represents the scatter of observed data points directly around the optimized line of best fit.
These components fit together in a strict additive framework representing total model variance:
R equals the exact square root of R-squared, sharing the identical directional sign as the model's slope coefficient. It measures the joint strength and direction linking the estimated values to the raw target data.r is a symmetrical relationship metric that treats both continuous variables identically without enforcing an independent vs. dependent structure.n equals total observations and k equals total model parameters (excluding the intercept constant). It is a far more reliable metric when evaluating and comparing competing models with varying feature lengths.