Let $X_1,X_2, \dots$ be iid $U(0,1)$ and $Y_n$ be the maximum of $X_1, \dots, X_n$. My question is how to calculate $E(X_1 \mid Y_n)$.
My thoughts are as follows, but I don't know whether they're rigorous. \begin{align*} &P(x<X_1<x+\Delta x \mid Y_n=y) \\ =&\lim _{\Delta y \to 0}\dfrac {P(x<X_1<x+\Delta x,y<Y_n<y+Δy)}{P(y<Y_n<y+Δy)} \\ =&\lim _{\Delta y \to 0}\dfrac{ΔxP(y<\max\{X_2,\dots, Xn\}<y+\Delta y)}{P(y<Y_n<y+\Delta y)} \\ =&\dfrac{n-1}{ny}\Delta x(x<y),P(X_1=y \mid Y_n=y)=\dfrac{1}{n}, \end{align*} so under the conditional $Y_n=y$, $X_1$ follows a mixture distribution, we know $$E(X_1 \mid Y_n)=\dfrac{(n+1)Y_n}{2n}.$$ My question is whether this is rigorous? I don't know how to verify this conclusion by measure theory.
Another similar question is whether if $X_1, \dots, X_n$ are iid, then $E(X_1 \mid S_n)=\frac{S_n}{n}$. It seems reasonable by symmetry, but I also can't prove it by measure theory. Any guidance will be greatly appreciated.
$A\text{ is }B$, you should use$A$ is $B$, i.e, using multiple in-line blocks$…$instead of a single one. – Soham Saha Apr 26 '25 at 12:01