Iv'e read the answer to this related question and still have some issues.
Suppose that given some data $X$, we want an estimator $\hat{\theta}$ for some parameter $\theta$. A common approach is to minimize the expected $\ell_{2}$ loss$$\hat{\theta}_{\ell_{2}}=\underset{\hat{\theta}}{\arg\min}\left\langle \left(\hat{\theta}-\theta\right)^{2}\right\rangle $$
This expression admits the famous bias-variance decomposition. Assuming a Bayesian setting, and that the expectation is taken over the posterior distribution $p\left(\theta\mid X\right)$, this looks like
$$\left\langle \left(\hat{\theta}-\theta\right)^{2}\right\rangle _{p\left(\theta\mid X\right)}=\hat{\theta}^{2}-2\hat{\theta}\left\langle \theta\right\rangle +\left\langle \theta^{2}\right\rangle =\hat{\theta}^{2}-2\hat{\theta}\left\langle \theta\right\rangle +\left\langle \theta^{2}\right\rangle +\left\langle \theta\right\rangle ^{2}-\left\langle \theta\right\rangle ^{2}=\overbrace{\left(\hat{\theta}-\left\langle \theta\right\rangle \right)^{2}}^{b\left(\theta\right)^{2}}+\overbrace{\left(\left\langle \theta^{2}\right\rangle -\left\langle \theta\right\rangle ^{2}\right)}^{Var\left(p\left(\theta\mid X\right)\right)}$$ Which means that the optimal estimator is $$\hat{\theta}_{\ell_{2}}=\left\langle \theta\right\rangle _{p\left(\theta\mid x\right)}$$ However, we can also view $\theta$ as fixed, and the expectation over sampling $X\sim\theta$, i.e. the distribution $p\left(\hat{\theta}\left(X\right)\mid\theta\right)$, in which case the decomposition looks like $$\left\langle \left(\hat{\theta}-\theta\right)^{2}\right\rangle _{p\left(\hat{\theta}\left(X\right)\mid\theta\right)}=\overbrace{\left(\left\langle \hat{\theta}\right\rangle -\theta\right)^{2}}^{b\left(\hat{\theta}\right)^{2}}+\overbrace{\left(\left\langle \hat{\theta}^{2}\right\rangle -\left\langle \hat{\theta}\right\rangle ^{2}\right)}^{Var\left(\hat{\theta}\left(X\right)\right)}$$
Questions:
1. Is this analysis correct? If so, which one is the more "mainstream" approach, and what are the practical differences between these two views?
2. Is there a closed-form expression for the minimal MSE estimator in the frequentist setting?