Let $X_1,\,X_2,\,X_3,\ldots ,X_n$ represents a random sample from each of the distributions.
I have a certain function :
$$f(x;\theta)=\begin{cases}e^{\theta-x}& x\geq\theta \\ 0 & x<\theta\end{cases}$$
for $\theta\in(-\infty,\infty)$.
Finding the MLE!
My answer is the following :
$$\begin{align} L(\theta;\,x_i)&=e^{-\sum_{i=1}^n(x_i-\theta)}\\ \ln{L(\theta;\,x_i)}&=-\sum_{i=1}^n(x_i-\theta)\\ \ln{L(\theta;\,x_i)}&=n\theta-\sum_{i=1}^n x_i\\ D_\theta\ln{L(\theta;\,x_i)}&=n>0\\ D_{\theta\theta}\ln{L(\theta;\,x_i)}&=0 \end{align} $$
But i'm having trouble to find $\hat \theta$
My professor said that we must use ordered statistics when we meet this case. I mean, when the second derivative is zero or greater than zero.
But how to use ordered statistics for finding the estimator?