立即打开
Data:
Click arrow for data - same data used for all models in this example
Inits:
list(a=c(1,1,1))
Poor convergence. Click arrow for trace plots of a[], which are highly cross-correlated.
No difference between schools...
Inits:
list(b.boy=0, b=c(0,0))
node mean sd MC error 2.5% median 97.5% start sample
b.boy 0.9855 0.2476 0.005047 0.5125 0.9823 1.473 4003 50000
or.boy 2.763 0.6999 0.01422 1.669 2.671 4.364 4003 50000
Dbar = post.mean of -2logL; Dhat = -2LogL at post.mean of stochastic nodes
Dbar Dhat pD DIC
Goals 957.489 954.473 3.016 960.506
total 957.489 954.473 3.016 960.506
Inits:
list(b.boy=0, b=structure(.Data=c(0, 0, NA, 0, 0, NA, 0, 0, NA, 0, 0, NA, 0, 0, NA, 0, 0, NA, 0, 0, NA, 0, 0, NA, 0, 0, NA),.Dim=c(9,3)))
node mean sd MC error 2.5% median 97.5% start sample
b.boy 1.088 0.2639 0.005174 0.5781 1.084 1.61 4002 50000
or.boy 3.074 0.8356 0.01662 1.783 2.956 5.005 4002 50000
Dbar Dhat pD DIC
Goals 936.567 917.409 19.158 955.725
total 936.567 917.409 19.158 955.725
Inits:
list(mu=c(0,0), s=c(1,1), cor=0.5)
node mean sd MC error 2.5% median 97.5% start sample
b.boy 1.053 0.2549 0.003429 0.5596 1.052 1.56 4002 200000
or.boy 2.961 0.7715 0.01031 1.75 2.862 4.758 4002 200000
Dbar Dhat pD DIC
Goals 937.938 924.479 13.459 951.397
total 937.938 924.479 13.459 951.397
Monitor p.girl and p.boy to obtain the data for the graph in Figure 10.5, which was produced in R.
扫码加我 拉你入群
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
全部回复
扫码加我 拉你入群
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
相关推荐
栏目导航
热门文章
推荐文章
扫码加好友,拉您进群