SkillAgentSearch skills...

regression-modeler

Run regression analysis (OLS or logistic) on uploaded CSV/Excel data, generating coefficients, R², p-values, VIF, and plain-language interpretation.

Install / Use

npx skills add zebbern/claude-code-guide --skill regression-modeler

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

91/100

Category

Automation

Supported Platforms

Universal

Our assessment of regression-modeler

regression-modeler scores 91/100 on our quality scale, 676th of 2,035 Automation skills we index (top 34%).

Its SKILL.md is 3.5 KB long, well organised into 18 sections with 6 code examples: a solid amount of guidance for an agent.

With 4,638 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
26/30
Structure
20/20
Description
15/15
Adoption
16/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 2 days ago, so regression-modeler is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

regression-modeler compared with similar skills

All 4 of these similar skills score higher than regression-modeler; compare them before choosing.

SkillScoreStarsUpdatedFormat
regression-modeler (this skill)by zebbern914.6k2d agoSKILL.md
Agent-Reachby Panniantong10085.9k13d agoCLAUDE.md
rufloby ruvnet10073.4ktodayCLAUDE.md
Scraplingby D4Vinci10084.2k1d agoMCP Server
algorithmic-artby anthropics100177.9k5d agoSKILL.md

Frequently asked questions

How do I install regression-modeler?
Run npx skills add zebbern/claude-code-guide --skill regression-modeler. The install tabs above show the steps for each supported agent.
Which AI agents does regression-modeler work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is regression-modeler safe to use?
It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is regression-modeler still maintained?
The repository was last updated 2 days ago, so regression-modeler is actively maintained.

name: regression-modeler description: "Run regression analysis (OLS or logistic) on uploaded CSV/Excel data, generating coefficients, R², p-values, VIF, and plain-language interpretation. Triggered by requests for regression modeling, fitting data, testing significance, checking multicollinearity, or keywords like OLS, logit, coefficient, p-value, or R-squared." license: MIT

regression-modeler

Automated regression modeling tool — performs linear regression (OLS) or logistic regression (Logit) on tabular data, producing comprehensive statistical results with plain-language interpretation.

Capabilities

| Feature | Description | |---------|-------------| | Linear Regression | OLS with coefficients, R², adjusted R², F-test, AIC/BIC, Durbin-Watson | | Logistic Regression | Logit with coefficients, Odds Ratio, Pseudo R², likelihood ratio test | | Multicollinearity Detection | VIF values for each predictor with warning levels | | Plain-Language Interpretation | Clear explanations of what each metric and coefficient means | | Auto Detection | Automatically switches to logistic regression when the target is binary (0/1) |

Quick Start

# Linear regression: predict price using all numeric columns as predictors
python3 scripts/regression_analyzer.py data.csv --target price

# Logistic regression: predict churn (0/1) with specified features
python3 scripts/regression_analyzer.py users.csv --target churn --features "age,income,tenure"

# Save results to JSON
python3 scripts/regression_analyzer.py data.csv --target sales --output result.json

Detailed Usage

Basic Invocation

python3 scripts/regression_analyzer.py <data_file> --target <target_column> [options]

Specifying Regression Type

# Force linear regression
python3 scripts/regression_analyzer.py data.csv -t y --type linear

# Force logistic regression
python3 scripts/regression_analyzer.py data.csv -t label --type logistic

# Auto-detect (default)
python3 scripts/regression_analyzer.py data.csv -t y --type auto

Selecting Feature Columns

# Manually specify (comma-separated)
python3 scripts/regression_analyzer.py data.csv -t price -f "sqft,bedrooms,bathrooms"

# Omit to automatically use all numeric columns
python3 scripts/regression_analyzer.py data.csv -t price

Parameters

| Parameter | Short | Required | Default | Description | |-----------|-------|----------|---------|-------------| | input | — | Yes | — | Input file path (CSV/TSV/Excel/JSON) | | --target | -t | Yes | — | Target variable (dependent variable) column name | | --features | -f | No | All numeric columns | Predictor column names, comma-separated | | --type | -T | No | auto | Regression type: linear / logistic / auto | | --output | -o | No | stdout | Output JSON file path | | --no-const | — | No | false | Do not add an intercept term | | --keep-na | — | No | false | Keep rows with missing values (for debugging) |

Output Structure (JSON)

{
  "type": "linear",
  "r_squared": 0.8523,
  "r_squared_adj": 0.8471,
  "f_statistic": 162.34,
  "f_p_value": 0.0,
  "coefficients": {
    "sqft": {"coefficient": 135.42, "p_value": 0.0001, ...},
    "bedrooms": {"coefficient": 8021.5, "p_value": 0.032, ...}
  },
  "vif": {"sqft": 2.31, "bedrooms": 1.87},
  "interpretation": {
    "model_summary": ["R² = 0.8523 (good model fit...)"],
    "variable_analysis": ["sqft: coefficient = 135.42... positive effect..."]
  }
}

Dependencies

  • Python 3.8+
  • pandas
  • numpy
  • statsmodels
  • scipy
pip install pandas numpy statsmodels scipy

Related Skills

View on GitHub
GitHub Stars4.6k
CategoryAutomation
Updated2d ago
Forks469

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions