Find the MLE of $p$ where $f(y;p)=2p^2y^{-3}$.
Attempt:
Method: find the likelihood function, differentiate with respect to $p$ then set to zero and solve for $p$.
$L(p;y)=\prod\limits_{i=1}^n [2p^2y^{-3}_i] =\prod\limits_{i=1}^n[2] \prod\limits_{i=1}^n[p^2] \prod\limits_{i=1}^n [y^{-3}_i] = 2^n p^{2n} \prod\limits_{i=1}^n [y^{-3}_i]$
Differentiating the log likelihood gives $2n/p$ (i think) and the $y_i$ all disappear. So what happens when you set this to zero? Because if $0=2n/p$ then surely $0=2n$ and $n=0$.
Have I misstated $L(p;y)$? Or is something going wrong with my differentiation? (Or both?)