consider a random sample of size n from a distribution with pdf $f(x;\theta)=\frac{1}{\theta}$ $0<x\leq \theta$ and zero otherwise. $0< \theta$
Now the first question was to find the MLE of $\hat{\theta}$ which I found to $X_{n:n}$ , now they want to find out if it is unbiased. My work so far: $$ \begin{align} E[\hat{\theta}] &=E[X_{n:n}] \\ &= E[n\frac{1}{\theta}[ln(\theta)]^{n-1}] \end{align} $$ now this is probably where i went wrong. isnt the cdf of $X_{n:n}$: $$ nf(x)[F(x)]^{n-1} $$ ?