Definition.
Given random variables a statistic is for any function .
Definition.
An estimator (of ) is a statistic (for inference).
Definition.
The bias of an estimator for is
We say is unbiased if .
The naive sample variance where is the sample mean is a biased estimator of the real variance since the expected value of this naive sample variance is . The actual sample variance which is an unbiased estimator of the real variance is .