This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 36-226 Summer 2010Homework 9Solutions1.p(|X1,...,Xn)nYi=11e-xi/()1+1e-/1nexp(-1nXi=1xi)1+1e-/1n++1exp(-1(nXi=1xi+))Inv-Gamma(n+,nXi=1xi+)Thus, since the prior and posterior both come from the Inv-Gamma family, Inv-Gamma isconjugate for exponential.2.(a) I chose= 21 and= 200. This gives me a mean of= 10 and sd of 2.3. Thus Ifeel like the average waiting time should be somewhere between 7.7 minutes and 12.3minutes. The prior is shown in Figure1. Remember that this is MY prior. Yours willbe different. I will show all the work for the rest of the assignment usingandandplugging in my values at the end.51015200.000.050.100.150.20a=21, b=200mean=10, sd=2.294xyFigure 1: Prior distribution for(b) As we found in problem 1, the posterior distribution is also Inv-Gamma with parameters=n+and=ni=1xi+. Therefore MY posterior isp(|X1,...,Xn) = Inv-Gamma(= 10 +,= 164.5 +)= Inv-Gamma(= 31,= 364.5)....
View Full Document
- Summer '09