Let $X_{1},X_{2},...,X_{n}$ represent a random sample from a distribution with pdf:
$f(x; \theta)=e^{-(x-\theta)}, \theta \le x<\infty, -\infty<\theta<\infty$ | zero elsewhere
I need to find the MLE $\hat {\theta}$ of $\theta$.
Since the support space of the pdf is dependent on $\theta$, do I need to express the pdf in terms of an indicator function?
i.e. $f(x; \theta)=e^{-(x-\theta)}I_{(\theta,\infty)}(x)$
If so, do I find the MLE in the standard manner?
i.e. $L(x;\theta)=\displaystyle \prod^{n}_{i=1} f(X_{i};\theta)=e^{-(\sum^{n}_{i=1}X_{i}-n\theta)}I_{(\theta,\infty)}(X_{(1)})$
$\ln L(x;\theta)=-\displaystyle \sum^{n}_{i=1} X_{i} +n\theta +\ln I_{(\theta,\infty)}(X_{(1)})$
The next step would be to take the partial derivative of the log-likelihood function with respect to $\theta$, but how would I find the partial derivative of the indicator function?
Am I approaching this question in the correct manner? Any help would be greatly appreciated!