Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save talonx/791975 to your computer and use it in GitHub Desktop.
Save talonx/791975 to your computer and use it in GitHub Desktop.
Statement : Average distance of values from the mean is always 0.
Proof : Let values be n1, n2, n3....nn.
Then mean M = (sum (ni | i = 1 to n))/n
Average distance of values from mean
= ( (M - n1) + (M - n2) ... + (M-nn) ) / n
= ( M x n - (n1 + n2 + .... nn) ) / n
= M - (sum (ni | i = 1 to n))/n
= M - M
= 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment