全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 winbugs及其他软件专版
2547 1
2016-10-25
[attachimg]2123188[/atta 连续类变量数据

ch 请问亲们,我把list(nt=10,ns=7,ref=1)和 t[,1] t[,2] t[,3] t[,4] y[,1] y[,2] y[,3] y[,4] sd[,1] sd[,2] ...

img]    请问亲们,我把list(nt=10,ns=7,ref=1)和 t[,1] t[,2] t[,3] t[,4] y[,1] y[,2] y[,3] y[,4] sd[,1] sd[,2] sd[,3] sd[,4] n[,1] n[,2] n[,3] n[,4] na[]Load data 后想compile,但是下方显示made use og undefined node Sd,我应该怎么处理?我这个是连续类变量。急!! 请问亲们,我把list(nt=10,ns=7,ref=1)和 t[,1] t[,2] t[,3] t[,4] y[,1] y[,2] y[,3] y[,4] sd[,1] sd[,2] ... 连续类变量数据
二维码

扫码加我 拉你入群

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

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

全部回复
2016-10-26 07:44:33
This should give an error message (made use of undefined node) if you haven't put a prior distribution on oldvar[1]. WinBUGS expects all nodes to have values if they are used in calculations. If you have put a prior on it, then WinBUGS should generate values from the posterior distribution of oldvar[1], and then the equals() function should operate on those generated values.
http://stackoverflow.com/questions/16597737/winbugs-equals-function-with-na
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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