Quick Recap — Statistics Computations

  • σ2=x2nxˉ2\sigma^2=\dfrac{\sum x^2}{n}-\bar x^2 (shortcut formula).
  • Effect of change: adding kk to every value shifts the mean by kk but leaves the variance unchanged; multiplying by kk multiplies the mean by kk and the variance by k2k^2.
  • Variance of the first nn naturals =n2112=\dfrac{n^2-1}{12}.
  • Coefficient of variation =σxˉ×100%=\dfrac{\sigma}{\bar x}\times100\%; mean deviation =xxˉn=\dfrac{\sum|x-\bar x|}{n}.