Docsity

Bayesian Statistics - Lecture Notes | 22S 138, Study notes of Statistics

Toggle sidebar
bg1
1
22S:138
Bayesian Statistics
Lecture 8
Sept. 21, 2007
Kate Cowles
374 SH, 335-0727
2
Posterior predictive distribution of a
future observation
•p(ynew|y) is Normal
–mean is posterior mean
–variance is sum of
∗data variance σ2(assumed known in this
unrealistic case)
∗variance of posterior mean
3
Jeffreys prior for normal mean with data
variance assumed known
•p(µ)∝1,−∞ < µ < ∞
•limit of N(µ0, σ2
0) as σ2
0goes to ∞
σ2
0is prior variance
•equivalently, limit of N(µ0, τ2
0) as τ2
0goes to
0
τ2
0is prior precision
4
What is the posterior predictive dis-
tribution of the healing rate of a new
newt?
pf3
pf4

Partial preview of the text

Download Bayesian Statistics - Lecture Notes | 22S 138 and more Study notes Statistics in PDF only on Docsity!

22S:

Bayesian Statistics

Lecture 8 Sept. 21, 2007

Kate Cowles 374 SH, 335- [email protected]

Posterior predictive distribution of a future observation

  • p(ynew|y) is Normal
    • mean is posterior mean
    • variance is sum of ∗ data variance σ^2 (assumed known in this unrealistic case) ∗ variance of posterior mean

3

Jeffreys prior for normal mean with data variance assumed known

  • p(μ) ∝ 1 , −∞ < μ < ∞
  • limit of N (μ 0 , σ^20 ) as σ^20 goes to ∞ σ^20 is prior variance
  • equivalently, limit of N (μ 0 , τ 02 ) as τ 02 goes to 0 τ 02 is prior precision

4 What is the posterior predictive dis- tribution of the healing rate of a new newt?

Inference about the spread of a normal distribution

  • primary research question may concern vari- ability of response variable in population - quality control in industry - reponse to medical treatment

Inference for the variance of a normal distribution

  • Suppose in the newt healing rate example that we knew the population mean μ = 25 but we did not know the population variance σ^2
  • Equivalently, we don’t know the population precision τ 2
  • We wish to infer about the distributions of these parameters that describe the spread of the normal distribution.

7

  • Recall the joint sampling distribution of n observations modelled as conditionally inde- pendent draws from a normal

p(y 1 ,... , yn|μ, σ^2 ) = ∏n i=

√^1

2 πσ

exp

  −(yi^ −^ μ)

2 2 σ^2

  

(σ^2 )

n 2

exp

  −

∑n i=1(yi^ −^ μ)

2 2 σ^2

  

  • We will assume (unrealistically) that μ is a known constant

8 Sufficient statistic

  • sufficient statistic for σ^2 is ∑ (yi − μ)^2
  • we can write likelihood equivalently as

p(y|σ^2 ) ∝

(σ^2 )

n 2

exp

 − nv 2 σ^2

  (^) , 0 < σ (^2) < ∞

where v =

n

∑ (y i −^ μ)^2

  • What is corresponding conjugate prior?

Priors for normal precision

  • if σ^2 ∼ IG(α, β) and τ 2 =

σ^2

then τ 2 ∼ G(α, β)

  • You must be careful of parameterizations of both gamma and inverse gamma distribu- tions.