Continuous#

Expand for references to pymc.Beta

Bayesian Workflow with SEMs / The Bayesian Workflow / Mathematical Specification / Setting up Utility Functions

Hierarchical Partial Pooling / Approach

Fitting a Reinforcement Learning Model to Behavioral Data with PyMC / Estimating the learning parameters via PyMC / Alternative model using Bernoulli for the likelihood

Fitting a Reinforcement Learning Model to Behavioral Data with PyMC / Estimating the learning parameters via PyMC

Introduction to Bayesian A/B Testing / Bernoulli Conversions

Introduction to Bayesian A/B Testing / Generalising to multi-variant tests

Introduction to Bayesian A/B Testing / Value Conversions

Bayes Factors and Marginal Likelihood / Savage-Dickey Density Ratio

Bayes Factors and Marginal Likelihood / Computing Bayes factors / Sequential Monte Carlo

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

Dirichlet process mixtures for density estimation / Dirichlet process mixtures

Compound Steps in Sampling / Compound steps by default

Conditional Autoregressive (CAR) model / Writing some models in PyMC / Our third model: a spatial random effects model, with unknown spatial dependence

Demonstrating the BYM model on the New York City pedestrian accidents dataset / Specifying a BYM model with PyMC

GLMs & GLMM & Generalized Linear Habits / Revisiting Modeling Human Height ⚖️ / Statistical Model / Fit the statistical model

Population Dynamics / Implement the statistical model / PyMC implementation details

Bayesian Vector Autoregressive Models / Adding a Bayesian Twist: Hierarchical VARs

Expand for references to pymc.Exponential

Bayesian Additive Regression Trees: Introduction / Biking with BART

Bayesian Additive Regression Trees: Introduction / Biking with BART / Out-of-Sample Predictions / Regression

Bayesian Additive Regression Trees: Introduction / Biking with BART / Out-of-Sample Predictions / Time Series

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

Hierarchical Partial Pooling / Approach

Bayesian Non-parametric Causal Inference / Causal Inference and Propensity Scores / Mediation Effects and Causal Structure

Using Data Containers / Using Data Containers for readability and reproducibility / Named dimensions with data containers

Using Data Containers / Using Data Containers for readability and reproducibility

Gaussian Processes: Latent Variable Implementation / Example 2: Classification

Gaussian Process (GP) smoothing / Let’s describe the above GP-smoothing model in PyMC

Example 1: A hierarchical HSGP, a more custom model / Example 2: An HSGP that exploits Kronecker structure / PyMC Model

Example 1: A hierarchical HSGP, a more custom model / Looking for a beginner’s introduction? / Build the model / Setting up the model

Gaussian Processes: HSGP Reference & First Steps / Example 1: Basic HSGP Usage / Define and fit the HSGP model

Gaussian Processes: HSGP Reference & First Steps / Example 1: Basic HSGP Usage / Example 2: Working with HSGPs as a parametric, linear model / Model structure

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

Ordinal Scales and Survey Data / Fit a variety of Model Specifications / Bayesian Particularities

Rolling Regression / Rolling regression

A Primer on Bayesian Methods for Multilevel Modeling / Conventional approaches

A Primer on Bayesian Methods for Multilevel Modeling / Non-centered Parameterization

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

Bayesian copula estimation: Describing correlated joint distributions / PyMC models for copula and marginal estimation

Automatic marginalization of discrete variables / Coal mining model

Profiling

Splines / The model / Fit the model

Splines / Predicting on new data

Lasso regression with block updating

Using a custom step method for sampling from locally conjugate posterior distributions / Comparing partial conjugate with full NUTS sampling

Different Covariance Functions

Curves from lines / Example: Cherry Blossom Blooms / Draw some samples from the prior

The Periodic Table of Confounds / Fork Example: Marriage Rates & Divorce Rates (& Waffle House!) / (3) Statistical Model for Causal Effect of Marriage on Divorce / Run the statistical model on the simulated data

The Periodic Table of Confounds / Continuous Example / Statistical Model for Causal Effect of Age on Divorce Rate

Confounds / Backdoor Criterion / Unstratified (confounded) Model / Fit the unstratified model, ignoring Z (and U)

Confounds / Backdoor Criterion / Stratifying by Z (unconfounded)

Infinite causes, finite data / Penalty Prediction & Model (Mis-) Selection / Simulate the plant growth experiment / Correct adjustment set (not stratifying by F)

Infinite causes, finite data / Outliers and Robust Regression / Fit Least Square Model

Infinite causes, finite data / Penalty Prediction & Model (Mis-) Selection / Simulate the plant growth experiment / Incorrect adjustment set (stratifying by F)

Infinite causes, finite data / Robust Linear Regression Using the Student-t Likelihood

Drawing the Markov Owl 🦉 / Including Judge Effects / Fit the judge model

2012 New Jersey Wine Judgement / Simplest Model / Fit the simple, wine-specific model

Drawing the Markov Owl 🦉 / More complete model, stratify by Wine Origin, O_{X[i]} / Fit the wine origin model

BONUS: Survival Analysis / Statistical Model / Finding reasonable hyperparameter for \alpha

Counts and Poisson Regression / Scientific model that includes innovation and technology loss / Determine good prior hyperparams

Case Study: Reed Frog Survival / Building a Multilievel (Hierarchical) Model / Fit the multi-level model

BONUS: Fixed Effects, Multilevel Models, & Mundlak Machines / Random Confounds / Multilevel Model

Case Study: Reed Frog Survival / Including the presence of predators / Multilevel model with predator effects

BONUS: Fixed Effects, Multilevel Models, & Mundlak Machines / Random Confounds / Mundlak Machines / Statistical Model

BONUS: Fixed Effects, Multilevel Models, & Mundlak Machines / Latent Mundlak Machine (aka “Full Luxury Bayes”) / 2. Y sub-model

Fertility & Behavior in Bangladesh / Varying districs + urban / Fit the district-urban model

Fertility & Behavior in Bangladesh / Start simple: varying districts

Adding Correlated Features / Previous model – Using uncorrelated urban features

Phylogenetic Regression / Two equivalent formulations of Linear Regression / Classic Linear Regression

Gaussian Processes (in the abstract) / Stratify by population size / Prior Predictive / Fit population-only model for comparison

Phylogenetic Regression / From Model to Kernel / Fit the full Phylogentic model.

Phylogenetic Regression / From Model to Kernel / Influence of Group Size on Brain Size

Gaussian Processes (in the abstract) / Distance-based model / Islands Distance Matrix

Phylogenetic Regression / From Model to Kernel / Distance-only model / PyMC Implementation

Gaussian Processes (in the abstract) / Stratify by population size

Phylogenetic Regression / Two equivalent formulations of Linear Regression / \text{MVNormal} Linear Regression

Modeling Measurment / Compare causal effects for models that do and do not model measurement error / Fit model that considers no measurement error

Modeling Measurment / Let’s start simpler / Fit the Divorce Measurement Error Model

Modeling Measurment / Let’s start simpler / 4 Submodels / Marriage Rate Measurement Error Model

Measurement Error / Myth: Measurement error can only decrease an effect, not increase

Revisiting Phylogenetic Regression / Drawing the missing owl 🦉 / 3. Impute G using a G-specific submodels / 1. Model that only models effect of body mass on group size M \rightarrow G

GLMs & GLMM & Generalized Linear Habits / Revisiting Modeling Human Height ⚖️ / Fit the dimensionless cylinder model

GLMs & GLMM & Generalized Linear Habits / Revisiting Modeling Human Height ⚖️ / Statistical Model / Fit the statistical model

Population Dynamics / Implement the statistical model / PyMC implementation details

Analysis of An AR(1) Model in PyMC

Non-Linear Change Trajectories / Comparing Trajectories across Gender

Stochastic Volatility model / Build Model

Introduction to Variational Inference with PyMC / Distributional Approximations

Expand for references to pymc.Normal

Quantile Regression with BART / Asymmetric Laplace distribution

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

Confirmatory Factor Analysis and Structural Equation Models in Psychometrics / Full Measurement Model

