Logit model (Section 11.6)
WinBUGS code Logit_slugger.odc
Posterior means, posterior standard deviations and 95% credible intervals (Inference->Samples->stats)
1: Aaron, 2: Greenberg, 3: Killebrew, 4:Mantle, 5:Mays, 6:McCovey, 7:Ott, 8:Ruth, 9:Schmidt, 10:Sosa
Sample path (history)
Posterior probability densities (Inference->Samples->density)
(Further, right-click on the figure->
Margins-> Special…->Smooth -> change from 0.2 to 0.1-> apply all.
Titles -> x-axis: Age, title: peak.age[1] sample: 5000 Aaron.
Axis Bound -> X-min:26, X-max:40, Y-min:0, Y-max:0.6
All plots -> check “x-bounds”, “ybounds” “x-axis title” -> apply all.)
Sample autocorrelation function (Inference->Samples->auto corr)
Running quantile plot (Inference->Samples->quantiles)
Boxplot of peak.age (Inference-> Compare-> node:peak.age and click on boxplot)
(Further, right-click on the figure, Property…-> Margins -> Special…-> check “rank”)
1: Aaron, 2: Greenberg, 3: Killebrew, 4:Mantle, 5:Mays, 6:McCovey, 7:Ott, 8:Ruth, 9:Schmidt, 10:Sosa