@@ -180,9 +180,7 @@ $$
180180For our sample $w_1, w_2, \cdots, w_n$, the [likelihood function](https://en.wikipedia.org/wiki/Likelihood_function) is given by
181181182182$$
183-\begin{aligned}
184- L(\mu, \sigma | w_i) = \prod_{i=1}^{n} f(w_i, \mu, \sigma) \\
185-\end{aligned}
183+L(\mu, \sigma | w_i) = \prod_{i=1}^{n} f(w_i, \mu, \sigma)
186184$$
187185188186The likelihood function can be viewed as both
@@ -207,26 +205,22 @@ To find where this function is maximised we find its partial derivatives wrt $\m
207205Let's first find the maximum likelihood estimate (MLE) of $\mu$
208206209207$$
210-\begin{aligned}
211208\frac{\delta \ell}{\delta \mu}
212209 = - \frac{1}{2\sigma^2} \times 2 \sum_{i=1}^n (\ln w_i - \mu) = 0 \\
213210\implies \sum_{i=1}^n \ln w_i - n \mu = 0 \\
214211\implies \hat{\mu} = \frac{\sum_{i=1}^n \ln w_i}{n}
215-\end{aligned}
216212$$
217213218214Now let's find the MLE of $\sigma$
219215220216$$
221-\begin{aligned}
222217\frac{\delta \ell}{\delta \sigma^2}
223218 = - \frac{n}{2\sigma^2} + \frac{1}{2\sigma^4}
224219 \sum_{i=1}^n (\ln w_i - \mu)^2 = 0 \\
225220 \implies \frac{n}{2\sigma^2} =
226221 \frac{1}{2\sigma^4} \sum_{i=1}^n (\ln w_i - \mu)^2 \\
227222 \implies \hat{\sigma} =
228223 \left( \frac{\sum_{i=1}^{n}(\ln w_i - \hat{\mu})^2}{n} \right)^{1/2}
229-\end{aligned}
230224$$
231225232226Now that we have derived the expressions for $\hat{\mu}$ and $\hat{\sigma}$,