- #1
economist13
- 15
- 0
Homework Statement
[tex] X_1 , \dots ,X_n \sim U[0, \theta][/tex] iid. [tex]\theta \sim U[0,1][/tex]
derive the Bayesian posterior mean estimator
Homework Equations
[tex] f(\theta |\vec{X}) = \frac{f( \vec{X}|\theta)f(\theta )}{f( \vec{X})}[/tex]
The Attempt at a Solution
My line of thinking...
First, the marginal for X, [tex]f( \vec{X}) = \int f( \vec{X}|\theta)f(\theta )d\theta [/tex]
Let [tex] x_M \equiv max_i \{X_i\} [/tex]. Since it must be that [tex] \theta \geq x_M [/tex]
[tex]f( \vec{X}) = \int_{x_M}^1 \frac{1}{\theta^n} d\theta = \frac{x_M^{-(n-1)}-1}{n-1}[/tex]
Then [tex] f( \theta | \vec{X}) = \frac{1/\theta^n}{\frac{x_M^{-(n-1)}-1}{n-1}} = \frac{n-1}{\theta^n(x_M^{-(n-1)} -1)}[/tex]
Then [tex] E( \theta | \vec{X}) = \int_0^1 \theta f(\theta |X) d \theta = \frac{n-1}{n-2} \frac{1}{1-x_M^{-(n-1)}[/tex]I think my bounds of integration are wrong, or something to that effect...where did I go wrong?
Last edited: