Estimator is a statistic, usually in a function of the data, that is used to infer the value of an unknown parameter in a statistical model. During this post, we will talk about estimator for mean and variance of sampled data. We can determine a good estimator by calculating the bias of it. A good estimator should give bias closed to zero. Let is parameter we want to estimate/observe, our estimator result will be . The bias of our estimator is defined as follows.

We will use bias formula above to check whether our estimator is good or not. And during this post, we will check our estimator we already derived by MLE here, which are mean and variance. Let’s write them first.

where and

Let’s do first. Here we go.

For our estimator above, . Thus, is a good estimator for mean , since it gives us zero bias.

Let’s do for variance.

To make it easy to derive, let and . Thus, our last equation becomes:

Let’s us clarify first how we can get . because is just a constant since and are constant. (ii) because . Here is the detail.

, it’s because . And as for , here is the detail.

And now let’s check the bias of this estimator.

From equation above we see that variance we get from MLE does not give us zero bias. That’s why when we calculate variance of sampled data, we usually use this formula . Because this formula will give us zero bias. Let’s prove it.

Doing similar with what we already did before, we will get:

And now let’s check the bias of this estimator.

Voila! We can successfully derive that by using as our variance estimator for sampled data, it will give us zero bias.