全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 winbugs及其他软件专版
4488 4
2014-06-26

Dear R users,


Attached please review view my log file. I am using R2WinBUGS to call WinBUGS from R. After loading data, model, and initial values I called the command as follows and got some inf parameter values. I do not understand why this happens as the program was working fine for 5*10^5 iterations. I tried to change the seed values but of no use.

复制代码
复制代码

Notes:

  • I am running multilevel models for small area estimation and the above problems seem to appear only with the spatial random effects model. The spatial and non-spatial random effects model seems to behave properly without any problems.
  • The program was working fine for more than 500000 iterations withoud trap messages.
二维码

扫码加我 拉你入群

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

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

全部回复
2014-6-26 21:22:01
Without having your model file etc,  I can guess that you have some division by almost zero from sampling from some distribution that may return some extremely small values close to zero.
二维码

扫码加我 拉你入群

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

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

2014-6-26 21:24:33
Do you know if there's an option in the bugs function in R to FORCE WinBUGS to close?
You can close WinBUGS and everything should be fine - or just set debug = FALSE rather than debug = TRUE in your bugs() call.
二维码

扫码加我 拉你入群

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

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

2014-6-28 10:27:25
Most of this type problems come from the prior. Check whether your prior range is larger than your data.
二维码

扫码加我 拉你入群

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

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

2014-6-28 11:01:28
scure 发表于 2014-6-28 10:27
Most of this type problems come from the prior. Check whether your prior range is larger than your d ...
The BUGS mannual also provides other explanations for this problem. You can check it yourself.
http://mathstat.helsinki.fi/open ... g.html#TrapMessages
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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