I am a undergraduate in the introductory mathematical statistics sequence and I'm having problems finding the MLE for this probability density: $f(y|\theta)=e^{-(y-\theta)}, y>\theta$
When I try to solve it, I find the log-likelihood: $log(\mathcal{L}([y_1,...,y_n]|\theta))=-\Sigma y_i + n\theta$
and I take the derivative w.r.t. $\theta$ and equate it to zero to arrive at: $n=0$.
Which is incorrect let alone useless for finding the estimator.
I'm very confused. Am I missing something?