prior(spBayes)
prior()所属R语言包:spBayes
Creates prior distribution definitions
创建先验分布的定义
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The function prior creates a valid prior definition for use in spGGT.
函数prior创建一个有效的预先定义的使用中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".
一个带引号的键字标识的先验分布。选择是逆伽马"IG",统一"UNIF",半柯西"HC",普通的"NORMAL",平"FLAT",反威沙特"IWISH"和固定的标量或矩阵"FIXED"。
参数:...
the hyperparameters of the chosen prior distribution, passed as quoted key words with associated values. See details below.
所报的超所选择的先验分布,通过关键词相关联的值。详见下文。
Details
详细信息----------Details----------
Up to a proportionality constant the possible priors are:
比例常数可能的先验如下:
Uniform: 1/(b-a), where b > a. Use key words "a", and "b".
统一:1/(b-a),b > a。使用关键词"a"和"b"。
Inverse-gamma: x^{-(a+1)} exp(-b/x), where a is shape > 0 and b is scale > 0. Use key words "shape", and "scale".
反伽玛:x^{-(a+1)} exp(-b/x),其中a是形状> 0和b是规模> 0。使用关键词"shape"和"scale"。
Half-Cauchy x + a^2)^{-1}. Use key word "a".
半柯西:(x + a^2)^{-1}。使用关键字"a"。
Normal:exp(-1/2 (B - mu)^t V^{-1} (B - mu)), where mu is the mean vector of length p and V^{-1} is the p x p precision matrix. Use key words "mu" and "precision".
正常:exp(-1/2 (B - mu)^t V^{-1} (B - mu)),其中mu的平均向量的长度p和V^{-1}是p x p精度矩阵。使用关键词"mu"和"precision"。
Inverse-Wishart: det(S)^{df/2}det(W)^{-(df+m+1)/2}exp(-1/2 tr(SW^{-1})), where W is the m x m covariance matrix, df is the degrees of freedom, and S is the positive definite m x m scale matrix. Use key words "df" and "S".
反威沙特:det(S)^{df/2}det(W)^{-(df+m+1)/2}exp(-1/2 tr(SW^{-1})),其中W是m x m协方差矩阵,df是自由度和S是正定<X >规模的矩阵。使用关键词m x m和"df"。
The normal and flat priors can only be used for the regressors specified in spGGT.
的正常和平坦的先验只能用于中指定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.
一个列表对象类ggt.prior这是用于值部分prior标签spGGT功能。
(作者)----------Author(s)----------
Andrew O. Finley <a href="mailto:finleya@msu.edu">finleya@msu.edu</a>, <br>
Sudipto Banerjee <a href="mailto:sudiptob@biostat.umn.edu">sudiptob@biostat.umn.edu</a>.
参考文献----------References----------
hierarchical models 1(3):515-533, Bayesian Analysis.
参见----------See Also----------
spGGT
spGGT
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|