Summary
Bayesian statistics is everywhere: weather forecasting, epidemic analysis, biodiversity conservation… In an uncertain world, it helps us estimate, predict, and make decisions by giving meaning to data. This book offers an accessible and practical introduction to Bayesian statistics. The author explains, step-by-step, the fundations of the approach, its advantages, and the logic underlying Bayesian reasoning. Learning is built around the free software R and develops through research questions related to the ecology of the coypu, which serves as the book's guiding thread. Each chapter addresses a key pillar: Bayes' theorem, Markov chain Monte Carlo (MCMC) methods, the choice and role of prior distributions, linear regression and its extensions, generalized linear models (mixed or not), and finally model comparison and validation. Readers are invited to code, simulate, test, and visualize in order to understand, supported by worked examples and online materials. Written in a clear and engaging style, like a dialogue between teacher and student, the book demystifies Bayesian statistics. It is intended for anyone wishing to learn this approach, particularly those working in the life sciences, data science, or environmental sciences.
Table of contents
Preface
Why take an interest in Bayesian statistics?
What we will cover in this book
How to read this book
1. The Bayesian approach
1.1. Bayes' theorem
1.2. What is Bayesian statistics?
1.3. A running example
1.4. Maximum likelihood
1.5. And in the Bayesian framework?
Key points to remember
2. Markov chain Monte Carlo methods
2.1. Applying Bayes' theorem
2.2. MCMC algorithms
2.3. Assessing convergence
Key points to remember
3. Practical implementation
3.1. The syntax of the brms package
3.2. Visualization
3.3. Priors
Key points to remember
4. Prior distributions
4.1. The role of the prior
4.2. Sensitivity to the prior
4.3. How to incorporate prior information
4.4. Beware of so-called non-informative priors
Key points to remember
5. Regression
5.1. Linear regression
5.2. Model evaluation
5.3. Model comparison
Key points to remember
6. Generalized linear models and generalized linear mixed models
6.1. Generalized linear models (GLM)
6.2. Generalized linear mixed models (GLMM)
Key points to remember
Conclusions
What we have covered
Bayesian statistics, in a nutshell
A few practical tips
Final remarks
Annotated bibliography
Acknowledgments