I am doing some tutoring for an AS-Level maths student and unfortunately for me they are doing statistics. This is not my strong point, mainly from the point of view of remembering all of the definitions, formulae and statistics. The workbook they had asked them to work out the Mean, the Variance, Standard Deviation, the Mean Squared Deviation and Root Mean Squared Deviation.
The Variance is defined on wikipedia as
$Var= \frac{\sum_{i=0}^n (x_i - \bar{x})^2}{n-1}$
The Means Squared Deviation is defined on wikipedia as
$MSD = \frac{\sum_{i=0}^n (x_i - \bar{x})^2}{n}$
except for $\bar{x}$ expected value as opposed to $\hat{y_i}$.
The Standard Deviation and Root Mean Squared Deviation would be the square roots of the above respectively.
Elsewhere on the internet the is some ambiguity. Even within the Variance wiki page the two formulae, MSD and Var, are referenced as types of variance.
The subtle difference of $n$ vs $n-1$ was not clearly defined within the student's notebook or textbook nor explained why there is a difference. The student asked me why there was a difference and I gave some "it's a sample vs population thing - go with it".
So, in summary, my final short questions are,
- What is the difference between Var and MSD? Are the above definitions correct?
- Is the MSD just another name for the population variance?
- Does Var imply using the sample variance?
- When would you use either MSE or Var over the other?
SSE/(n-m)
(like here). For usual "variance",m=1
. $\endgroup$