If we have $n$ i.i.d random variables $X_{1}, \ldots , X_{n}$ each having the distribution with density \begin{cases} \theta^{-1} & 0 < x \leq \theta \\ 0 & \text{otherwise} \end{cases} Where $\theta > 0$ is a parameter. I would like to be able to find the mean and variance of the following random variable. $$W= \frac{n+1}{n} \max(X_{1}, \ldots , X_{n})$$ Help would be greatly appreciated thanks :)
2026-04-22 11:00:36.1776855636
On
Expected value of the maximum function
169 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are 2 best solutions below
0
On
Guide:
\begin{align}Pr(W \leq w) &= Pr\left( \frac{n+1}{n} \max(X_1, \ldots, X_n) \leq w \right) \\ &=Pr\left( \max(X_1, \ldots, X_n) \leq \frac{n}{n+1}w \right) \\ &=\prod_{i=1}^nPr\left(X_i\leq \frac{n}{n+1}w\right)\end{align}
If you can evaluate the expression above, you would know the CDF, and hence you can find the pdf, the first and second moment too.
Here is a different approach. Looking at a simplification, consider the alternative for n=2: $$U_2 = \max(X_1,X_2)$$ and its pdf can be found as: $$f_2(u) = \int_0^u f(u,x_2)\,dx_2 + \int_0^u f(x_1,u)\,dx_1={2\over \theta}\int_0^u {1\over \theta}\,dx=2{u\over \theta^2}$$ for $0<u\le\theta$ and $f(u)=0$ otherwise. Generalizing for arbitrary $n$, $$f_n(u) = n \int_0^u ... \int_0^u f(u,x_2,...,x_n)\,dx_2\,...\,dx_n=n{u^{n-1}\over\theta^n}$$ You can now calculate the mean and variance of $U$ and it is a simple matter to use those to calculate the mean and variance for $W$. You'll find that $W$ is an unbiased estimator for $\theta$.