4 - Inferences with Gaussians
Published online by Cambridge University Press: 05 June 2014
Summary
Inferring a mean and standard deviation
One of the most common inference problems involves assuming data following a Gaussian (also known as a Normal, Central, or Maxwellian) distribution, and inferring the mean and standard deviation of this distribution from a sample of observed independent data.
The graphical model representation for this problem is shown in Figure 4.1. The data are the n observations x1,…,xn. The mean of the Gaussian is μ and the standard deviation is σ. WinBUGS parameterizes the Gaussian distribution in terms of the mean and precision, not the mean and variance or the mean and standard deviation. These are all simply related, with the variance being σ2 and the precision being λ = 1 σ2.
Here the prior used for μ is intended to be only weakly informative. That is, it is a prior intended to convey little information about the mean, so that inference will be primarily dependent upon relevant data. It is a Gaussian centered on zero, but with very low precision (i.e., very large variance), and gives prior probability to a wide range of possible means for the data. When the goal is to estimate parameters, this sort of approach is relatively non-controversial.
Setting priors for standard deviations (or variances, or precisions) is trickier, and certainly more controversial. If there is any relevant information that helps put the data on scale, so that bounds can be set on reasonable possibilities for the standard deviation, then setting a uniform over that range is advocated by Gelman (2006).
- Type
- Chapter
- Information
- Bayesian Cognitive ModelingA Practical Course, pp. 54 - 59Publisher: Cambridge University PressPrint publication year: 2014