Confirmatory Factor Analysis and Structural Equation Models in Psychometrics / Measurement Models / Intermediate Cross-Loading Model

Confirmatory Factor Analysis and Structural Equation Models in Psychometrics / Measurement Models

Confirmatory Factor Analysis and Structural Equation Models in Psychometrics / Bayesian Structural Equation Models / Model Complexity and Bayesian Sensitivity Analysis

Generalized Extreme Value Distribution / Modelling & Prediction

Bayesian Workflow with SEMs / The Bayesian Workflow / Confirming Factor Structure

Bayesian Workflow with SEMs / The Bayesian Workflow / Mean Structure SEM

Bayesian Workflow with SEMs / The Bayesian Workflow / SEM with Discrete Choice Component

Bayesian Workflow with SEMs / The Bayesian Workflow / Mathematical Specification / Setting up Utility Functions

The Bayesian Workflow: COVID-19 Outbreak Modeling / The Bayesian Workflow: An Overview / Load and Explore Data / Bayesian Workflow / Step 2: Build Models - Starting with a Baseline / Workflow Stage: Model Building / A Baseline Model

The Bayesian Workflow: COVID-19 Outbreak Modeling / The Bayesian Workflow: An Overview / Load and Explore Data / Bayesian Workflow / Step 2: Build Models - Starting with a Baseline / Workflow Stage: Model Building / Step 3: Run Prior Predictive Check / Workflow Stage: Prior Predictive Simulation / What’s Wrong With This Model?

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 5: Hierarchical estimation / Inspect posterior

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

Factor analysis / Model / Alternative parametrization

Factor analysis / Model / Direct implementation

NBA Foul Analysis with Item Response Theory / Item Response Model / PyMC implementation

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 / Logit model

Reliability Statistics and Predictive Calibration / Bayesian Modelling of Reliability Data / Direct PYMC implementation of Weibull Survival

A Hierarchical model for Rugby prediction / Building of the model

Forecasting Hurricane Trajectories with State Space Models / Add B-Splines

Forecasting Hurricane Trajectories with State Space Models / Adding Deterministic Covariates/Exogenous Variables

Simpson’s paradox / Model 1: Pooled regression

Simpson’s paradox / Model 2: Unpooled regression with counfounder included

Simpson’s paradox / Model 3: Partial pooling model with confounder included

Bayesian Non-parametric Causal Inference / Causal Inference and Propensity Scores / Double/Debiased Machine Learning and Frisch-Waugh-Lovell / Applying Debiased ML Methods

Bayesian Non-parametric Causal Inference / Causal Inference and Propensity Scores / Mediation Effects and Causal Structure

Bayesian Non-parametric Causal Inference / Causal Inference and Propensity Scores / Non-Confounded Inference: NHEFS Data / Propensity Score Modelling

Bayesian Non-parametric Causal Inference / Causal Inference and Propensity Scores / Non-Confounded Inference: NHEFS Data / Regression with Propensity Scores

Difference in differences / Bayesian difference in differences / PyMC model

Counterfactual inference: calculating excess deaths due to COVID-19 / Causal inference disclaimer

Counterfactual inference: calculating excess deaths due to COVID-19 / Modelling

Interrupted time series analysis / Modelling

Interventional distributions and graph mutation with the do-operator / Three different causal DAGs

Interventional distributions and graph mutation with the do-operator / What can we do with Bayesian inference?

Bayesian mediation analysis / Define the PyMC 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

Regression discontinuity design analysis / Sharp regression discontinuity model

Model Averaging / Weighted posterior predictive samples

Sampler Statistics / Multiple samplers

Sampler Statistics

Using Data Containers / Applied example: height of toddlers as a function of age

Using Data Containers / Applied Example: Using Data containers as input to a binomial GLM

Using Data Containers / Using Data Containers for readability and reproducibility / Named dimensions with data containers

Using Data Containers / Using Data Containers to mutate data / Using Data container variables to fit the same model to several datasets

Using Data Containers / Using Data Containers for readability and reproducibility

Baby Births Modelling with HSGPs / EDA and Feature Engineering / Model Specification / Model Implementation

