Central Tendencymedium
0:00.0

For a dataset X={x1,x2,,xn}X = \{x_1, x_2, \dots, x_n\} with mean xˉ\bar{x}, let S=i=1nxi2S = \sum_{i=1}^n x_i^2 be the sum of the squares of the values, and let D=i=1n(xixˉ)2D = \sum_{i=1}^n (x_i - \bar{x})^2 be the sum of the squared deviations from the mean. Which of the following equations correctly express the relationship between these quantities?