全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1197 3
2013-10-11
bayes seed=34367 plots=all nbi=2000 nmc=10000
  coeffprior=normal(input=myprior);在这个语句中,coeffprior 指的是什么呢?coeffprior 选择normal时,参数该怎么设置呢?

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2013-10-11 11:01:04

表示specifies the prior distribution for the regression coefficients.
The default is COEFFPRIOR=UNIFORM, which specifies the noninformative and improper prior of a constant.
Jeffreys’ prior is specified by COEFFPRIOR=JEFFREYS, which can be followed by the following option in parentheses. Jeffreys’ prior is proportional to , where  is the Fisher information matrix. See the section Jeffreys’ Prior and Ibrahim and Laud (1991) for more details.
参考http://support.sas.com/documenta ... _genmod_sect012.htm
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-10-11 11:35:37
谢谢你的回复,关键是myprior数据集里的数据是怎么设置的呢?其中的变量以及均值根据什么计算出来的呢?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-10-12 08:22:28
虞子期 发表于 2013-10-11 11:35
谢谢你的回复,关键是myprior数据集里的数据是怎么设置的呢?其中的变量以及均值根据什么计算出来的呢?
这个我也没做过。我找个例子,你看看吧。网上例子很多。包括数据说明,数据集,程序以及输出。 QQ截图20131012081751.gif QQ截图20131012081807.gif QQ截图20131012081819.gif QQ截图20131012081832.gif QQ截图20131012081842.gif QQ截图20131012081855.gif QQ截图20131012081907.gif QQ截图20131012081920.gif


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群