ar1.coefficient.prior {Boom} | R Documentation |
Normal prior for an AR1 coefficient
Description
A (possibly truncated) Gaussian prior on the autoregression coefficient in an AR1 model.
Usage
Ar1CoefficientPrior(mu = 0, sigma = 1, force.stationary = TRUE,
force.positive = FALSE, initial.value = mu)
Arguments
mu |
The mean of the prior distribution. |
sigma |
The standard deviation of the prior distribution. |
force.stationary |
Logical. If |
force.positive |
Logical. If |
initial.value |
The initial value of the parameter being modeled in the MCMC algorithm. |
Details
The Ar1CoefficientPrior()
syntax is preferred, as it
more closely matches R's syntax for other constructors.
Author(s)
Steven L. Scott steve.the.bayesian@gmail.com
References
Gelman, Carlin, Stern, Rubin (2003), "Bayesian Data Analysis", Chapman and Hall.
[Package Boom version 0.9.15 Index]