ar1.coefficient.prior: Normal prior for an AR1 coefficient

ar1.coefficient.priorR 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 TRUE then the prior support for the AR1 coefficient will be truncated to (-1, 1).

force.positive

Logical. If TRUE then the prior for the AR1 coefficient will be truncated so that zero support is given to values less than zero.

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.


Boom documentation built on Nov. 10, 2022, 5:56 p.m.