Skip to content
Back to skills

Statistical Baselines

ASecurity

"Run and troubleshoot Naive, GBRT, ARIMA, and SARIMA statistical

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
datapythonbash

Works with

  • cli

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill statistical-baselines --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Statistical Baselines?

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

Security grade badge for Statistical Baselines
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-statistical-baselines/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-statistical-baselines)

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
---
name: statistical-baselines
description: "Run and troubleshoot Naive, GBRT, ARIMA, and SARIMA statistical
  baseline workflows for long-term time-series forecasting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Statistical Baselines

Use this sub-skill when the task is to run, compare, smoke-test, or troubleshoot the repository's statistical long-forecasting baselines: `Naive`, `GBRT`, `ARIMA`, or `SARIMA` through `run_stat.py` and `models/Stat_models.py`.

## Route here

- Run a repeat-last-value baseline (`Naive`, also described as Repeat-C / closest repeat in the source sweep notes).
- Run `GBRT` for a non-neural Gradient Boosting Regressor baseline.
- Run `ARIMA` or `SARIMA`, especially with a small `--sample` for expensive sampled comparisons.
- Adapt the long-forecast statistical sweep family from `scripts/EXP-LongForecasting/Stat_Long.sh`.
- Debug baseline-specific issues such as missing `pmdarima`, ARIMA/SARIMA slowness, per-batch sampling, or CSV feature/target mismatches.

## Reroute

- Neural root models (`Linear`, `DLinear`, `NLinear`, `Informer`, `Transformer`, `Autoformer`) and weight visualization: use `../long-forecasting/SKILL.md`.
- FEDformer Fourier/Wavelets workflows: use `../fedformer/SKILL.md`.
- Pyraformer long-range, single-step, preprocessing, or TVM-related workflows: use `../pyraformer/SKILL.md`.
- Common dataset layout questions that are not baseline-specific: use `../../references/data-layout.md` when present.

## Start fast

1. Confirm the requested model key is exactly one of `Naive`, `GBRT`, `ARIMA`, or `SARIMA`.
2. Confirm the CSV has a `date` column and the selected feature/target columns. For `features=S` or `features=MS`, set `--target` to an existing target column, commonly `OT`.
3. For a quick environment and data-path check, run the bundled smoke helper from this sub-skill directory or pass `--repo-root` explicitly:

   ```bash
   python scripts/smoke_stat_baselines.py --models Naive
   ```

4. For a single baseline run, prefer the bundled wrapper so paths, logging, sampling, and slow-model guards are explicit:

   ```bash
   python scripts/run_stat_baselines.py \
     --model Naive \
     --data custom \
     --data-root dataset \
     --data-path exchange_rate.csv \
     --features M \
     --seq-len 96 \
     --label-len 48 \
     --pred-len 96 \
     --batch-size 100
   ```

5. For ARIMA/SARIMA, start with sampled comparisons. The wrapper supplies conservative defaults when `--sample` is omitted, but pass `--allow-slow` only when deliberately running a large or full sample.

## Bundled references

- `references/cli-reference.md` explains `run_stat.py` arguments, model behavior, output files, and sampling semantics.
- `references/workflows.md` gives single-run, smoke, source-sweep, and sampled comparison recipes.
- `references/troubleshooting.md` maps common dependency, slowness, sampling, data-layout, and output-location failures to fixes.

## Bundled scripts

- `scripts/run_stat_baselines.py` wraps `run_stat.py` for single runs or a safe adaptation of the source statistical long-forecast sweep.
- `scripts/smoke_stat_baselines.py` creates a tiny synthetic custom CSV and runs one or more baseline models through the wrapper.

Files in this skill

  • SKILL.md3.2 KB
  • references/cli-reference.md6.1 KB
  • references/troubleshooting.md4.5 KB
  • references/workflows.md4.9 KB
  • scripts/run_stat_baselines.py14.8 KB
  • scripts/smoke_stat_baselines.py6.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.

Comments

Loading comments…

Newsletter

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