PyMC Modeling skill enables Bayesian statistical modeling with PyMC v5+. It provides expert guidance on workflows, best practices, and common patterns. Benefits data scientists and analysts in operations departments. Connects to Python-based data analysis workflows.
git clone https://github.com/fonnesbeck/pymc-modeling.gitPyMC Modeling skill enables Bayesian statistical modeling with PyMC v5+. It provides expert guidance on workflows, best practices, and common patterns. Benefits data scientists and analysts in operations departments. Connects to Python-based data analysis workflows.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/fonnesbeck/pymc-modelingCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I'm working on a Bayesian modeling project for [COMPANY] in the [INDUSTRY] sector. I have [DATA] and need to build a hierarchical model. Can you guide me through the process using PyMC v5+? I'm particularly interested in [SPECIFIC ASPECT] of the modeling process.
# Bayesian Modeling Guidance for [COMPANY]
## Model Structure Recommendation
Based on your hierarchical data, I recommend the following model structure:
```python
with pm.Model() as model:
# Priors for unknown model parameters
mu = pm.Normal('mu', mu=0, sigma=1)
sigma = pm.HalfNormal('sigma', sigma=1)
# Hierarchical model
y_like = pm.Normal('y_like', mu=mu, sigma=sigma, observed=[DATA])
```
## Key Considerations
- **Prior Sensitivity**: Given your industry context, consider testing different prior distributions for `mu`
- **Computational Efficiency**: With your dataset size, I recommend using `pm.sample()` with `chains=4` and `cores=4` for efficient sampling
- **Model Validation**: Implement posterior predictive checks to validate your model
## Next Steps
1. Implement the model structure above
2. Run initial sampling to assess convergence
3. Validate the model using posterior predictive checks
4. Refine the model based on validation resultsUnlock data insights with interactive dashboards and collaborative analytics capabilities.
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power