One-click install
npx skills add https://github.com/jasrajtulsi/GRAD-SCOPE --skill pymc-jasrajtulsi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymc
Source: https://github.com/jasrajtulsi/GRAD-SCOPE/tree/main/.claude/skills/pymc
Command: npx skills add https://github.com/jasrajtulsi/GRAD-SCOPE --skill pymc-jasrajtulsi

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill removes the complexity of building, fitting, and validating Bayesian models by providing a guided workflow for probabilistic programming, inference, and model checking in PyMC.

Core Features & Use Cases

  • Bayesian Model Building: Create linear, logistic, hierarchical, count, and time-series models with weakly informative priors and named dimensions.
  • Inference and Validation: Run MCMC or variational inference, then check priors, posterior predictive fit, convergence, effective sample size, and divergences.
  • Model Comparison and Prediction: Compare alternatives with LOO or WAIC, interpret Pareto-k reliability, and generate predictions for new data.
  • Use Case: A researcher can fit a multilevel model to grouped measurements, verify sampling quality, compare candidate specifications, and produce uncertainty-aware forecasts.

Quick Start

Ask the Skill to help you build, fit, and validate a PyMC Bayesian model for your dataset, including diagnostics and predictions.

Frequently Asked Questions about pymc

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

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

You build hierarchical Bayesian models in PyMC by defining linear, logistic, or count models with weakly informative priors and named dimensions, then validate results using MCMC sampling diagnostics and posterior predictive checks.

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

Comparing Bayesian models with LOO or WAIC involves evaluating alternative specifications, interpreting Pareto-k reliability scores, and selecting the model that provides the most robust fit for your dataset.

Does PyMC support time-series analysis and predictive forecasting?

Yes, PyMC supports time-series analysis and predictive forecasting by fitting Bayesian models to temporal data, validating posterior predictive fit, and generating uncertainty-aware predictions for new datasets.

Why am I getting divergences during MCMC sampling in my Bayesian model?

Divergences during MCMC sampling indicate issues with model specification or posterior geometry; you diagnose and address them using PyMC's built-in sampling diagnostics, prior checks, and posterior predictive evaluations.

Can I use variational inference instead of NUTS for Bayesian inference in PyMC?

Yes, you can use variational inference instead of NUTS in PyMC to approximate posterior distributions for faster computation, followed by ArviZ-based evaluation to validate model quality and sampling effectiveness.

Do I need ArviZ to check posterior predictive fit and sampling diagnostics?

Yes, ArviZ is required to evaluate posterior predictive fit, verify convergence, inspect effective sample size, and interpret sampling diagnostics for Bayesian models built and fitted in PyMC.