prior {spBayes}R Documentation

Creates prior distribution definitions for use in ggt and ggt.sp

Description

The function prior creates a valid prior definition for use in the ggt and ggt.sp functions.

Usage

prior(dist, ...)

Arguments

dist a quoted key word that identifies the prior distribution. The choices are inverse gamma "IG", uniform "UNIF", log-uniform, "LOGUNIF", half-Cauchy "HC", and normal "NORMAL".
... 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 prior can only be used for the regressors specified in ggt and ggt.sp.

Value

prior a list object of class ggt.prior which is used for the value portion of the prior tag in the ggt and ggt.sp functions.

Author(s)

Andrew O. Finley afinley@stat.umn.edu,
Sudipto Banerjee sudiptob@biostat.umn.edu,
Bradley P. Carlin brad@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. (2005). Prior distributions for variance parmaters in hierarchical models. 1(2):1-19, Bayesian Analysis.

Further information on the package spBayes can be found at: http://blue.fr.umn.edu/spatialBayes.

See Also

ggt, ggt.sp


[Package spBayes version 0.0-1 Index]