[Math] Order Statistics Expected Value

integrationorder-statisticsprobabilitystatistics

Can someone help me with this question? I have arrived with the distribution function equal to $g(y) = \frac{n}{\theta }\left(1-\frac{y}{\theta }\right)^{n-1}$. But couldn't solve the integral for the expected value, and I don't know if I did it right. please help. The problem I am having is I am not sure how to integrate $E(y) = \int y\frac{n}{\theta }\left(1-\frac{y}{\theta }\right)^{n-1}$

enter image description here

Best Answer

First, let $x=\frac{y}{\theta}$ so your integral simplifies to $$ \theta\int_0^1xn(1-x)^{n-1}dx. $$ Now, let $u(x)=x$ and $v(x)=-(1-x)^n$, then integration by parts yields $$ \theta\int_0^1xn(1-x)^{n-1}dx=\theta\int_0^1 u v'=\theta\left(uv|_0^1-\int_0^1 u'v\right)\\ =\theta\left([-x(1-x)^n]|_0^1+\int_0^1(1-x)^ndx\right)=\theta\left(0+\frac{1}{n+1}\right)=\frac{\theta}{n+1}. $$