Kronecker Structured Covariances / LatentKron / Model

Gaussian Process for CO2 at Mauna Loa / The model in PyMC

Gaussian Process (GP) smoothing / Let’s describe the above GP-smoothing model in PyMC

Example 1: A hierarchical HSGP, a more custom model / Looking for a beginner’s introduction? / Build the model / Coding the hierarchical GP

Example 1: A hierarchical HSGP, a more custom model / Example 2: An HSGP that exploits Kronecker structure / Kronecker GP specification

Example 1: A hierarchical HSGP, a more custom model / Example 2: An HSGP that exploits Kronecker structure / PyMC Model

Example 1: A hierarchical HSGP, a more custom model / Looking for a beginner’s introduction? / Build the model / Setting up the model

Gaussian Processes: HSGP Reference & First Steps / Example 1: Basic HSGP Usage / Define and fit the HSGP model

Gaussian Processes: HSGP Reference & First Steps / Example 1: Basic HSGP Usage / Example 2: Working with HSGPs as a parametric, linear model / Model structure

Gaussian Processes: HSGP Reference & First Steps / Example 1: Basic HSGP Usage / Example 2: Working with HSGPs as a parametric, linear model / Setting the coefficients, centered and non-centered

Gaussian Processes: HSGP Reference & First Steps / Example 1: Basic HSGP Usage / Choosing the HSGP approximation parameters, m, L, and c / The HSGP approximate Gram matrix

Multi-output Gaussian Processes: Coregionalization models using Hamadard product / Intrinsic Coregionalization Model (ICM)

Multi-output Gaussian Processes: Coregionalization models using Hamadard product / Linear Coregionalization Model (LCM)

Inference

Binomial regression / Binomial regression model

Discrete Choice and Random Utility Models / Choosing Crackers over Repeated Choices: Mixed Logit Model

Discrete Choice and Random Utility Models / Experimental Model: Adding Correlation Structure

Discrete Choice and Random Utility Models / Improved Model: Adding Alternative Specific Intercepts

Discrete Choice and Random Utility Models / The Basic Model

1. Model0: Baseline without Missing Values / 1.1 Build Model Object

2. ModelA: Auto-impute Missing Values / 2.5 Create PPC Forecast on dfx_holdout set / 2.5.1 Firstly: Rebuild model entirely, using dfx_holdout

2. ModelA: Auto-impute Missing Values / 2.1 Build Model Object

2. ModelA: Auto-impute Missing Values

GLM: Model Selection / Generate toy datasets / Demonstrate simple linear model / Define model using explicit PyMC method

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

1. Model A: The Wrong Way - Simple Linear Coefficients / 1.1 Build Model Object

2. Model B: A Better Way - Dirichlet Hyperprior Allocator / 2.1 Build Model Object

Ordinal Scales and Survey Data / Fit a variety of Model Specifications / Bayesian Particularities

Ordinal Scales and Survey Data / Liddell and Kruschke’s IMDB movie Ratings Data

Out-Of-Sample Predictions / Define and Fit the Model

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

Setup / 4. Simple Linear Model with Robust Student-T Likelihood / 4.1 Specify Model

Setup / 5. Linear Model with Custom Likelihood to Distinguish Outliers: Hogg Method / 5.1 Specify Model

Setup / 3. Simple Linear Model with no Outlier Correction / 3.1 Specify Model

GLM: Robust Linear Regression / Robust Regression / Normal Likelihood

Rolling Regression / Rolling regression

Rolling Regression

Bayesian regression with truncated or censored data / Implementing truncated and censored regression models / Censored regression model

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

Bayesian regression with truncated or censored data / Implementing truncated and censored regression models / Truncated regression model

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 / Adding group-level predictors / Correlations among levels

A Primer on Bayesian Methods for Multilevel Modeling / Non-centered Parameterization

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

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

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

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

LKJ Cholesky Covariance Priors for Multivariate Normal Models

Bayesian Missing Data Imputation / Bayesian Imputation

Bayesian Missing Data Imputation / Hierarchical Structures and Data Imputation

