Find the posterior mean of lambda for an exponential distribution with sample 20, 2...

Check the final answer first, then review the worked steps.

Answer

0.043

Work

n=10, \sum x_i = 20+23+50+2+7+10+15+70+30+29 = 256. Posterior mean = \frac{n+1}{\sum x_i} = \frac{11}{256} \approx 0.04296875.

Step-by-step solution

For an exponential distribution $f(x|\lambda) = \lambda e^{-\lambda x}$, the likelihood is $L(\lambda) = \lambda^n e^{-\lambda \sum x_i}$. With a Uniform[0, 1] prior, the posterior is Gamma($n+1, \sum x_i$). The posterior mean is $\frac{n+1}{\sum x_i} = \frac{10+1}{256} = \frac{11}{256} \approx 0.043$.