360 Secure SkillHub
360 安全技能中心

Scatter Graphs

核心功能:通过散点图分析多组变量间的相关性(输出相关系数r),识别正/负相关、无关联、聚类等模式,排查异常值并给出行动建议。典型场景:适用于市场、业务领域的指标关联分析(如价格与销量、广告投入与营收)。输入为待分析的变量数据,输出结构化分析报告。

linuszz
linuszz
热度 46.99
最近更新 2026-05-11 17:34:43
分类:数据依赖:代码执行 / 读写文件 / 内部调用大模型应用场景:数据处理 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add scatter-graphs
Metadata
name
scatter-graphs
description
Visualize relationships between two variables. Use for correlation analysis and pattern identification.

Scatter Graphs

Metadata

  • Name: scatter-graphs
  • Description: Correlation and relationship analysis
  • Triggers: scatter plot, correlation, relationship, XY chart

Instructions

Analyze relationships between variables for $ARGUMENTS using scatter graphs.

Framework

Scatter Plot Types

Pattern Meaning Action
↑ Positive Direct correlation Leverage relationship
↓ Negative Inverse correlation Manage trade-off
○ None No correlation Look for other factors
◐ Clustered Segments exist Analyze separately

Correlation Strength

Strong Positive (r > 0.7):
    │     •
    │   • •
    │ • •
    │• •
    └──────

No Correlation (r ≈ 0):
    │  •   •
    │ •    •
    │   •  •
    │ •   •
    └──────

Output

## Scatter Analysis: [Variables]

### Data Summary

| X Variable | Y Variable | n | Correlation (r) |
|------------|------------|---|-----------------|
| Price | Volume | 50 | -0.65 |
| Ad Spend | Revenue | 50 | +0.72 |
| Size | Profit | 50 | +0.45 |

### Key Findings

**Relationship 1: Price vs Volume**
- Correlation: -0.65 (moderate negative)
- Interpretation: Higher price reduces volume
- Action: [Recommendation]

**Relationship 2: Ad Spend vs Revenue**
- Correlation: +0.72 (strong positive)
- Interpretation: Advertising drives revenue
- Action: [Recommendation]

### Outliers

| Observation | X | Y | Reason |
|-------------|---|---|--------|
| Store #12 | Very high | Low | New location |
| Store #23 | Low | High | Prime location |

### Implications

1. [Implication 1]
2. [Implication 2]

Tips

  • Check for causation vs correlation
  • Identify and investigate outliers
  • Consider non-linear relationships
  • Segment data if patterns differ