Suppose that, given θ, the random variable X has P(X=k)=e−θθk/k!, k=0,1,2,…. Suppose that the prior density of θ is π(θ)=λe−λθ,θ>0, for some known λ(>0). Derive the posterior density π(θ∣x) of θ based on the observation X=x.
For a given loss function L(θ,a), a statistician wants to calculate the value of a that minimises the expected posterior loss
∫L(θ,a)π(θ∣x)dθ
Suppose that x=0. Find a in terms of λ in the following cases:
(a) L(θ,a)=(θ−a)2;
(b) L(θ,a)=∣θ−a∣.