How does one calculate the following:
Given $X_1,...,X_n$ are i.i.d. uniform random variables, calculate $E[X_1|X_{(n)}]$ where $X_{(n)}$ denotes the $n^{th}$ order statistic; and
Given $X_1, ..., X_n$ are i.i.d. random variables, calculate $E[X_1 | \bar{X}_n]$.