Bayes by hand, the sequel!

See the original post on doing Bayes by hand for some information about what conjugate priors are and why we might care. The demonstration today is showing that the beta distribution is a conjugate prior for a binomial likelihood function. Have fun!

Rose’s notes: https://www.dropbox.com/s/11ls35g9tpisfnf/beta%20binomial%20by%20hand.pdf?dl=0

R code: https://www.dropbox.com/s/j5wdmpgmdmjt9t0/conjugate%20priors.R?dl=0

desmos plot: https://www.desmos.com/calculator/etqxwwbbsg

 

Post a comment

You may use the following HTML:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>