I'm in need of help with this problem. I've been reviewing for an exam and I'm terrible with estimations.
$X_1,X_2,\dots,X_n$ be an i.i.d sample from continuous uniform distribution on the interval $(0,\theta)$ with parameter $\theta>0$. Let us consider $Y=\max(X_1,X_2,\dots,X_n)$ has a c.d.f $F(y) = P(Y \le y) = (\frac y \theta)^n$; $0<y<\theta$.
Is $Y$ an unbiased estimator for $\theta$?
I've made attempts but I think I'm going the opposite directions.
My attempt so far:
$$n\over{(n-r)!(r-1)!}[F(y)^{r-1}][(1-F(y))^{n-r}]f(y)$$