全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 winbugs及其他软件专版
1681 1
2014-06-20
复制代码


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.

二维码

扫码加我 拉你入群

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

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

全部回复
2014-6-28 17:04:04
辛苦了,楼主
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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