Choosing Priors Probability Intervals
18.05 Spring 2014
January 1, 2017 1 /25
Choosing Priors Probability Intervals 18.05 Spring 2014 January 1, - - PowerPoint PPT Presentation
Choosing Priors Probability Intervals 18.05 Spring 2014 January 1, 2017 1 /25 Conjugate priors A prior is conjugate to a likelihood if the posterior is the same type of distribution as the prior. Updating becomes algebra instead of calculus.
January 1, 2017 1 /25
hypothesis data prior likelihood posterior Bernoulli/Beta θ ∈ [0, 1] x beta(a, b) Bernoulli(θ) beta(a + 1, b) or beta(a, b + 1) θ x = 1 c1θa−1(1 − θ)b−1 θ c3θa(1 − θ)b−1 θ x = 0 c1θa−1(1 − θ)b−1 1 − θ c3θa−1(1 − θ)b Binomial/Beta θ ∈ [0, 1] x beta(a, b) binomial(N, θ) beta(a + x, b + N − x) (fixed N) θ x c1θa−1(1 − θ)b−1 c2θx(1 − θ)N−x c3θa+x−1(1 − θ)b+N−x−1 Geometric/Beta θ ∈ [0, 1] x beta(a, b) geometric(θ) beta(a + x, b + 1) θ x c1θa−1(1 − θ)b−1 θx(1 − θ) c3θa+x−1(1 − θ)b Normal/Normal θ ∈ (−∞, ∞) x N(µprior, σ2
prior)
N(θ, σ2) N(µpost, σ2
post)
(fixed σ2) θ x c1 exp
2σ2
prior
2σ2
2σ2
post
January 1, 2017 2 /25
prior)
2σ2
prior
prior)
2σ2
prior
January 1, 2017 3 /25
January 1, 2017 4 /25
January 1, 2017 5 /25
January 1, 2017 6 /25
January 1, 2017 7 /25
January 1, 2017 8 /25
January 1, 2017 9 /25
January 1, 2017 10 /25
θN\θS 0.2 0.4 0.6 0.8 1 1 (0,1) (.2,1) (.4,1) (.6,1) (.8,1) (1,1) 0.8 (0,.8) (.2,.8) (.4,.8) (.6,.8) (.8,.8) (1,.8) 0.6 (0,.6) (.2,.6) (.4,.6) (.6,.6) (.8,.6) (1,.6) 0.4 (0,.4) (.2,.4) (.4,.4) (.6,.4) (.8,.4) (1,.4) 0.2 (0,.2) (.2,.2) (.4,.2) (.6,.2) (.8,.2) (1,.2) (0,0) (.2,0) (.4,0) (.6,0) (.8,0) (1,0)
January 1, 2017 11 /25
January 1, 2017 12 /25
January 1, 2017 13 /25
January 1, 2017 14 /25
January 1, 2017 15 /25
January 1, 2017 16 /25
January 1, 2017 17 /25
January 1, 2017 18 /25
January 1, 2017 19 /25
January 1, 2017 20 /25
January 1, 2017 21 /25
January 1, 2017 22 /25
January 1, 2017 23 /25
January 1, 2017 24 /25
MIT OpenCourseWare https://ocw.mit.edu
Spring 2014 For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms.