PyMC Example Gallery# Introductory# General Overview Introductory Overview of PyMC Simple Linear Regression GLM: Linear regression General API quickstart General API quickstart Library Fundamentals# Distribution Dimensionality Distribution Dimensionality PyMC and PyTensor PyMC and PyTensor Using Data Containers Using Data Containers How to# Prior and Posterior Predictive Checks Prior and Posterior Predictive Checks Model Comparison Model comparison Updating Priors Updating Priors Automatic marginalization of discrete variables Automatic marginalization of discrete variables How to debug a model How to debug a model How to wrap a JAX function for use in PyMC How to wrap a JAX function for use in PyMC Splines Splines Bayesian copula estimation: Describing correlated joint distributions Bayesian copula estimation: Describing correlated joint distributions Using ModelBuilder class for deploying PyMC models Using ModelBuilder class for deploying PyMC models Using a “black box” likelihood function Using a “black box” likelihood function LKJ Cholesky Covariance Priors for Multivariate Normal Models LKJ Cholesky Covariance Priors for Multivariate Normal Models Bayesian Missing Data Imputation Bayesian Missing Data Imputation Profiling Profiling Generalized Linear Models# GLM: Robust Linear Regression GLM: Robust Linear Regression Out-Of-Sample Predictions Out-Of-Sample Predictions Bayesian regression with truncated or censored data Bayesian regression with truncated or censored data Binomial regression Binomial regression GLM: Negative Binomial Regression GLM: Negative Binomial Regression Hierarchical Binomial Model: Rat Tumor Example Hierarchical Binomial Model: Rat Tumor Example A Primer on Bayesian Methods for Multilevel Modeling A Primer on Bayesian Methods for Multilevel Modeling Regression Models with Ordered Categorical Outcomes Regression Models with Ordered Categorical Outcomes GLM: Poisson Regression GLM: Poisson Regression Discrete Choice and Random Utility Models Discrete Choice and Random Utility Models GLM: Model Selection GLM: Model Selection GLM: Robust Regression using Custom Likelihood for Outlier Classification GLM: Robust Regression using Custom Likelihood for Outlier Classification Rolling Regression Rolling Regression Case Studies# Confirmatory Factor Analysis and Structural Equation Models in Psychometrics Confirmatory Factor Analysis and Structural Equation Models in Psychometrics Hierarchical Partial Pooling Hierarchical Partial Pooling NBA Foul Analysis with Item Response Theory NBA Foul Analysis with Item Response Theory Bayesian Estimation Supersedes the T-Test Bayesian Estimation Supersedes the T-Test A Hierarchical model for Rugby prediction A Hierarchical model for Rugby prediction Estimating parameters of a distribution from awkwardly binned data Estimating parameters of a distribution from awkwardly binned data Factor analysis Factor analysis Probabilistic Matrix Factorization for Making Personalized Recommendations Probabilistic Matrix Factorization for Making Personalized Recommendations Reliability Statistics and Predictive Calibration Reliability Statistics and Predictive Calibration Generalized Extreme Value Distribution Generalized Extreme Value Distribution Model building and expansion for golf putting Model building and expansion for golf putting Fitting a Reinforcement Learning Model to Behavioral Data with PyMC Fitting a Reinforcement Learning Model to Behavioral Data with PyMC Causal Inference# Simpson’s paradox Simpson’s paradox Interrupted time series analysis Interrupted time series analysis Regression discontinuity design analysis Regression discontinuity design analysis Interventional distributions and graph mutation with the do-operator Interventional distributions and graph mutation with the do-operator Bayesian Non-parametric Causal Inference Bayesian Non-parametric Causal Inference Bayesian mediation analysis Bayesian mediation analysis Counterfactual inference: calculating excess deaths due to COVID-19 Counterfactual inference: calculating excess deaths due to COVID-19 Introduction to Bayesian A/B Testing Introduction to Bayesian A/B Testing Difference in differences Difference in differences Bayesian moderation analysis Bayesian moderation analysis Gaussian Processes# Mean and Covariance Functions Mean and Covariance Functions Student-t Process Student-t Process Heteroskedastic Gaussian Processes Heteroskedastic Gaussian Processes Gaussian Processes: Latent Variable Implementation Gaussian Processes: Latent Variable Implementation Sparse Approximations Sparse Approximations Gaussian Processes using numpy kernel Gaussian Processes using numpy kernel Kronecker Structured Covariances Kronecker Structured Covariances Example: Mauna Loa CO_2 continued Example: Mauna Loa CO_2 continued Gaussian Process for CO2 at Mauna Loa Gaussian Process for CO2 at Mauna Loa Gaussian Processes: HSGP Reference & First Steps Gaussian Processes: HSGP Reference & First Steps Baby Births Modelling with HSGPs Baby Births Modelling with HSGPs Marginal Likelihood Implementation Marginal Likelihood Implementation Multi-output Gaussian Processes: Coregionalization models using Hamadard product Multi-output Gaussian Processes: Coregionalization models using Hamadard product GP-Circular GP-Circular Modeling spatial point patterns with a marked log-Gaussian Cox process Modeling spatial point patterns with a marked log-Gaussian Cox process Gaussian Processes: HSGP Advanced Usage Gaussian Processes: HSGP Advanced Usage Gaussian Process (GP) smoothing Gaussian Process (GP) smoothing Time Series# Longitudinal Models of Change Longitudinal Models of Change Forecasting with Structural AR Timeseries Forecasting with Structural AR Timeseries Analysis of An AR(1) Model in PyMC Analysis of An AR(1) Model in PyMC Stochastic Volatility model Stochastic Volatility model Time Series Models Derived From a Generative Graph Time Series Models Derived From a Generative Graph Bayesian Vector Autoregressive Models Bayesian Vector Autoregressive Models Air passengers - Prophet-like model Air passengers - Prophet-like model Multivariate Gaussian Random Walk Multivariate Gaussian Random Walk Inferring parameters of SDEs using a Euler-Maruyama scheme Inferring parameters of SDEs using a Euler-Maruyama scheme Spatial Analysis# The Besag-York-Mollie Model for Spatial Data The Besag-York-Mollie Model for Spatial Data The prevalence of malaria in the Gambia The prevalence of malaria in the Gambia Conditional Autoregressive (CAR) Models for Spatial Data Conditional Autoregressive (CAR) Models for Spatial Data Diagnostics and Model Criticism# Bayes Factors and Marginal Likelihood Bayes Factors and Marginal Likelihood Diagnosing Biased Inference with Divergences Diagnosing Biased Inference with Divergences Sampler Statistics Sampler Statistics Model Averaging Model Averaging Bayesian Additive Regression Trees# Categorical regression Categorical regression Bayesian Additive Regression Trees: Introduction Bayesian Additive Regression Trees: Introduction Modeling Heteroscedasticity with BART Modeling Heteroscedasticity with BART Quantile Regression with BART Quantile Regression with BART Mixture Models# Gaussian Mixture Model Gaussian Mixture Model Dependent density regression Dependent density regression Dirichlet process mixtures for density estimation Dirichlet process mixtures for density estimation Marginalized Gaussian Mixture Model Marginalized Gaussian Mixture Model Dirichlet mixtures of multinomials Dirichlet mixtures of multinomials Survival Analysis# Reparameterizing the Weibull Accelerated Failure Time Model Reparameterizing the Weibull Accelerated Failure Time Model Bayesian Survival Analysis Bayesian Survival Analysis Censored Data Models Censored Data Models Frailty and Survival Regression Models Frailty and Survival Regression Models Bayesian Parametric Survival Analysis Bayesian Parametric Survival Analysis ODE models# ODE Lotka-Volterra With Bayesian Inference in Multiple Ways ODE Lotka-Volterra With Bayesian Inference in Multiple Ways Lotka-Volterra with manual gradients Lotka-Volterra with manual gradients pymc3.ode: Shapes and benchmarking pymc3.ode: Shapes and benchmarking GSoC 2019: Introduction of pymc3.ode API GSoC 2019: Introduction of pymc3.ode API MCMC# Lasso regression with block updating Lasso regression with block updating Approximate Bayesian Computation Approximate Bayesian Computation Multilevel Gravity Survey with MLDA Multilevel Gravity Survey with MLDA The MLDA sampler The MLDA sampler DEMetropolis and DEMetropolis(Z) Algorithm Comparisons DEMetropolis and DEMetropolis(Z) Algorithm Comparisons MLDA sampler: Introduction and resources MLDA sampler: Introduction and resources Faster Sampling with JAX and Numba Faster Sampling with JAX and Numba Sequential Monte Carlo Sequential Monte Carlo Using a custom step method for sampling from locally conjugate posterior distributions Using a custom step method for sampling from locally conjugate posterior distributions Variance reduction in MLDA - Linear regression Variance reduction in MLDA - Linear regression DEMetropolis(Z) Sampler Tuning DEMetropolis(Z) Sampler Tuning Compound Steps in Sampling Compound Steps in Sampling Variational Inference# Variational Inference: Bayesian Neural Networks Variational Inference: Bayesian Neural Networks Pathfinder Variational Inference Pathfinder Variational Inference Empirical Approximation overview Empirical Approximation overview Introduction to Variational Inference with PyMC Introduction to Variational Inference with PyMC GLM: Mini-batch ADVI on hierarchical regression model GLM: Mini-batch ADVI on hierarchical regression model