Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Regression And Forecasting Review

ASecurity

Review or design a regression model or a time-series forecast so it's defensible — pick the model family (OLS / logistic / Poisson GLM; ARIMA / SARIMAX / ETS), check the assumptions that matter for that family, report honest prediction/confidence intervals, and screen for overfitting, data leakage, and "coefficient = cause" overreach. Used by `applied-statistician` (primary).

7 stars
0 votes
0 copies
0 views
Added 9/23/2026
ai-agentsrails

Security Analysis

A100/100

Scanned 9/23/2026

$npx -y skills add mcorbett51090/RavenClaude --skill regression-and-forecasting-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Regression And Forecasting Review?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Regression And Forecasting Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mcorbett51090-regression-and-forecasting-review/badge)](https://www.skillsdirectory.com/skills/mcorbett51090-regression-and-forecasting-review)

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

Download with Pro
Files
SKILL.md
---
name: regression-and-forecasting-review
description: Review or design a regression model or a time-series forecast so it's defensible — pick the model family (OLS / logistic / Poisson GLM; ARIMA / SARIMAX / ETS), check the assumptions that matter for that family, report honest prediction/confidence intervals, and screen for overfitting, data leakage, and "coefficient = cause" overreach. Used by `applied-statistician` (primary).
---

# Skill: regression-and-forecasting-review

> **Invoked by:** `applied-statistician` (primary). Escalate model-as-product / heavy ML feature-engineering to `ravenclaude-core/data-engineer`; financial-model structure to `finance` (when installed).
>
> **When to invoke:** "what drives <outcome>?"; "build/forecast <metric> for next quarter"; "review this regression — is it sound?"
>
> **Output:** the model-family choice + rationale, the assumption checks for that family, the intervals to report, and a pitfall screen (leakage / overfitting / causal overreach).

## Regression

1. **Pick the family by outcome type** ([`../../knowledge/test-selection-decision-tree.md`](../../knowledge/test-selection-decision-tree.md)): continuous → **OLS**; binary → **logistic GLM**; count → **Poisson / negative-binomial GLM**.
2. **Check the assumptions that matter:** linearity (residual-vs-fitted), independence, homoscedasticity (else robust SEs), no severe multicollinearity (VIF), influential points (Cook's distance). Normality of *residuals* matters for small-sample inference, not for the point estimates.
3. **Report coefficients with CIs**, and translate to plain language ("each +1 in X is associated with +β in Y, 95% CI […]").
4. **Causal overreach guard:** a regression coefficient is **association, not cause**, unless the data came from a randomized/causal design. If the user says "drives/causes," route to [`../../knowledge/causal-inference-primer.md`](../../knowledge/causal-inference-primer.md).

## Forecasting (time series)

1. **Inspect first:** trend, seasonality, level shifts. Plot before modelling.
2. **Pick the model:** **ETS / exponential smoothing** for trend+seasonality without exogenous drivers; **(S)ARIMA / SARIMAX** when you need autocorrelation structure and/or exogenous regressors. `statsmodels.tsa` is the Tier-1 home.
3. **Validate honestly:** **time-based** train/test split (never shuffle), backtest on held-out recent periods, report error (MAE/MAPE) on the holdout — not the training fit.
4. **Report prediction intervals, not just the point forecast.** A forecast line with no band is overconfident; the band is the deliverable.

## Pitfall screen (always run)
- **Data leakage** (pitfall #9): any feature unavailable at prediction time? transforms fit on the full set? time series shuffled? → fix the split.
- **Overfitting:** too many predictors for the n; great train fit, poor holdout → simplify / regularize / report holdout error.
- **Causal overreach:** coefficient reported as a lever to pull, with no causal design → downgrade to "associated with."
- **Extrapolation:** forecasting far beyond the data's support, or a regression prediction outside the observed predictor range → flag the uncertainty.

## Guardrails
- Tooling: `statsmodels` (regression, GLM, ARIMA/SARIMAX/ETS) is Tier 1; `linearmodels` (panel/IV) is Tier 2 — reach for it only when the method needs it ([`../../knowledge/statistics-tooling-2026.md`](../../knowledge/statistics-tooling-2026.md)).
- The deliverable is the **interval**, not the point. Always.

Attribution

mcorbett51090mcorbett51090
View sourceSee grades on GitHubMore from mcorbett51090 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698461 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →