pymc

Build hierarchical Bayesian models with PyMC and validate via convergence diagnostics.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ogngnaoh/scientific-agent-skills --skill pymc-ogngnaoh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymc
Source: https://github.com/ogngnaoh/scientific-agent-skills/tree/main/scientific-agent-skills/skills/pymc
Command: npx skills add https://github.com/ogngnaoh/scientific-agent-skills --skill pymc-ogngnaoh

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables users to construct complex Bayesian models for probabilistic reasoning and statistical inference.

Core Features & Use Cases

  • Hierarchical and time series modeling: Capture nested and temporal data patterns effectively.
  • Model diagnostics & validation: Conduct prior/posterior predictive checks and convergence diagnostics.
  • Use Case: A researcher wants to evaluate the uncertainty in a medical treatment effect across multiple clinics, using hierarchical models with automatic diagnostics to ensure model reliability.

Quick Start

Use the pymc skill to create a hierarchical model that estimates group effects and checks convergence diagnostics.

Frequently Asked Questions about pymc

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

FAQPage Schema
How do I build Bayesian models for hierarchical and time series data in Python?

You can build Bayesian models for hierarchical and time series data by specifying probabilistic structures and performing statistical inference using Python, capturing nested and temporal data patterns effectively.

What is the best way to perform probabilistic inference and convergence diagnostics for statistical analysis?

The best way to perform probabilistic inference and convergence diagnostics is by executing model sampling and evaluating built-in validation steps, ensuring model reliability through prior and posterior predictive checks.

Does this Bayesian inference workflow require specific dependencies like arviz and numpy?

Yes, this Bayesian inference workflow requires pymc, arviz, and numpy to perform model specification, statistical sampling, and evaluation tasks effectively.

Can I use probabilistic modeling to evaluate uncertainty in treatment effects across multiple groups?

Yes, you can use probabilistic modeling to construct hierarchical models that estimate group effects and evaluate uncertainty across multiple groups, such as medical treatment effects across different clinics.

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

You run prior and posterior predictive checks by conducting model diagnostics and validation steps after specifying your Bayesian regression models, ensuring the inference accurately represents the underlying data.

What are the limitations of using built-in diagnostic tools for Bayesian model validation?

The built-in diagnostic tools facilitate convergence diagnostics and predictive checks for Bayesian models, but model reliability ultimately depends on proper probabilistic model specification and accurate statistical sampling.