Skip to content
Back to skills

Statsmodels Logit Workflow

ASecurity

"Fit the admissions logistic regression example with pandas and

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
testingpythonbashgitapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill statsmodels-logit-workflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Statsmodels Logit Workflow?

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

Security grade badge for Statsmodels Logit Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-statsmodels-logit-workflow/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-statsmodels-logit-workflow)

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: statsmodels-logit-workflow
description: "Fit the admissions logistic regression example with pandas and
  statsmodels, using bundled CSV fixtures, schema validation, prestige dummy
  encoding, intercept handling, prediction CSV output, and optional
  non-interactive plots."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# statsmodels-logit-workflow

Use this sub-skill for the admissions logistic-regression example built with `pandas` and `statsmodels`.

## Route here for

- Loading the bundled admissions train/test CSV fixtures.
- Validating the required schema and normalizing `prestige` values.
- Fitting `statsmodels.api.Logit` with an intercept and aligned dummy columns.
- Writing a prediction CSV with probability and thresholded labels.
- Generating optional PNG diagnostics without an interactive display.

## Route away

- scikit-learn or Kaggle-style classifier pipelines: `../kaggle-linear-models/SKILL.md`
- Tutorial/resource navigation or Python snippet cleanup: `../tutorial-resource-map/SKILL.md`

## Start here

- End-to-end recipe: `references/workflows.md`
- Column schema and output layout: `references/data-formats.md`
- Failure diagnosis: `references/troubleshooting.md`
- Bundled helper: `scripts/statsmodels_admission_logit.py`

## Bundled helper

```bash
python3 scripts/statsmodels_admission_logit.py \
  --train references/data/admissions_train.csv \
  --test references/data/admissions_test.csv \
  --output ./admissions_predictions.csv \
  --no-plots
```

Files in this skill

  • SKILL.md1.5 KB
  • references/data-formats.md1.7 KB
  • references/data/admissions_test.csv1.5 KB
  • references/data/admissions_train.csv4.9 KB
  • references/troubleshooting.md1.9 KB
  • references/workflows.md1.9 KB
  • scripts/statsmodels_admission_logit.py11.1 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.