I've been reading up a lot on the practical applications of the Rao-Blackwell theorem. I do understand how the Bias and Variance and MSE aspects of the theorem fall in place (i.e. the mathematical proof makes sense), but I do not understand how certain practical applications of the theorem work, based on my own university's materials and highly-recommended third-party textbooks.
These are some of the applications I came across:
Application 1
Let $X = \{X_1, X_2,\ldots,X_n\}$ be a random sample from a distribution with mean $µ$ and variance $σ^2$. Suppose that $S(X) = \sum_iX_i$ is a sufficient statistic for $µ$. We consider $\hat\mu_1 = X_1$ as an initial estimator of $µ$ and seek a better one.
The Rao–Blackwell theorem states that the following estimator is better: $$\hat\mu^b_2 = \mathbb E(\hat\mu^b_1 | S(X)) = \mathbb E[X_1 | S(X)]$$
This is equal to: \begin{align*} \mathbb E[X_1 | S(X)] &= 1/n \,\sum_i \mathbb E[X1 | S(X)]\\ &= 1/n \,\sum_i\mathbb E[(Xi | S(X)]\\ &= 1/n\, \mathbb E[\sum_iX_i | S(X)]\\ &= 1/n\, \mathbb E[\sum_iX_i | ∑_iX_i]\\ &= 1/n \sum_i X_i\\ &= \bar X_n\\ \end{align*} Note: all the $\sum_iX_i$ figures above refer to a sum over $i$ from $i=1$ to $i=n$.
So now my question is: given we had to be abstract here by not actually calculating conditional distribution probabilities, we had to solve the question above in a very, well, abstract way. First of all, how is it logically possible to equate $\mathbb E[X_1 | S(X)] = 1/n ∑_i \mathbb E[X_1 | S(X)]$? And is it okay to switch $X_1$ with $X_i$, because $X_1$ is a variable, while $X_i$ is sort of a range of variables?
Application 2
Let $X_1,\, X_2$ be i.i.d. random variables of distribution $N(θ,1)$. We have the statistic $\bar{X} = (X_1 + X_2)/2$. Now we want to try and condition our statistic on the non-sufficient statistic $X_1$ to prove we don't get a sufficient statistic in the end. So: \begin{align*} X^* &= \mathbb E[\bar X| X_1]\\ &= (1/2)\mathbb E(X_1 | X_1) + (1/2)\mathbb E(X_2 | X_1)\\ &= (1/2)(X_1) + (1/2)(θ) \end{align*} So they successfully proved $X^*$ is not sufficient. But how did $(1/2)\mathbb E(X_1 | X_1)$ equal $X_1$? Shouldn't it be $θ$?
Application 3
Let X = {X1, X2, ..., Xn} be a random sample from the Bernoulli(π) distribution. We now use the Rao–Blackwell theorem to find an estimator of π which is an improvement on X1.
So we already know ∑X is a sufficient statistic for π. Thus, we are trying to find E(X1 | ∑X). BUT FIRST, consider:
∑E(Xj | ∑Xi) = E(∑Xj | ∑Xi) = E(∑Xj | ∑Xi) = ∑Xi = nx̄
And ∑E(Xj | ∑Xi) = nE(X1 | ∑Xi)
So E(X1 | ∑Xi) = x̄
And like this, they have proved x̄ is a better estimator than just X1. But in the first line, when they switched ∑E(Xj | ∑Xi) with E(∑Xj | ∑Xi), are they talking about switching to E(∑(Xj | ∑Xi)), or E((∑Xj) | ∑Xi)? And is is true that we can substitute ∑E(Xj) = nE(X1)?
So that's about it. Th example of Rao-Blackwellization in Wikipedia and other sources seems to make sense. But if anybody has any idea of how to solve these (might-be-very-silly!) questions, then I would greatly appreciate it.