pymc

Construct Bayesian models and run probabilistic inference with PyMC.

321|26|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/mkurman/tamux --skill pymc-mkurman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymc
Source: https://github.com/mkurman/tamux/tree/main/skills/scientific-skills/pymc
Command: npx skills add https://github.com/mkurman/tamux --skill pymc-mkurman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymc, arviz, numpy, pandas, matplotlib, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

PyMC enables robust Bayesian modeling and probabilistic programming to quantify uncertainty in data-driven decisions.

Core Features & Use Cases

  • Bayesian inference with MCMC/NUTS for continuous and hierarchical models.
  • Posterior and prior predictive checks, model comparison (LOO/WAIC), and diagnostics with ArviZ.
  • Ready-made templates for linear regression and hierarchical models to accelerate analysis on real datasets.

Quick Start

Install PyMC, load your dataset, and run the provided templates to build a basic Bayesian model and generate diagnostics.

Frequently Asked Questions about pymc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform Bayesian inference with MCMC on hierarchical models?

Bayesian inference for hierarchical models uses PyMC's MCMC/NUTS samplers to estimate posterior distributions, quantify uncertainty, and apply probabilistic programming to data analysis across continuous and hierarchical datasets.

What is the best way to compare Bayesian models using LOO and WAIC?

Comparing Bayesian models using LOO and WAIC involves running posterior predictive checks and diagnostics with ArviZ to evaluate model fit, quantify uncertainty, and validate probabilistic inference results.

Does PyMC work with pandas and numpy for data analysis?

PyMC works with pandas and numpy for data analysis, enabling Bayesian modeling and probabilistic inference directly on real datasets loaded via these libraries to quantify uncertainty in data-driven decisions.

How do I run prior and posterior predictive checks for Bayesian models?

Prior and posterior predictive checks for Bayesian models validate assumptions by simulating data from priors and posteriors, using PyMC templates and ArviZ diagnostics to assess model fit and uncertainty.

Can I use Bayesian regression templates for small and large datasets?

Bayesian regression templates from PyMC apply to small and large datasets, providing ready-made linear and hierarchical model structures that accelerate Bayesian inference and uncertainty quantification across varying data scales.

Why use probabilistic programming for causal modeling and experimental design?

Probabilistic programming for causal modeling and experimental design uses Bayesian inference to quantify uncertainty in data-driven decisions, applying PyMC to test hypotheses and estimate effects across complex relationships.