| |
| |
Preface | |
| |
| |
| |
Introduction: Probability and parameters | |
| |
| |
| |
Probability | |
| |
| |
| |
Probability distributions | |
| |
| |
| |
Calculating properties of probability distributions | |
| |
| |
| |
Monte Carlo integration | |
| |
| |
| |
Monte Carlo simulations using BUGS | |
| |
| |
| |
Introduction to BUGS | |
| |
| |
| |
Background | |
| |
| |
| |
Directed graphical models | |
| |
| |
| |
The BUGS language | |
| |
| |
| |
Running BUGS models | |
| |
| |
| |
Running WinBUGS for a simple example | |
| |
| |
| |
DoodleBUGS | |
| |
| |
| |
Using BUGS to simulate from distributions | |
| |
| |
| |
Transformations of random variables | |
| |
| |
| |
Complex calculations using Monte Carlo | |
| |
| |
| |
Multivariate Monte Carlo analysis | |
| |
| |
| |
Predictions with unknown parameters | |
| |
| |
| |
Introduction to Bayesian inference | |
| |
| |
| |
Bayesian learning | |
| |
| |
| |
Bayes' theorem for observable quantities | |
| |
| |
| |
Bayesian inference for parameters | |
| |
| |
| |
Posterior predictive distributions | |
| |
| |
| |
Conjugate Bayesian inference | |
| |
| |
| |
Binomial data | |
| |
| |
| |
Normal data with unknown mean, known variance | |
| |
| |
| |
Inference about a discrete parameter | |
| |
| |
| |
Combinations of conjugate analyses | |
| |
| |
| |
Bayesian and classical methods | |
| |
| |
| |
Likelihood-based inference | |
| |
| |
| |
Exchangeability | |
| |
| |
| |
Long-run properties of Bayesian methods | |
| |
| |
| |
Model-based vs procedural methods | |
| |
| |
| |
The "likelihood principle" | |
| |
| |
| |
Introduction to Markov chain Monte Carlo methods | |
| |
| |
| |
Bayesian computation | |
| |
| |
| |
Single-parameter models | |
| |
| |
| |
Multi-parameter models | |
| |
| |
| |
Monte Carlo integration for evaluating posterior integrals | |
| |
| |
| |
Markov chain Monte Carlo methods | |
| |
| |
| |
Gibbs sampling | |
| |
| |
| |
Gibbs sampling and directed graphical models | |
| |
| |
| |
Derivation of full conditional distributions in BUGS | |
| |
| |
| |
Other MCMC methods | |
| |
| |
| |
Initial values | |
| |
| |
| |
Convergence | |
| |
| |
| |
Detecting convergence/stationarity by eye | |
| |
| |
| |
Formal detection of convergence/stationarity | |
| |
| |
| |
Efficiency and accuracy | |
| |
| |
| |
Monte Carlo standard error of the posterior mean | |
| |
| |
| |
Accuracy of the whole posterior | |
| |
| |
| |
Beyond MCMC | |
| |
| |
| |
Prior distributions | |
| |
| |
| |
Different purpose of priors | |
| |
| |
| |
Vague, "objective," and "reference" priors | |
| |
| |
| |
Introduction | |
| |
| |
| |
Discrete uniform distributions | |
| |
| |
| |
Continuous uniform distributions and Jeffreys prior | |
| |
| |
| |
Location parameters | |
| |
| |
| |
Proportions | |
| |
| |
| |
Counts and rates | |
| |
| |
| |
Scale parameters | |
| |
| |
| |
Distributions on the positive integers | |
| |
| |
| |
More complex situations | |
| |
| |
| |
Representation of informative priors | |
| |
| |
| |
Elicitation of pure judgement | |
| |
| |
| |
Discounting previous data | |
| |
| |
| |
Mixture of prior distributions | |
| |
| |
| |
Sensitivity analysis | |
| |
| |
| |
Regression models | |
| |
| |
| |
Linear regression with normal errors | |
| |
| |
| |
Linear regression with non-normal errors | |
| |
| |
| |
Non-linear regression with normal errors | |
| |
| |
| |
Multivariate responses | |
| |
| |
| |
Generalised linear regression models | |
| |
| |
| |
Inference on functions of parameters | |
| |
| |
| |
Further reading | |
| |
| |
| |
Categorical data | |
| |
| |
| |
2 X 2 tables | |
| |
| |
| |
Tables with one margin fixed | |
| |
| |
| |
Case-control studies | |
| |
| |
| |
Tables with both margins fixed | |
| |
| |
| |
Multinomial models | |
| |
| |
| |
Conjugate analysis | |
| |
| |
| |
Non-conjugate analysis-parameter constraints | |
| |
| |
| |
Categorical data with covariates | |
| |
| |
| |
Multinomial and Poisson regression equivalence | |
| |
| |
| |
Contingency tables | |
| |
| |
| |
Ordinal regression | |
| |
| |
| |
Further reading | |
| |
| |
| |
Model checking and comparison | |
| |
| |
| |
Introduction | |
| |
| |
| |
Deviance | |
| |
| |
| |
Residuals | |
| |
| |
| |
Standardised Pearson residuals | |
| |
| |
| |
Multivariate residuals | |
| |
| |
| |
Observed p-values for distributional shape | |
| |
| |
| |
Deviance residuals and tests of fit | |
| |
| |
| |
Predictive checks and Bayesian p-values | |
| |
| |
| |
Interpreting discrepancy statistics - how big is big? | |
| |
| |
| |
Out-of-sample prediction | |
| |
| |
| |
Checking functions based on data alone | |
| |
| |
| |
Checking functions based on data and parameters | |
| |
| |
| |
Goodness of fit for grouped data | |
| |
| |
| |
Model assessment by embedding in larger models | |
| |
| |
| |
Model comparison using deviances | |
| |
| |
| |
pD: The effective number of parameters | |
| |
| |
| |
Issues with pD | |
| |
| |
| |
Alternative measures of the effective number of parameters | |
| |
| |
| |
DIC for model comparison | |
| |
| |
| |
How and why does WinBUGS partition DIC and pD? | |
| |
| |
| |
Alternatives to DIC | |
| |
| |
| |
Bayes factors | |
| |
| |
| |
Lindley-Bartlett paradox in model selection | |
| |
| |
| |
Computing marginal likelihoods | |
| |
| |
| |
Model uncertainty | |
| |
| |
| |
Bayesian model averaging | |
| |
| |
| |
MCMC sampling over a space of models | |
| |
| |
| |
Model averaging when all models are wrong | |
| |
| |
| |
Model expansion | |
| |
| |
| |
Discussion on model comparison | |
| |
| |
| |
Prior-data conflict | |
| |
| |
| |
Identification of prior-data conflict | |
| |
| |
| |
Accommodation of prior-data conflict | |
| |
| |
| |
Issues in Modelling | |
| |
| |
| |
Missing data | |
| |
| |
| |
Missing response data | |
| |
| |
| |
Missing covariate data | |
| |
| |
| |
Prediction | |
| |
| |
| |
Measurement error | |
| |
| |
| |
Cutting feedback | |
| |
| |
| |
New distributions | |
| |
| |
| |
Specifying a new sampling distribution | |
| |
| |
| |
Specifying a new prior distribution | |
| |
| |
| |
Censored, truncated, and grouped observations | |
| |
| |
| |
Censored observations | |
| |
| |
| |
Truncated sampling distributions | |
| |
| |
| |
Grouped, rounded, or interval-censored data | |
| |
| |
| |
Constrained parameters | |
| |
| |
| |
Univariate fully specified prior distributions | |
| |
| |
| |
Multivariate fully specified prior distributions | |
| |
| |
| |
Prior distributions with unknown parameters | |
| |
| |
| |
Bootstrapping | |
| |
| |
| |
Ranking | |
| |
| |
| |
Hierarchical models | |
| |
| |
| |
Exchangeability | |
| |
| |
| |
Priors | |
| |
| |
| |
Unit-specific parameters | |
| |
| |
| |
Parameter constraints | |
| |
| |
| |
Priors for variance components | |
| |
| |
| |
Hierarchical regression models | |
| |
| |
| |
Data formatting | |
| |
| |
| |
Hierarchical models for variances | |
| |
| |
| |
Redundant parameterisations | |
| |
| |
| |
More general formulations | |
| |
| |
| |
Checking of hierarchical models | |
| |
| |
| |
Comparison of hierarchical models | |
| |
| |
| |
"Focus": The crucial element of model comparison in hierarchical models | |
| |
| |
| |
Further resources | |
| |
| |
| |
Specialised models | |
| |
| |
| |
Time-to-event data | |
| |
| |
| |
Parametric survival regression | |
| |
| |
| |
Time series models | |
| |
| |
| |
Spatial models | |
| |
| |
| |
Intrinsic conditionally autoregressive (CAR) models | |
| |
| |
| |
Supplying map polygon data to WinBUGS and creating adjacency matrices | |
| |
| |
| |
Multivariate CAR models | |
| |
| |
| |
Proper CAR model | |
| |
| |
| |
Poisson-gamma moving average models | |
| |
| |
| |
Geostatistical models | |
| |
| |
| |
Evidence synthesis | |
| |
| |
| |
Meta-analysis | |
| |
| |
| |
Generalised evidence synthesis | |
| |
| |
| |
Differential equation and pharmacokinetic models | |
| |
| |
| |
Finite mixture and latent class models | |
| |
| |
| |
Mixture models using an explicit likelihood | |
| |
| |
| |
Piecewise parametric models | |
| |
| |
| |
Change-point models | |
| |
| |
| |
Splines | |
| |
| |
| |
Semiparametric survival models | |
| |
| |
| |
Bayesian nonparametric models | |
| |
| |
| |
Dirichlet process mixtures | |
| |
| |
| |
Stick-breaking implementation | |
| |
| |
| |
Different implementations of BUGS | |
| |
| |
| |
Introduction-BUGS engines and interfaces | |
| |
| |
| |
Expert systems and MCMC methods | |
| |
| |
| |
Classic BUGS | |
| |
| |
| |
WinBUGS | |
| |
| |
| |
Using WinBUGS: compound documents | |
| |
| |
| |
Formatting data | |
| |
| |
| |
Using the WinBUGS graphical interface | |
| |
| |
| |
Doodles | |
| |
| |
| |
Scripting | |
| |
| |
| |
Interfaces with other software | |
| |
| |
| |
R2WinBUGS | |
| |
| |
| |
WBDev | |
| |
| |
| |
OpenBUGS | |
| |
| |
| |
Differences from WinBUGs | |
| |
| |
| |
OpenBUGS on Linux | |
| |
| |
| |
BRugs | |
| |
| |
| |
Parallel computation | |
| |
| |
| |
JAGS | |
| |
| |
| |
Extensibility: modules | |
| |
| |
| |
Language differences | |
| |
| |
| |
Other differences from WinBUGS | |
| |
| |
| |
Running JAGS from the command line | |
| |
| |
| |
Running JAGS from R | |
| |
| |
| |
BUGS language syntax | |
| |
| |
| |
Introduction | |
| |
| |
| |
Distributions | |
| |
| |
| |
Standard distributions | |
| |
| |
| |
Censoring and truncation | |
| |
| |
| |
Non-standard distributions | |
| |
| |
| |
Deterministic functions | |
| |
| |
| |
Standard functions | |
| |
| |
| |
Special functions | |
| |
| |
| |
Add-on functions | |
| |
| |
| |
Repetition | |
| |
| |
| |
Multivariate quantities | |
| |
| |
| |
Indexing | |
| |
| |
| |
Functions as indices | |
| |
| |
| |
Implicit indexing | |
| |
| |
| |
Nested indexing | |
| |
| |
| |
Data transformations | |
| |
| |
| |
Commenting | |
| |
| |
| |
Functions in BUGS | |
| |
| |
| |
Standard functions | |
| |
| |
| |
Trigonometric functions | |
| |
| |
| |
Matrix algebra | |
| |
| |
| |
Distribution utilities and model checking | |
| |
| |
| |
Functionals and differential equations | |
| |
| |
| |
Miscellaneous | |
| |
| |
| |
Distributions in BUGS | |
| |
| |
| |
Continuous univariate, unrestricted range | |
| |
| |
| |
Continuous univariate, restricted to be positive | |
| |
| |
| |
Continuous univariate, restricted to a finite interval | |
| |
| |
| |
Continuous multivariate distributions | |
| |
| |
| |
Discrete univariate distributions | |
| |
| |
| |
Discrete multivariate distributions | |
| |
| |
Bibliography | |
| |
| |
Index | |