Checking date: 23/04/2025 15:51:36


Course: 2025/2026

Bayesian Modeling
(20362)
Bachelor in data and business analytics (Plan: 560 - Estudio: 203)


Coordinating teacher: WIPER , MICHAEL PETER

Department assigned to the subject: Statistics Department

Type: Compulsory
ECTS Credits: 6.0 ECTS

Course:
Semester:




Requirements (Subjects that are assumed to be known)
Probability Basic Calculus Basic Algebra Knowledge of R
Objectives
a) Introduce the basic concepts of Bayesian inference and the similarities and differences with frequentist inference. b) Show when and how conjugate prior distributions can be applied. c) Illustrate how to use Monte Carlo and MCMC methods for implementing Bayesian inference in situations where a conjugate prior distribution is not available. d) Demonstrate how inference can be made for linear models and generalized linear models using Bayesian techniques, as well as Bayesian techniques for model selection. e) Show how advanced software such as R, Stan, or Python can be used to implement Bayesian methods. 1) Analytical and synthesis skills. 2) Modeling and problem-solving. 3) Oral and written communication.
Description of contents: programme
1. Review of basic concepts: a) Law of total probability; Bayes theorem; the law of total expectation. b) Prior distribution; likelihood function; posterior distribution; marginal likelihood; predictive distribution. c) Differences between frequentist probability and subjective probability. d) Introduction to naïve Bayes classification. 2. Models with conjugate prior distributions. a) The beta-binomial model. b) Conjugate prior distributions. c) Poisson-gamma and / or Poisson-exponential models. d) Conjugate priors for exponential families. e) Interpretation of parameters. f) Limits of conjugate prior distributions and improper priors. 3. Bayesian inference for the Gaussian distribution. a) The normal-gamma distribution. b) The Behrens and Fisher problem. c) Semi-conjugate inference: an introduction to Gibbs sampling. 4. Implementation of Bayesian inference. a) Monte Carlo: rejection sampling, importance sampling. b) Markov chain Monte Carlo (MCMC): convergence of MCMC algorithms; Gibbs; Metropolis; Hamiltonian MCMC; other methods. 5. Linear models and Bayesian classification. a) Regresssion with an improper prior b) Conjugate regression and the relationship to ridge regression c) Bayesian lasso. d) Generalized linear models. e) Classification. 6. Model selection. a) Bayes factors. b) Information criteria (BIC, DIC, WAIC). c) Examples in regression and linear models.
Learning activities and methodology
Theory (4 ECTS). Theoretical classes with support material available on the Web. Practice (2 ECTS) problem-solving classes. Computing practices in computer labs. Presentations and debates.
Assessment System
  • % end-of-term-examination/test 0
  • % of continuous assessment (assigments, laboratory, practicals...) 100

Calendar of Continuous assessment


Extraordinary call: regulations
Basic Bibliography
  • AA Johnson, MQ Ott & M Dogucu. Bayes Rules!: An Introduction to Applied Bayesian Modeling. CRC Press. 2022
  • R McElreath. Statistical Rethinking: A Bayesian Course with Examples in R and STAN. CRC-Press. 2020
  • TM Donovan & RM MIckey. Bayesian Statistics for Beginners: A Step-By-Step Approach. Oxford University Pr. 2019
  • W Kurt. Bayesian Statistics the Fun Way: Understanding Statistics and Probability with Star Wars, LEGO, and Rubber Ducks. No Starch Press. 2019
Additional Bibliography
  • J Gill & L Bao. Bayesian Social Science Statistics: From the Very Beginning. Cambridge University Press. 2024
  • JV Stone. Bayes' Rule With R: A Tutorial Introduction to Bayesian Analysis. Sebtel Press. 2016
  • M van Oijen. Bayesian Compendium (2nd edition). Springer. 2024
  • Slater, M. Bayesian Methods in Statistics: from Concepts to Practice. SAGE. 2021
  • T Chivers. Everything is Predictable: How Bayesian Statistics Explain our World. One Signal Publishers / Atria. 2024
Recursos electrónicosElectronic Resources *
(*) Access to some electronic resources may be restricted to members of the university community and require validation through Campus Global. If you try to connect from outside of the University you will need to set up a VPN


The course syllabus may change due academic events or other reasons.


More information: http://www.uc3m.es/portal/page/portal/dpto_estadistica/docencia