I want to derive the MLE for theta given this equation
$f(x,\theta) = \frac{x}{\theta} \exp \left( - \frac{x^2}{2 \theta} \right)$
do i first take the log and then the derivative of theta?? I think im supposed to get something like this:
$\frac{x^{2}-2\theta}{2\theta^{2}}$