Skip to content
Back to skills

Pymc Bayesian Linear Regression Starter

ASecurity

Use this skill to fit a tiny Bayesian linear regression with PyMC and summarize posterior means plus credible intervals.

  • 38 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
ai-agentspythonbash

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add ma-compbio-lab/SkillFoundry --skill pymc-bayesian-linear-regression-starter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pymc Bayesian Linear Regression Starter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pymc Bayesian Linear Regression Starter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ma-compbio-lab-pymc-bayesian-linear-regression-starter/badge)](https://www.skillsdirectory.com/skills/ma-compbio-lab-pymc-bayesian-linear-regression-starter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# PyMC Bayesian Linear Regression Starter

Use this skill to fit a tiny Bayesian linear regression with PyMC and summarize posterior means plus credible intervals.

## What it does

- Loads a deterministic toy `(x, y)` table.
- Fits a simple Bayesian regression with PyMC.
- Summarizes posterior means, 90% intervals, and a few posterior predictive means.
- Returns compact JSON suitable for downstream scientific inference workflows.

## When to use it

- You need a local starter for Bayesian modeling in science workflows.
- You want a minimal example of PyMC sampling and ArviZ-based posterior summarization.

## Example

```bash
slurm/envs/statistics/bin/python skills/statistical-and-machine-learning-foundations-for-science/pymc-bayesian-linear-regression-starter/scripts/run_pymc_linear_regression.py \
  --input skills/statistical-and-machine-learning-foundations-for-science/pymc-bayesian-linear-regression-starter/examples/toy_observations.tsv \
  --out scratch/pymc/linear_regression_summary.json
```

## Verification

- Skill-local tests: `python3 -m unittest discover -s skills/statistical-and-machine-learning-foundations-for-science/pymc-bayesian-linear-regression-starter/tests -p 'test_*.py'`
- Repository smoke: `python3 -m unittest tests.smoke.test_frontier_domain_skills -v`

Files in this skill

  • SKILL.md1.3 KB
  • assets/README.md110 B
  • assets/toy_linear_regression_summary.json689 B
  • examples/README.md528 B
  • examples/toy_observations.tsv40 B
  • metadata.yaml1.4 KB
  • refs.md219 B
  • scripts/run_pymc_linear_regression.py5.3 KB
  • tests/README.md134 B
  • tests/test_run_pymc_linear_regression.py2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.