Sampling functions#

Expand for references to pymc.sample

Bayesian Additive Regression Trees: Introduction / Biking with BART

Bayesian Additive Regression Trees: Introduction / Coal mining with BART

Bayesian Estimation Supersedes the T-Test / Example: Drug trial evaluation

LKJ Cholesky Covariance Priors for Multivariate Normal Models

Bernoulli Conversions / Data

Generalising to multi-variant tests

Value Conversions

Estimating parameters of a distribution from awkwardly binned data / Example 2: Parameter estimation with the other set of bins / Model specification

Estimating parameters of a distribution from awkwardly binned data / Example 6: A non-normal distribution / Model specification

Estimating parameters of a distribution from awkwardly binned data / Example 3: Parameter estimation with two bins together / Model Specification

Estimating parameters of a distribution from awkwardly binned data / Example 4: Parameter estimation with continuous and binned measures / Model Specification

Estimating parameters of a distribution from awkwardly binned data / Example 5: Hierarchical estimation / Model specification

Estimating parameters of a distribution from awkwardly binned data / Example 1: Gaussian parameter estimation with one set of bins / Model specification

Using a “black box” likelihood function (numpy) / Aesara Op with grad

Using a “black box” likelihood function (numpy) / Aesara Op without grad

Using a “black box” likelihood function (numpy) / Comparison to equivalent PyMC distributions

Using a “black box” likelihood function (numpy) / Introduction

Factor analysis / Model / Alternative parametrization

Factor analysis / Model / Direct implementation

Hierarchical Partial Pooling / Approach

NBA Foul Analysis with Item Response Theory / Sampling and convergence

Bayesian mediation analysis / Define the PyMC3 model and conduct inference

Bayesian mediation analysis / Double check with total effect only model

Does the effect of training upon muscularity decrease with age? / Define the PyMC model and conduct inference

A Primer on Bayesian Methods for Multilevel Modeling / Adding group-level predictors

A Primer on Bayesian Methods for Multilevel Modeling / Conventional approaches

A Primer on Bayesian Methods for Multilevel Modeling / Correlations among levels

A Primer on Bayesian Methods for Multilevel Modeling / Partial pooling model

A Primer on Bayesian Methods for Multilevel Modeling / Varying intercept and slope model

A Primer on Bayesian Methods for Multilevel Modeling / Varying intercept model

Probabilistic Matrix Factorization for Making Personalized Recommendations / Probabilistic Matrix Factorization

Model building and expansion for golf putting / A new model

Model building and expansion for golf putting / Fitting the distance angle model

Model building and expansion for golf putting / Fitting the model on the new data

Model building and expansion for golf putting / Logit model

Model building and expansion for golf putting / Geometry-based model / Prior Predictive Checks

Regression discontinuity design analysis / Inference

A Hierarchical model for Rugby prediction / Building of the model

Splines / The model / Fit the model

Stochastic Volatility model / Fit Model

How to wrap a JAX function for use in PyMC / Wrapping the JAX function in Aesara / Sampling with PyMC

Sampler Statistics / Multiple samplers

Sampler Statistics

Binomial regression / Binomial regression model

Hierarchical Binomial Model: Rat Tumor Example / Computing the Posterior using PyMC

GLM: Hierarchical Linear Regression / Probabilistic Programming / Hierarchical Model

GLM: Hierarchical Linear Regression / Probabilistic Programming / Unpooled/non-hierarchical model

GLM: Negative Binomial Regression / Negative Binomial Regression / Create GLM Model

GLM: Poisson Regression / Poisson Regression / 1. Manual method, create design matrices and manually specify model

Rolling Regression / Rolling regression

Rolling Regression

Simpson’s paradox and mixed models / Model 1: Basic linear regression / Do inference

Simpson’s paradox and mixed models / Model 2: Independent slopes and intercepts model

Simpson’s paradox and mixed models / Model 3: Hierarchical regression

Bayesian regression with truncated or censored data / Run the truncated and censored regressions

