prior {spBayes}R Documentation

Creates prior distribution definitions

Description

The function prior creates a valid prior definition for use in spGGT.

Usage

prior(dist, ...)

Arguments

dist a quoted key word that identifies the prior distribution. The choices are inverse-gamma "IG", uniform "UNIF", half-Cauchy "HC", normal "NORMAL", flat "FLAT", inverse-Wishart "IWISH", and fixed scalar or matrix "FIXED".
... the hyperparameters of the chosen prior distribution, passed as quoted key words with associated values. See details below.

Details

Up to a proportionality constant the possible priors are:

The normal and flat priors can only be used for the regressors specified in spGGT.

Value

prior a list object of class ggt.prior which is used for the value portion of the prior tag in the spGGT function.

Author(s)

Andrew O. Finley finleya@msu.edu,
Sudipto Banerjee sudiptob@biostat.umn.edu.

References

Banerjee, S., Carlin, B.P., and Gelfand, A.E. (2004). Hierarchical modeling and analysis for spatial data. Chapman and Hall/CRC Press, Boca Raton, Fla.

Gelman, A. (2006). Prior distributions for variance parameters in hierarchical models 1(3):515-533, Bayesian Analysis.

See Also

spGGT


[Package spBayes version 0.1-2 Index]