correlation-analysis

Rank factors correlated with target variables using Pearson and Spearman methods.

Updated Jun 19, 2026
One-click install
npx skills add https://github.com/Li-Bai-GOAT/intelligent-analysis-agent --skill correlation-analysis-li-bai-goat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: correlation-analysis
Source: https://github.com/Li-Bai-GOAT/intelligent-analysis-agent/tree/main/sandbox_skills/correlation-analysis
Command: npx skills add https://github.com/Li-Bai-GOAT/intelligent-analysis-agent --skill correlation-analysis-li-bai-goat

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a streamlined way to identify the factors most strongly correlated with target variables, such as profit or return rate, enabling users to quickly pinpoint key influencers.

Core Features & Use Cases

  • Pearson and Spearman Correlation: Calculate linear and rank-based correlations.
  • Correlation Matrix: Generate a matrix of correlations between multiple variables.
  • Partial Correlation: Control for other variables to assess the direct relationship between two variables.
  • Use Case: For a business looking to analyze the factors affecting profit, this Skill can quickly identify the most significant correlations, such as the impact of sales volume or marketing spend on profit.

Quick Start

Run the correlation-analysis skill to find the top factors correlated with '考核利润' in your dataset.

Frequently Asked Questions about correlation-analysis

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

FAQPage Schema
How do I identify factors strongly correlated with a target variable in a dataset?

To identify factors strongly correlated with a target variable, this Skill ranks variables using Pearson and Spearman correlation methods. It calculates correlations to pinpoint key influencers like marketing spend affecting profit.

What is the difference between Pearson and Spearman correlation for business intelligence?

Pearson correlation measures linear relationships, while Spearman assesses rank-based correlations. This Skill uses both statistical methods to provide a comprehensive correlation matrix for business intelligence and financial analysis.

How do I calculate partial correlation to control for other variables?

To calculate partial correlation and control for other variables, this Skill assesses the direct relationship between two specific variables. It isolates unique correlations by removing the effect of confounding factors in your dataset.

Do I need pandas and scipy to run correlation analysis on my data?

Yes, you need pandas and scipy along with numpy to run correlation analysis. These dependencies are required for the statistical computations that generate correlation matrices and rank correlated variables.

What's the best way to find the top factors affecting profit in a dataset?

The best way to find top factors affecting profit is running this Skill to rank variables correlated with your target. It quickly identifies significant correlations like sales volume impact using Pearson and Spearman methods.