id: correlation-matrix
name:
  ja: 相関行列
  en: Correlation Matrix
purpose:
  ja: 複数指標の相関係数を対称行列で示し、正負の関係と強さを比較する。
  en: Compare the direction and strength of pairwise relationships in a symmetric matrix.
status: published
still: ./still.png
category: analysis
catalogOrder: 760
jobs:
  - measure-change
  - prioritize-diagnose
useCases:
  - comparison
  - kpi
layoutKinds:
  - matrix
tags:
  - correlation
  - matrix
  - pairwise-relationships
  - offline
  - responsive
whenToUse:
  - ja: 3〜8指標の相関係数を一望し、強い正負の組み合わせを探す。
    en: Use to scan correlations across 3 to 8 variables and find strong positive or negative pairs.
  - ja: 相関行列の対称性と対角の自己相関1を前提に、組み合わせを読む。
    en: Use when the data are pairwise correlations with a symmetric structure and a unit diagonal.
avoidWhen:
  - ja: 相関を因果関係や施策効果として解釈する場合。
    en: Do not interpret correlation as causation or intervention effect.
  - ja: 個別の観測値や時系列順序を比較する場合。
    en: Use another chart when individual observations or temporal order matter.
requiredInputs:
  - ja: 指標名と異なる指標の組み合わせごとに相関係数を一度ずつ指定する。対角1と対称側は自動で補う。
    en: Supply each distinct variable pair once; the chart derives the unit diagonal and symmetric half.
  - ja: 相関係数は-1〜+1、小数第3位まで。測定条件と対象期間を揃え、架空例以外では出典を明記する。
    en: Correlations range from -1 to +1 with up to three decimal places; align measurement conditions and state sources for non-fictional data.
relatedLayouts:
  - heatmap
  - scatter-relationship
dataSchema:
  title: string — 相関の傾向を要約する見出し
  subtitle: string? — 対象・測定条件・時点
  variables: array — 指標名、3〜8件
  pairs: array (row, column, coefficient) — 異なる指標の全ペア。係数は-1〜+1、小数第3位まで
sources: []
