In statistics, the residual sum of squares (RSS), also known as the sum of squared residuals (SSR) or the sum of squared errors of prediction (SSE), is the sum of the squares of residuals (deviations of predicted from actual empirical values of data).
Residual Sum of Squares (RSS) is defined and given by the following function:
${RSS = \sum_{i=0}^n(\epsilon_i)^2 = \sum_{i=0}^n(y_i - (\alpha + \beta x_i))^2}$
Where −
${X, Y}$ = set of values.
${\alpha, \beta}$ = constant of values.
${n}$ = set value of count
Problem Statement:
Consider two populace bunches, where X = 1,2,3,4 and Y = 4, 5, 6, 7, consistent worth ${\alpha}$ = 1, ${\beta}$ = 2. Locate the Residual Sum of Square (RSS) values of the two populace bunch.
Solution:
Given,
${X = 1,2,3,4\ Y = 4,5,6,7\ \alpha = 1\ \beta = 2 }$
Arrangement:
Substitute the given qualities in the recipe, Remaining Sum of Squares Formula