regression-insight

Automate OLS and logistic regression analysis on CSV/Excel datasets with JSON reports.

12|2|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/haomingz/kimi-skills --skill regression-insight
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: regression-insight
Source: https://github.com/haomingz/kimi-skills/tree/main/skills/regression-insight
Command: npx skills add https://github.com/haomingz/kimi-skills --skill regression-insight

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, statsmodels, scipy, and includes scripts (resource) components.

What problem does it solve?

数据科学家和分析师需要快速对 CSV/Excel 数据执行回归分析并获得可解释结果。本Skill提供自动化的OLS/Logistic回归分析,输出完整的统计量和中文解读,显著减少手动统计和解读时间。

Core Features & Use Cases

  • OLS 与 Logistic 回归分析:输出系数、R²、调整 R²、p 值、AIC/BIC、VIF 等关键统计量和诊断信息。
  • 自动回归类型检测:在没有显式指定时,根据目标变量特征自动选择线性或逻辑回归,并给出结果摘要。
  • 可读解读:提供对每个系数的中文解读与变量影响方向,帮助非统计背景用户理解模型结果。
  • 输出格式友好:结果以 JSON 与 文本摘要形式输出,便于自动化处理和汇报。

Quick Start

给定数据集和目标变量,运行回归分析以生成完整报告。

Frequently Asked Questions about regression-insight

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run OLS and logistic regression on a CSV dataset?

To run OLS and logistic regression on a CSV dataset, load your numeric data and specify a target variable. The Skill reads CSV/Excel files, handles missing values automatically, and outputs full statistics including coefficients, p-values, and VIF to a structured JSON report.

What statistics are included in an automated regression analysis report?

An automated regression analysis report includes coefficients, R², adjusted R², p-values, AIC/BIC, and VIF. It also provides diagnostic information and a structured JSON plus plain-text summary with readable interpretations of variable impact directions.

Can I use statsmodels for automatic linear and logistic regression type detection?

Yes, you can use statsmodels for automatic linear and logistic regression type detection. The Skill leverages statsmodels and scipy to automatically select OLS or logistic regression based on target variable characteristics when no explicit type is specified.

Does pandas handle missing values when performing regression analysis?

Yes, pandas handles missing values during regression analysis by reading and cleaning numeric data before computation. The Skill relies on pandas and numpy to process the dataset, ensuring missing values do not interrupt the OLS or logistic regression output.

How do I interpret p-values and VIF from a regression analysis output?

To interpret p-values and VIF from a regression analysis output, review the provided structured JSON and plain-text summary. The Skill generates a readable interpretation for each coefficient, explaining variable impact directions to help users understand model results.

What is the best way to export regression results for automated reporting?

The best way to export regression results for automated reporting is utilizing the structured JSON output format. The Skill generates both a JSON report containing full statistics and a plain-text summary, enabling seamless integration into automated data pipelines and reporting workflows.