/regression-modeler
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
$ npx -y skills add zebbern/claude-code-guide --skill regression-modeler --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/regression-modeler
Context preview
The summary Claude sees to decide when to auto-load this skill.
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
SKILL.md
regression-modeler.SKILL.mdname: 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
Read more
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
Claude Code Guide - Setup, Commands, workflows, agents, skills & tips-n-tricks from beginner to power user!
Repo: zebbern/claude-code-guide
Other skills on claude-code-guide.
- /academic-paper-reviewer
Simulates academic peer review, evaluating papers across Originality, Methodology, Results, and Writing to provide Major/Minor Revision recommendations with actionable feedback. Triggers when a user asks to \"review my paper,\" \"simulate peer review,\" or \"give my paper a peer
Open skill - /active-directory-attacks
This skill should be used when the user asks to "attack Active Directory", "exploit AD", "Kerberoasting", "DCSync", "pass-the-hash", "BloodHound enumeration", "Golden Ticket", "Silver Ticket", "AS-REP roasting", "NTLM relay", or needs guidance on Windows domain penetration
Open skill - /api-fuzzing-bug-bounty
This skill should be used when the user asks to "test API security", "fuzz APIs", "find IDOR vulnerabilities", "test REST API", "test GraphQL", "API penetration testing", "bug bounty API testing", or needs guidance on API security assessment techniques.
Open skill - /api-shape-explorer
Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".
Open skill - /audit-flow
Interactive system flow tracing across CODE, API, AUTH, DATA, NETWORK layers with SQLite persistence and Mermaid export. Use for security audits, compliance documentation, flow tracing, feature ideation, brainstorming, debugging, architecture reviews, or incident post-mortems.
Open skill - /authentication-patterns
Authentication patterns: session vs JWT vs OAuth comparison, provider selection (NextAuth, Clerk, Supabase Auth), security checklist, and common mistakes. Use when implementing auth, reviewing auth flows, or choosing auth providers.
Open skill

