楼主: xingzhaoh
6326 30

[问答] 关于R2WinBUGS数据的读入问题 [推广有奖]

21
dongshengjay 发表于 2013-10-28 20:19:51
这是结果

QQ截图20131028201721.png (54.04 KB)

QQ截图20131028201721.png

22
xingzhaoh 发表于 2013-10-29 10:39:21
dongshengjay 发表于 2013-10-28 20:19
这是结果
按照你index代码运行到out<-bugs(..)
结束后需要关掉winbugs,r软件才能进行后续的运算
出现了:
Error in bugs.run(n.burnin, bugs.directory, WINE = WINE, useWINE = useWINE,  :
  Look at the log file and
try again with 'debug=TRUE' to figure out what went wrong within Bugs.
难道是winbug 的问题,这怎么回事呢?
自己太菜了,您都做出来了,都交给我了,我还没做出来,到底是什么原因呢?

23
dongshengjay 发表于 2013-10-29 13:58:23
xingzhaoh 发表于 2013-10-29 10:39
按照你index代码运行到out
用我给你的那个数据

24
xingzhaoh 发表于 2013-10-29 14:06:40
dongshengjay 发表于 2013-10-29 13:58
用我给你的那个数据
就是用你给我的数据呀,结果是
winbug中的log显示:
command #Bugs:inits cannot be executed (is greyed out)
gen.inits()
command #Bugs:gen.inits cannot be executed (is greyed out)
thin.updater(2)
update(250)
command #Bugs:update cannot be executed (is greyed out)
set(alpha)
command #Bugs:set cannot be executed (is greyed out)
set(beta)
command #Bugs:set cannot be executed (is greyed out)
set(mu.int)
command #Bugs:set cannot be executed (is greyed out)
set(sigma.int)
command #Bugs:set cannot be executed (is greyed out)
set(mu.slope)
command #Bugs:set cannot be executed (is greyed out)
set(sigma.slope)
command #Bugs:set cannot be executed (is greyed out)
set(sigma)
command #Bugs:set cannot be executed (is greyed out)
set(deviance)
command #Bugs:set cannot be executed (is greyed out)
dic.set()
command #Bugs:dic.set cannot be executed (is greyed out)
update(750)
command #Bugs:update cannot be executed (is greyed out)
coda(*,C:/Users/www/AppData/Local/Temp/RtmpIHbeKi/coda)
command #Bugs:coda cannot be executed (is greyed out)
stats(*)
command #Bugs:stats cannot be executed (is greyed out)
dic.stats()

DIC
history(*,C:/Users/www/AppData/Local/Temp/RtmpIHbeKi/history.odc)
command #Bugs:history cannot be executed (is greyed out)
save(C:/Users/www/AppData/Local/Temp/RtmpIHbeKi/log.odc)
save(C:/Users/www/AppData/Local/Temp/RtmpIHbeKi/log.txt)

25
xingzhaoh 发表于 2013-10-29 14:09:23
dongshengjay 发表于 2013-10-29 13:58
用我给你的那个数据
用的你给的数据,代码,我还用了最新的R,弄了半天也没做出来,还是那个结果
Error in bugs.run(n.burnin, bugs.directory, WINE = WINE, useWINE = useWINE,  :
  Look at the log file and
try again with 'debug=TRUE' to figure out what went wrong within Bugs.

26
dongshengjay 发表于 2013-10-29 14:22:35
没有问题的,你在仔细核查下吧

QQ截图20131029141854.png (201.97 KB)

QQ截图20131029141854.png

27
xingzhaoh 发表于 2013-10-29 14:31:02

一直在试着,怎么会这样,难道是我的winbug有问题:
Error in bugs.run(n.burnin, bugs.directory, WINE = WINE, useWINE = useWINE,  :
  Look at the log file and
try again with 'debug=TRUE' to figure out what went wrong within Bugs.

28
xingzhaoh 发表于 2013-10-29 15:06:38
dongshengjay 发表于 2013-10-29 14:24
没有问题的,你在仔细核查下吧
您还能知道是什么原因吗? 是Winbug不能用了是吗?

29
Nicolle 学生认证  发表于 2013-11-7 06:54:08
提示: 作者被禁止或删除 内容自动屏蔽

30
yukiwang522 学生认证  发表于 2016-3-2 17:39:44
我也是遇到了相关的问题,学习了~

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-30 06:28