Bayesian Missing Data Imputation / Bayesian Imputation by Chained Equations / PyMC Imputation

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

Bayesian copula estimation: Describing correlated joint distributions / PyMC models for copula and marginal estimation

How to debug a model / Introduction / Bringing it all together

How to debug a model / Introduction / Troubleshooting a toy PyMC model

Bayesian Hypothesis Testing - an introduction / Sampling from the prior and posterior

Automatic marginalization of discrete variables / Gaussian Mixture model

Using ModelBuilder class for deploying PyMC models / Model builder class

Using ModelBuilder class for deploying PyMC models / Standard syntax

Splines / The model / Fit the model

Splines / Predicting on new data

Updating Priors / Words of Caution / Model specification

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

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

General API quickstart / 2. Probability Distributions / Deterministic transforms

General API quickstart / 2. Probability Distributions / Initialize Random Variables

General API quickstart / 2. Probability Distributions / Lists of RVs / higher-dimensional RVs

General API quickstart / 1. Model creation

General API quickstart / 2. Probability Distributions / Observed Random Variables

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

General API quickstart / 2. Probability Distributions / Unobserved Random Variables

General API quickstart / 3. Inference / 3.3 Variational inference

Dirichlet process mixtures for density estimation / Dirichlet process mixtures

Gaussian Mixture Model

ODE Lotka-Volterra With Bayesian Inference in Multiple Ways / Bayesian Inference with Gradients / Simulate with Pytensor Scan / Inference Using NUTs

ODE Lotka-Volterra With Bayesian Inference in Multiple Ways / Bayesian Inference with Gradients / PyMC ODE Module / Inference with NUTS

ODE Lotka-Volterra With Bayesian Inference in Multiple Ways / PyMC Model Specification for Gradient-Free Bayesian Inference / PyMC Model

Old good Gaussian fit

Faster Sampling with JAX and Numba

Lasso regression with block updating

Conditional Autoregressive (CAR) model / Writing some models in PyMC / Our first model: an independent random effects model

Conditional Autoregressive (CAR) model / Writing some models in PyMC / Our second model: a spatial random effects model (with fixed spatial dependence)

Conditional Autoregressive (CAR) model / Writing some models in PyMC / Our third model: a spatial random effects model, with unknown spatial dependence

Different Covariance Functions

Model Specification

Demonstrating the BYM model on the New York City pedestrian accidents dataset / Specifying a BYM model with PyMC

Linear Regression / (5) Analyse real data

Linear Regression / Simulation-based Validation & Calibration

Categories / Analyze real sample / Analyze the synthetic people

Curves from lines / Example: Cherry Blossom Blooms / Draw some samples from the prior

Categories / Testing / Fit total effect on the synthetic sample

Curves from lines / Polynomial Linear Models / Fitting N-th Order Polynomials to Height / Width Data

BONUS: Full Luxury Bayes / Why would we do this?

The Periodic Table of Confounds / Fork Example: Marriage Rates & Divorce Rates (& Waffle House!) / (3) Statistical Model for Causal Effect of Marriage on Divorce / Run the statistical model on the simulated data

The Periodic Table of Confounds / Continuous Example / Statistical Model for Causal Effect of Age on Divorce Rate

Confounds / Backdoor Criterion / Unstratified (confounded) Model / Fit the unstratified model, ignoring Z (and U)

Confounds / Backdoor Criterion / Stratifying by Z (unconfounded)

Infinite causes, finite data / Penalty Prediction & Model (Mis-) Selection / Simulate the plant growth experiment / Correct adjustment set (not stratifying by F)

Infinite causes, finite data / Outliers and Robust Regression / Fit Least Square Model

Infinite causes, finite data / Penalty Prediction & Model (Mis-) Selection / Simulate the plant growth experiment / Incorrect adjustment set (stratifying by F)

Infinite causes, finite data / Robust Linear Regression Using the Student-t Likelihood

Drawing the Markov Owl 🦉 / Including Judge Effects / Fit the judge model

2012 New Jersey Wine Judgement / Simplest Model / Fit the simple, wine-specific model

