One-click install
npx skills add https://github.com/eyadsibai/ltk --skill pymc-eyadsibai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymc
Source: https://github.com/eyadsibai/ltk/tree/main/plugins/ltk-data/skills/pymc
Command: npx skills add https://github.com/eyadsibai/ltk --skill pymc-eyadsibai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the process of building, fitting, and analyzing complex Bayesian statistical models using probabilistic programming.

Core Features & Use Cases

  • Bayesian Modeling: Construct and sample from custom Bayesian models.
  • MCMC Sampling: Utilize advanced Markov Chain Monte Carlo methods like NUTS.
  • Model Diagnostics: Assess model convergence and fit using tools like ArviZ.
  • Use Case: Analyze experimental data with hierarchical models to understand group-level variations and quantify uncertainty in parameters.

Quick Start

Use the pymc skill to build a Bayesian linear regression model with priors on alpha and beta.

Frequently Asked Questions about pymc

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

FAQPage Schema
How do I build and fit Bayesian statistical models using MCMC sampling?

To build and fit Bayesian statistical models, you define priors and likelihoods to construct hierarchical models or logistic regression, then utilize Markov Chain Monte Carlo methods like NUTS for sampling and uncertainty quantification.

What is probabilistic programming and how does it handle uncertainty quantification?

Probabilistic programming enables computing uncertainties by defining statistical models with prior distributions and performing posterior predictive checks to quantify parameter uncertainty after MCMC sampling.

How do I assess model convergence and fit for Bayesian hierarchical models?

Assess model convergence and fit for Bayesian hierarchical models by utilizing ArviZ to run model diagnostics, evaluate sampling traces, and compare probabilistic models against experimental data.

Do I need ArviZ and NumPy to perform Bayesian modeling and posterior predictive checks?

Yes, you need ArviZ for model diagnostics and comparison, and NumPy for data handling, because probabilistic programming for Bayesian modeling requires these dependencies to execute MCMC sampling successfully.

Can I use this approach to analyze group-level variations in experimental data?

Yes, you can analyze experimental data with hierarchical models to understand group-level variations, utilizing Bayesian modeling to quantify uncertainty in parameters through prior and posterior predictive checks.

What is the best way to set up a Bayesian linear regression model with priors?

The best way to set up a Bayesian linear regression model is by defining prior distributions on parameters like alpha and beta, then using NUTS MCMC sampling to fit the model and evaluate convergence.