Probit model (Section 10.3)
WinBUGS code Probit_ch10.odc
Posterior means, posterior standard deviations and 95% credible intervals (Inference->Samples->stats)
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)
Sample autocorrelation function (Inference->Samples->auto corr)
Running quantile plot (Inference->Samples->quantiles)
Scatter plots (Inference->Correlations…)
Survival probabilities for treat= 1 and age=60
(Inference-> Compare-> node:S, axis:t and click on modelfit)
(Further, right-click on the figure, Titles -> x-axis: age, y-axis: S(t))
95% intervals (blue) and median (red)