Bayesian linear regression notes

Here is a great explanation of the Stein phenomenon. Here is a truly fantastic set of notes on Bayesian linear regression. Here is a short R script implementing a Gibbs sampler for the Bayesian linear regression model under the independent Normal-Gamma prior from section 1.4 of the above notes. Here is a picture of the Mogollon… Continue reading Bayesian linear regression notes

Bernoulli and Poisson models

Today in class we covered the Beta-Binomial model. That is, we considered a model where for $latex i = 1, \dots, n&s=1$, $latex Y_i \sim \mbox{Bernoulli}(\theta)&s=1$ independently and $latex \theta \sim \mbox{Beta}(a,b)&s=1$. For this model, the total number of successes, or $latex S = \sum_i Y_i&s=1$, is a sufficient statistic for the parameter $latex \theta&s=1$… Continue reading Bernoulli and Poisson models

Bayesian preliminaries

David Blackwell interview. Demo script. Aside from some logistics and introductions, I had hoped to accomplish three things in the first class. Motivate the use of probability models for producing direct inferential statements. Point out points of departure from alternative approaches to statistics. Demonstrate the practical "work flow" of a simple Bayesian analysis. For the first objective,… Continue reading Bayesian preliminaries