Let $\{ X_i | i = 1, 2, . . . ,n \}$ be a sequence of independent and identically distributed (IID) random variables from a population and define $\mu \equiv \mathbb{E}(X)$ and $\sigma^2 \equiv \mathbb{V}(X)$. Suppose we think that the mean is $\mu = \mu_0$ for some number $\mu_0$ (but we may be wrong). Find the bias in the estimator:
$$\tilde{\sigma}^2 \equiv \frac{1}{n} \sum_{i=1}^n (X_i - \mu_0)^2,$$
as a function of $\mu$. When is this estimator unbiased for $\sigma^2$?
I know that when we find this estimator using $\bar{X}$, it is biased and we must divide it by $n-1$ instead of $n$ to get an unbiased estimator. But how does one do it for a number such as $\mu_0$?