Learn R Programming

Boom (version 0.4)

normal.prior: Normal (scalar Gaussian) prior distribution

Description

Specifies a scalar Gaussian prior distribution.

Usage

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

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.

References

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