Definition · Regression
Centered sums
Definition from the chapter Linear regression and correlation of Statistics and probability, with the exercises in which it is used.
Centered sums
For the five observations of the example, the means are and . Subtracting the means gives the deviations
The sum of the squared deviations of the predictor values is , and the same holds for the responses. The sum of the products of the deviations, pair by pair, is .
In general, let and denote the means of the horizontal and vertical coordinates, and call the differences and centered deviations. Define the centered sums
For the five observations, and .
The first two sums measure the spread of each variable around its mean: divided by , they give the corrected variances of Chapter 2. In the third, two deviations of the same sign contribute a positive term, while opposite signs give a negative term. Therefore when pairs with both measurements above the mean or both below predominate, as happens in a positive association. Divided by , gives the sample covariance, which equals for the five observations. The three sums are used to calculate the slope of the line, the coefficient , and the correlation of this chapter.
Read it in the chapter Linear regression and correlation →
Exercises where this definition is used
Worked examples
Practice exercises
All the definitions and theorems of Statistics and probability → · All the theorems on the site →