Bayesian regression with truncated or censored data / The problem that truncated or censored regression solves

General API quickstart / 3. Inference / 3.2 Analyze sampling results

General API quickstart / 4. Posterior Predictive Sampling

General API quickstart / 4.1 Predicting on hold-out data

General API quickstart / 3. Inference / 3.1 Sampling

Lasso regression with block updating

Compound Steps in Sampling / Compound steps

Compound Steps in Sampling / Compound steps by default

Compound Steps in Sampling / Order of step methods

Compound Steps in Sampling / Specify compound steps

Gaussian Mixture Model

Work flow / Step 4: Draw MCMC samples from the posterior using MLDA

Censored Data Models / Censored data models / Model 1 - Imputed Censored Model of Censored Data

Censored Data Models / Censored data models / Model 2 - Unimputed Censored Model of Censored Data

Censored Data Models / Uncensored Model

Air passengers - Prophet-like model / Part 1: linear trend

Air passengers - Prophet-like model / Part 2: enter seasonality

Expand for references to pymc.sample_posterior_predictive

Estimating parameters of a distribution from awkwardly binned data / Example 1: Gaussian parameter estimation with one set of bins / Checks on model

Estimating parameters of a distribution from awkwardly binned data / Example 5: Hierarchical estimation / Posterior predictive checks

Estimating parameters of a distribution from awkwardly binned data / Example 6: A non-normal distribution / Posterior predictive checks

Estimating parameters of a distribution from awkwardly binned data / Example 3: Parameter estimation with two bins together / Posterior predictive checks

Estimating parameters of a distribution from awkwardly binned data / Example 4: Parameter estimation with continuous and binned measures / Posterior predictive checks

Estimating parameters of a distribution from awkwardly binned data / Example 2: Parameter estimation with the other set of bins / Posterior predictive checks

A Primer on Bayesian Methods for Multilevel Modeling / Conventional approaches

A Primer on Bayesian Methods for Multilevel Modeling / Prediction

Model building and expansion for golf putting / A new model

Model building and expansion for golf putting / Fitting the distance angle model

Model building and expansion for golf putting / Logit model

Regression discontinuity design analysis / Counterfactual questions

A Hierarchical model for Rugby prediction / Results

Splines / The model / Fit the model

Stochastic Volatility model / Fit Model

Bayes Factors and Marginal Likelihood / Bayes factors and inference

Simpson’s paradox and mixed models / Model 2: Independent slopes and intercepts model / Visualisation

Simpson’s paradox and mixed models / Model 1: Basic linear regression / Visualisation

Simpson’s paradox and mixed models / Model 3: Hierarchical regression / Visualise

General API quickstart / 4. Posterior Predictive Sampling

General API quickstart / 4.1 Predicting on hold-out data

Old good Gaussian fit

Air passengers - Prophet-like model / Part 1: linear trend

Air passengers - Prophet-like model / Part 2: enter seasonality

Variational Inference: Bayesian Neural Networks / Lets look at what the classifier has learned

Variational Inference: Bayesian Neural Networks / Bayesian Neural Networks in PyMC / Variational Inference: Scaling model complexity

Expand for references to pymc.sample_prior_predictive

Bernoulli Conversions / Prior predictive checks

Value Conversions

A Primer on Bayesian Methods for Multilevel Modeling / Conventional approaches

Model building and expansion for golf putting / Geometry-based model / Prior Predictive Checks

Splines / The model / Fit the model

Stochastic Volatility model / Checking the model

Air passengers - Prophet-like model / Part 1: linear trend

Air passengers - Prophet-like model / Part 2: enter seasonality

Samplers#

Expand for references to pymc.NUTS

Sampler Statistics

Expand for references to pymc.Metropolis

Sampler Statistics / Multiple samplers

Lasso regression with block updating

Compound Steps in Sampling / Compound steps

Compound Steps in Sampling / Specify compound steps

Work flow / Step 4: Draw MCMC samples from the posterior using MLDA

Expand for references to pymc.Slice

Lasso regression with block updating