If $X_1, ..., X_n$ are iid random variables from the Uniform[$0,\theta$] distribution, where $\theta >0$, compute the expectation of the largest order statistic denoted $X_{(n)}$.
I am looking to test whether or not this statistic is an biased or unbiased estimator for $\theta$, however I am struggling to test the bias as I am unable to compute its expectation.
My initial thoughts with this question were that $E_{\theta}(X_{(n)})=\frac{\theta}2$ since this should be the expectation of any random variable from the uniform distribution on this interval. However, I can see that clearly this won't be the case in this situation since the expectation must (intuitively) depend upon $n$ in some way.
I am wondering what the problem is with my initial thoughts.
Edit: I have been informed in the comments of what the correct approach is, however, I am still unclear of the problem with my reasoning that $E_{\theta}(X_{(n)})=\frac{\theta}2$ since $E_{\theta}(X_i)=\frac{\theta}2$ for all possible values of $i$. By definition, there exists some natural number $j$ such that $X_j=X_{(n)}$ so why is it that $X_j$ doesn't follow the uniform distribution when every $X_i$ does.