Probabilistic Programming with PyMC: Bayesian Inference

Added:

Probabilistic Programming Basics
Monty Hall with PyMC
Building Robust Regressions
Advanced Sampling via Aesara
Lego Pricing Case Study
Community Project & Support

Probabilistic Programming Basics

4:03
Playing Section
  • 1

    Introduces probabilistic programming and its philosophical shift from data-to-story to story-to-data.

  • 2

    Explains the mathematical foundation using Monte Carlo methods for Bayesian inference.

  • 3

    Demonstrates core concepts through a simple example, highlighting the power of the approach.

Fundamental probability theory, specifically Bayes' Theorem and the concepts of prior, likelihood, and posterior distributions.
Intermediate Python programming skills, including familiarity with scientific libraries like NumPy and Pandas.
Basic understanding of common probability distributions (e.g., Normal, Binomial, Beta) and statistical parameters.
An introductory understanding of parameter estimation and statistical modeling concepts.
Advanced MCMC diagnostics, including analyzing trace plots, Gelman-Rubin (R-hat) statistics, and identifying divergence issues.
Hierarchical (or multi-level) Bayesian modeling to handle grouped and structured data with PyMC.
Variational Inference (VI) techniques in PyMC for faster approximation and scaling to large datasets.
Bayesian model comparison and evaluation methodologies using tools like WAIC (Watanabe-Akaike Information Criterion) and LOO (Leave-One-Out cross-validation).
Practical application areas such as Bayesian A/B testing, causal inference, or probabilistic time-series forecasting.
13.1K views252likes1:10:06@DataUmbrellaOriginal Release: 2022-01-11

Probabilistic programming is a paradigm that reverses the traditional data science workflow by telling a story about how data is generated and then using observed data to infer unknown quantities through Bayesian inference; PyMC implements this approach using Monte Carlo methods and Hamiltonian Monte Carlo sampling, leveraging Aesara for automatic differentiation to efficiently handle high-dimensional models, as demonstrated through examples like the Monty Hall problem and robust regression analysis.