pymc

Solve Bayesian modeling tasks with PyMC for probabilistic programming.

1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/SciMate-AI/scicli --skill pymc-scimate-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymc
Source: https://github.com/SciMate-AI/scicli/tree/main/internal/skills/bundled/claude-scientific-skills/skills/pymc
Command: npx skills add https://github.com/SciMate-AI/scicli --skill pymc-scimate-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Bayesian modeling with PyMC enables seamless construction, fitting, and validation of probabilistic models, streamlining complex inference workflows.

Core Features & Use Cases

  • End-to-end Bayesian modeling: data preparation, priors, likelihoods, and posterior inference.
  • Hierarchical/multilevel modeling with non-centered parameterization to improve convergence and interpretability.
  • Model diagnostics and comparison: prior/posterior checks, posterior predictive checks, and LOO/WAIC using ArviZ.

Quick Start

Load data, define a simple PyMC model, run a few MCMC steps, and inspect the posterior.

Frequently Asked Questions about pymc

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

FAQPage Schema
How do I build a hierarchical Bayesian model with PyMC?

Build hierarchical Bayesian models in PyMC by defining priors, likelihoods, and using non-centered parameterization to improve convergence and interpretability for multilevel data structures.

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

Compare Bayesian models using LOO and WAIC by leveraging ArviZ-based diagnostics within PyMC workflows to evaluate model fit and select the most appropriate probabilistic model.

How do I run MCMC with NUTS and variational inference in PyMC?

Run MCMC with NUTS and variational inference in PyMC by defining a probabilistic model and executing inference steps to compute posterior distributions for Bayesian modeling tasks.

Can I use ArviZ for prior and posterior predictive checks in Bayesian modeling?

Yes, use ArviZ for prior predictive checks, posterior predictive checks, and model diagnostics to validate Bayesian models built with PyMC, ensuring robust probabilistic inference.

What dependencies do I need for Bayesian modeling with PyMC?

Dependencies required for Bayesian modeling with PyMC include ArviZ for diagnostics, NumPy and Pandas for data preparation, and Matplotlib for visualizing probabilistic model outputs.

Does this workflow provide templates for common Bayesian model types?

Yes, the workflow provides reusable templates for common Bayesian model types, including scripts for data preparation, model building, and diagnostics to streamline probabilistic programming.