


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Bayesian Statistics
Introduction to Multi-Parameter Models
Lecture 9 Sept. 19, 2003
Kate Cowles 374 SH, 335- [email protected]
Multiparameter models
3
∫ p(μ, σ^2 |y) dσ^2
4 Example: normal data with both μ and σ^2 unknown
p(μ, σ^2 ) ∝
σ^2
Joint posterior distribution with con- ventional noninformative prior
− 1 2 σ^2
∑^ n i=1(yi^ −^ μ)
2
= (^) (σ (^21) )n 2 +1 exp
− 1 2 σ^2
∑^ n i=1(yi^ −^ y¯)
(^2) + n(¯y − μ) 2
= (^) (σ (^21) )n 2 +1 exp
− 1 2 σ^2
[ (n − 1) s^2 + n(¯y − μ)^2
]
where s^2 is the sample variance of the yis:
s^2 =
n − 1
∑^ n i=
(yi − y¯)^2
7
Steps to the marginal posterior distri- bution of μ
∫ p(μ, σ^2 |y) dσ^2 =
∫ p(μ | σ^2 , y)p(σ^2 |y)dσ^2
p(σ^2 |y) ∝
(σ^2 )
n+ 2
exp
−(n^ −^ 1)s
2 2 σ^2
8 The conditional posterior distribution of μ given σ^2
p(μ | σ^2 , y) = N (¯y,
σ^2 n
p(μ | y) =
∫ p(μ | σ^2 , y)p(σ^2 |y)dσ^2
is a Student’s t distribution with
2 n
distributions” of each unknown given all the other model quantities
What does the WinBUGS user have to input?
WinBUGS output is samples.