1. ## MLE help

Suppose that $Y_{1},...Y_{n}$ constitute a random sample from the density function

$f(y|\theta)=e^{-(y-\theta)}$ for $y>\theta$ and zero elsewhere, where $\theta$ is an unknown, positive constant.

Q: Find an estimator for $\hat{\theta}$ for $\theta$ by the method of maximum likelihood.

A: Consider the likelyhood function $L(\theta)=\Pi_{i=1}^{n}e^{-(y-\theta)}=e^{n\theta\\-\sum_{i=1}^{n}y_{i}}$.
Then,
$ln[L(\theta)]=ln[e^{n\theta\\-\sum_{i=1}^{n}y_{i}}]=n\theta-\sum_{i=1}^{n}y_{i}$.
Thus, the partial derivative with respect to $\theta$ equals $n$.

So, I am doing something wrong, because this attmept is a dead end.

2. this was just posted and solved

1 no need to take the log
2 you need the indicator function
3 calc will not work, you need comment sense, to maximize wrt THETA.
But go search for this problem in the threads here.

3. Originally Posted by matheagle
this was just posted and solved