Set partial derivatives ∂ℓ/∂μ and ∂ℓ/∂σ2 to zero and solve for the MLEs μ^ and σ^2.
Compute E[σ^2] and show that the MLE for variance is biased: E[σ^2]=(n−1)σ2/n.
State the bias-corrected (Bessel) version σ^Bessel2=n−11∑(xi−xˉ)2, which is unbiased.
Numerical simulation. For true μ=0,σ2=1, generate m=10,000 sample sets of size n=10. Compute both σ^2 (MLE) and σ^Bessel2 for each. Report the average of each across the m experiments and verify they match (n−1)/n=0.9 and 1 respectively.
Hint
For part 3: use Var(Xˉ)=σ2/n, so E[(Xˉ−μ)2]=σ2/n. Then: