Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm confusing myself with this question.

Suppose there is a Normal r.v $X \sim \mathcal{N}(\mu, \sigma^2)$. We known the variance $\sigma^2$ however don't know the mean $\mu$, and choose to use Bayesian inference to update our belief.

Suppose further we have a prior distribution of $\mu$, also Normal, i.e $\mu \sim \mathcal{N}(\mu_0, \sigma_0^2)$, the observation is $x_0$.

Then what is the conditional expectation $\mathbb{E}(X|x_0)$ ? Would you please show me the derivation steps?

I know how to get the posterior distribution on $\mu$ when assuming $\sigma_0^2$ is fixed, i.e

$$\mu \sim \mathcal{N}(\mu'_0, \sigma_0^2), \;\;\; \mu'_0 = \frac{\sigma_0^2 x_0 + \sigma^2 \mu_0}{\sigma_0^2 + \sigma^2}$$

Many thanks!

share|cite|improve this question
I'm not entirely sure what $x_0$ is supposed to be. Is it a realization of some $X' \sim \mathcal N(\mu, \sigma^2)$ and $X$ is some unobserved random variable? If that's the case, just take $E(X | x_0) = E(E(X_0 | x_0, \mu)|x_0) = E(\mu | x_0) = \mu'_0$. – guy Mar 2 '12 at 23:47
I don't understand your last sentence. The posterior distribution of $\mu$ given $X$ would generally have a smaller variance than the marginal distribution of $\mu$. Is your phrase "when $\sigma_0$ is fixed" supposed to imply something to the contrary? – Michael Hardy Mar 3 '12 at 0:05
If, by $E(X\mid x_0)$ you mean $E(X \mid X=x_0)$, then that expectation is $x_0$. But to speak of things like $E(X \mid X=6)$ is to speak of trivialities. I can't help suspect that you meant something else. – Michael Hardy Mar 3 '12 at 3:27
@guy I believe that's what I was looking for. Thanks. – shuaiyuancn Mar 3 '12 at 9:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.