Drawing the Markov Owl 🦉 / More complete model, stratify by Wine Origin, O_{X[i]} / Fit the wine origin model

3. Statistical Models / Fitting Direct Causal Effect Model

3. Statistical Models / Statistical models for admissions / Fitting Total Causal Effect Model

Confounded Admissions / Direct Effect Estimator (now confounded due to common ability cause) / Fit the (confounded) Direct Effect Model

Confounded Admissions / Sensitivity Analysis: Modeling latent ability confound variable / Fit the latent ability model

Confounded Admissions / Total Effect Estimator / Fit the Total Effect Model

Counts and Poisson Regression / Comparing Models / Model A - Global Intercept model

Counts and Poisson Regression / Comparing Models / Model B - Interaction model

BONUS: Simpons’s Pandora’s Box / Nonlinear Haunting / Partially Stratified Model – \text{logit}(p) = \alpha + \beta_{Z[i]} X_i

BONUS: Simpons’s Pandora’s Box / Nonlinear Haunting / Try a fully-stratified model – \text{logit}(p_i) = \alpha_{Z[i]} + \beta_{Z[i]}X_i

BONUS: Simpons’s Pandora’s Box / Nonlinear Haunting / Unstratified Model – \text{logit}(p_i) = \alpha + \beta X_i

Ethics & Trolley Problem Studies / Ordered Monotonic Predictors / Assessing the Direct Effect of Education: Stratifying by Gender & Age

Ethics & Trolley Problem Studies / What about competing causes? / Fit the gender-stratified model

Ethics & Trolley Problem Studies / Statistical Model / Starting off easy

Case Study: Reed Frog Survival / Building a Multilievel (Hierarchical) Model / Fit the multi-level model

BONUS: Fixed Effects, Multilevel Models, & Mundlak Machines / Random Confounds / Fixed effect Model

Case Study: Reed Frog Survival / Building a Multilievel (Hierarchical) Model / Comparing multi-level and fixed-sigma model / Fixed sigma model

BONUS: Fixed Effects, Multilevel Models, & Mundlak Machines / Random Confounds / Multilevel Model

Case Study: Reed Frog Survival / Including the presence of predators / Multilevel model with predator effects

BONUS: Fixed Effects, Multilevel Models, & Mundlak Machines / Random Confounds / Naive Model

BONUS: Fixed Effects, Multilevel Models, & Mundlak Machines / Random Confounds / Mundlak Machines / Statistical Model

Case Study: Reed Frog Survival / Let’s build a (multi-level) model / What about the prior variance \sigma?

BONUS: Fixed Effects, Multilevel Models, & Mundlak Machines / Latent Mundlak Machine (aka “Full Luxury Bayes”) / 2. Y sub-model

Fertility & Behavior in Bangladesh / Varying districs + urban / Fit the district-urban model

Fertility & Behavior in Bangladesh / Start simple: varying districts

Adding Correlated Features / Model with correlated features / A couple of notes ⚠️

BONUS: Non-centered (aka Transformed) Priors / Example: Devil’s Funnel prior / Centered-prior models

BONUS: Non-centered (aka Transformed) Priors / Non-centered prior

Adding Correlated Features / Previous model – Using uncorrelated urban features

What Motivates Sharing? / Including Predictive Household features / Add observed confounds variables to simulated dataset

What Motivates Sharing? / 3) Statistical Model / Fit Wealth Gifting model on simulated data (validation)

What Motivates Sharing? / 3) Statistical Model / Fitting the social ties model / Notes

Phylogenetic Regression / Two equivalent formulations of Linear Regression / Classic Linear Regression

Phylogenetic Regression / From Model to Kernel / Fit the full Phylogentic model.

Phylogenetic Regression / From Model to Kernel / Influence of Group Size on Brain Size

Gaussian Processes (in the abstract) / Distance-based model / Islands Distance Matrix

Phylogenetic Regression / From Model to Kernel / Distance-only model / PyMC Implementation

Phylogenetic Regression / Two equivalent formulations of Linear Regression / \text{MVNormal} Linear Regression

Misclassification / Paternity in Himba pastoralist culture / Fit analogous model without accouting for misclassification

