compute quadratic risk bayesian statistics

21 Views Asked by At

enter image description here

I don't understand how can we move from the line 1 to line 2 and 3. The mean $\bar X_n$ following $\theta$ distribution is for me just $\bar X_n$ but it seems to be another thing here