corr-insight

Compute Pearson and Spearman correlation matrices with p-values and partial correlations.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This tool analyzes numeric data to reveal both simple and partial correlations, helping identify true relationships and flag potential confounding effects.

Core Features & Use Cases

  • Compute Pearson and Spearman correlation matrices with associated p-values to quantify strength and significance of relationships.
  • Compute partial correlations (net relationships after controlling for other variables) to identify direct links and control for confounders.
  • Detect spurious correlations by comparing simple vs. partial correlations across all variable pairs, enabling data-driven QA for analytics projects.
  • Provide interpretation guidance in Chinese to help non-statisticians understand the results.

Quick Start

Run correlation analysis on a numeric dataset to obtain matrices, partial correlations, and spurious-detection results.

Frequently Asked Questions about corr-insight

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

FAQPage Schema
How do I detect spurious correlations in a multivariate dataset?

Detect spurious correlations by comparing simple Pearson and Spearman matrices against partial correlations. This identifies relationships that weaken or disappear when controlling for confounding variables.

What is the difference between simple and partial correlation in Python?

Simple correlation measures the direct association between two numeric variables, while partial correlation calculates their net relationship after controlling for the influence of other confounding variables.

How do I compute a Pearson correlation matrix with p-values using pandas and scipy?

Compute Pearson and Spearman correlation matrices with associated p-values to quantify the strength and statistical significance of relationships among numeric variables in your dataset.

Can I use partial correlation to identify direct relationships between numeric variables?

Yes, partial correlation reveals direct links by calculating the net relationship between variable pairs after mathematically controlling for the effects of all other numeric variables.

Do I need to pre-format my data before running partial correlation analysis?

You need a structured numeric dataset, typically managed via pandas, to compute the correlation matrices and partial correlations required for the analysis.

How do I interpret correlation matrices and p-values for data analysis?

The analysis returns a structured JSON payload including metadata, matrices, p-values, and interpretation guidance to help you understand the significance of the relationships.