Modeling Measurment / Compare causal effects for models that do and do not model measurement error / Fit model that considers no measurement error

Modeling Measurment / Let’s start simpler / Fit the Divorce Measurement Error Model

Modeling Measurment / Let’s start simpler / 4 Submodels / Marriage Rate Measurement Error Model

Measurement Error / Myth: Measurement error can only decrease an effect, not increase

Misclassification / Paternity in Himba pastoralist culture / Fit the model with misclassification error / Notes

BONUS: Floating Point Monsters / Previous Paternity measurement model with log-scaling tricks

Revisiting Phylogenetic Regression / Drawing the missing owl 🦉 / Complete case model for comparison

Revisiting Phylogenetic Regression / Drawing the missing owl 🦉 / 3. Impute G using a G-specific submodels / 3. Fit model that combines phylogeny and M \rightarrow G

Revisiting Phylogenetic Regression / Drawing the missing owl 🦉 / 2. Impute G,M naively, ignoring models for each / Fit the naive imputation model

Revisiting Phylogenetic Regression / Drawing the missing owl 🦉 / 4. Impute B,G,M using a submodel for each

Revisiting Phylogenetic Regression / Drawing the missing owl 🦉 / 3. Impute G using a G-specific submodels / 2. Model that only includes Social group phylogentic interactions

Revisiting Phylogenetic Regression / Drawing the missing owl 🦉 / 3. Impute G using a G-specific submodels / 1. Model that only models effect of body mass on group size M \rightarrow G

Bayesian Parametric Survival Analysis / Accelerated failure time models / Log-logistic survival regression

Bayesian Parametric Survival Analysis / Accelerated failure time models / Weibull survival regression

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

Frailty and Survival Regression Models / Accelerated Failure Time Models

Frailty and Survival Regression Models / Fit Basic Cox Model with Fixed Effects

Frailty and Survival Regression Models / Fit Model with Shared Frailty terms by Individual

Bayesian Survival Analysis / Bayesian proportional hazards model

Reparameterizing the Weibull Accelerated Failure Time Model / Parameterization 1

Reparameterizing the Weibull Accelerated Failure Time Model / Parameterization 2

Reparameterizing the Weibull Accelerated Failure Time Model / Parameterization 3

Analysis of An AR(1) Model in PyMC

Analysis of An AR(1) Model in PyMC / Extension to AR(p)

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

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

Inferring parameters of SDEs using a Euler-Maruyama scheme / Example Model

Forecasting with Structural AR Timeseries / Prediction Step

Forecasting with Structural AR Timeseries / Complicating the Picture / Specifying a Trend Model

Forecasting with Structural AR Timeseries / Specifying the Model

Forecasting with Structural AR Timeseries / Complicating the picture further / Specifying the Trend + Seasonal Model

Forecasting with Structural AR Timeseries / Complicating the Picture / Wrapping our model into a function

Multivariate Gaussian Random Walk / Model

Time Series Models Derived From a Generative Graph / Motivation / Define AR(2) Process / Generate AR(2) Graph

Bayesian Vector Autoregressive Models / Adding a Bayesian Twist: Hierarchical VARs

Bayesian Vector Autoregressive Models / Handling Multiple Lags and Different Dimensions

Non-Linear Change Trajectories / A Minimal Model

Non-Linear Change Trajectories / Adding in Polynomial Time

Non-Linear Change Trajectories / Behaviour over time

Non-Linear Change Trajectories / Comparing Trajectories across Gender

Modelling Change over Time. / Model controlling for Peer Effects

Modelling Change over Time. / The Unconditional Mean Model

Modelling Change over Time. / The Uncontrolled Effects of Parental Alcoholism

Modelling Change over Time. / Unconditional Growth Model

GLM: Mini-batch ADVI on hierarchical regression model

Variational Inference: Bayesian Neural Networks / Bayesian Neural Networks in PyMC / Model specification

Pathfinder Variational Inference

Introduction to Variational Inference with PyMC / Minibatches

Introduction to Variational Inference with PyMC / Multilabel logistic regression