All examples for Correlation Matrix Generator

Marketing Campaign Correlation Analysis

Analyzing marketing funnel metrics (ad spend, impressions, clicks, conversions, revenue) to identify relationships and multicollinearity issues. Demonstrates full correlation matrix generation with strong correlation identification and variable selection recommendations for regression modeling.

Input

What you provide to the skill

Analyze correlations in my marketing CSV with columns: ad_spend, impressions, clicks, conversions, revenue (250 rows)

Output

What the skill generates for you

============================================================
CORRELATION ANALYSIS RESULTS

Dataset: 233 rows x 5 columns
Numeric variables analyzed: 5
Variables: ad_spend, impressions, clicks, conversions, revenue

Strong Correlations Found: 10 (|r| > 0.7)

ad_spend <-> impressions r = 1.000 (positive)
ad_spend <-> clicks r = 1.000 (positive)
ad_spend <-> conversions r = 1.000 (positive)
ad_spend <-> revenue r = 1.000 (positive)
impressions <-> clicks r = 1.000 (positive)
impressions <-> conversions r = 1.000 (positive)
impressions <-> revenue r = 1.000 (positive)
clicks <-> conversions r = 1.000 (positive)
clicks <-> revenue r = 1.000 (positive)
conversions <-> revenue r = 1.000 (positive)

Multicollinearity Issues: 10 (|r| > 0.8)

WARNING: High correlations detected between predictors!
Consider removing or combining these variables for regression modeling:

  • ad_spend <-> impressions (r = 1.000)
  • ad_spend <-> clicks (r = 1.000)
  • ad_spend <-> conversions (r = 1.000)
  • ad_spend <-> revenue (r = 1.000)
  • impressions <-> clicks (r = 1.000)
  • impressions <-> conversions (r = 1.000)
  • impressions <-> revenue (r = 1.000)
  • clicks <-> conversions (r = 1.000)
  • clicks <-> revenue (r = 1.000)
  • conversions <-> revenue (r = 1.000)

Output Files Generated:

Correlation Matrix: marketing_matrix.csv
Heatmap Visualization: marketing_heatmap.png

============================================================