For a sample x1,…,xn x_1,\ldots,x_n\,x1,…,xn with mean xˉ\bar xxˉ, a researcher proposes using ∑(xi−c)2\sum(x_i-c)^2∑(xi−c)2 as a measure of spread about a chosen centre ccc.
Show that ∑(xi−c)2=∑(xi−xˉ)2+n(xˉ−c)2\sum(x_i-c)^2=\sum(x_i-\bar x)^2+n(\bar x-c)^2∑(xi−c)2=∑(xi−xˉ)2+n(xˉ−c)2.
Hence state which value of c c\,c minimises the sum.