normal.inverse.gamma.prior | R Documentation |
The NormalInverseGammaPrior is the conjugate prior for the mean and variance of the scalar normal distribution. The model says that
\frac{1}{\sigma^2} \sim Gamma(df / 2, ss/2) \mu|\sigma \sim
N(\mu_0, \sigma^2/\kappa)
NormalInverseGammaPrior(mu.guess, mu.guess.weight = .01,
sigma.guess, sigma.guess.weight = 1, ...)
mu.guess |
The mean of the prior distribution. This is
|
mu.guess.weight |
The number of observations worth of weight
assigned to |
sigma.guess |
A prior estimate at the value of |
sigma.guess.weight |
The number of observations worth of weight
assigned to |
... |
blah |
Steven L. Scott steve.the.bayesian@gmail.com
Gelman, Carlin, Stern, Rubin (2003), "Bayesian Data Analysis", Chapman and Hall.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.