Learn R Programming

Boom (version 0.9.15)

normal.prior: Normal (scalar Gaussian) prior distribution

Description

Specifies a scalar Gaussian prior distribution.

Usage

NormalPrior(mu, sigma, initial.value = mu, fixed = FALSE)

Arguments

mu

The mean of the prior distribution.

sigma

The standard deviation of the prior distribution.

initial.value

The initial value of the parameter being modeled in the MCMC algorithm.

fixed

Should the deviate modeled by this distribution be fixed at its initial value? (Used for debugging in some code. Not universally respected.)

Author

Steven L. Scott steve.the.bayesian@gmail.com

References

Gelman, Carlin, Stern, Rubin (2003), "Bayesian Data Analysis", Chapman and Hall.