pymc

Build Bayesian models with PyMC for MCMC sampling and predictive checks.

8|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/hxk622/TokenDance --skill pymc-hxk622
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymc
Source: https://github.com/hxk622/TokenDance/tree/main/backend/app/skills/builtin/scientific/research-tools/pymc
Command: npx skills add https://github.com/hxk622/TokenDance --skill pymc-hxk622

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill empowers users to build, fit, and validate complex Bayesian statistical models, enabling sophisticated data analysis and uncertainty quantification.

Core Features & Use Cases

  • Bayesian Modeling: Construct hierarchical models, regressions, and time series models.
  • Inference: Perform MCMC sampling (NUTS) and variational inference.
  • Model Validation: Conduct prior/posterior predictive checks and diagnostic analysis.
  • Use Case: Analyze clinical trial data to estimate treatment effects with uncertainty, or build a hierarchical model to understand variations in student performance across different schools.

Quick Start

Use the pymc skill to build a Bayesian linear regression model for the provided dataset.

Frequently Asked Questions about pymc

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

FAQPage Schema
How do I build a Bayesian hierarchical model for uncertainty quantification?

You can perform Bayesian inference by constructing hierarchical models and executing MCMC sampling with NUTS. This approach quantifies uncertainty and estimates parameters for complex datasets like clinical trial results.

What is the difference between MCMC sampling and variational inference?

MCMC sampling with NUTS provides exact posterior distributions through iterative sampling, while variational inference approximates distributions faster. This Skill supports both mechanisms for Bayesian inference depending on your accuracy and performance needs.

Can I validate Bayesian models using prior and posterior predictive checks?

Yes, you validate Bayesian models using prior and posterior predictive checks. This Skill enables comprehensive model validation to ensure your probabilistic inferences accurately represent the observed data.

How do I estimate treatment effects with uncertainty in clinical trial data?

Estimate treatment effects with uncertainty in clinical trial data by applying Bayesian regression models. This Skill facilitates constructing statistical models that quantify uncertainty for principled inference.

Does probabilistic programming require prerequisite dependencies to run?

Probabilistic programming with this Skill requires no explicit dependencies. It internally handles Bayesian modeling and inference tasks, allowing you to build and validate models without managing external packages.