Skip to content

Methods · Correlation & similarity · Distances

Distance and Similarity Matrices

A distance matrix gives the pairwise dissimilarity between all cases or variables under a chosen metric, such as Euclidean, Manhattan, Mahalanobis, cosine, Gower or Jaccard.

거리 행렬은 유클리드·맨해튼·마할라노비스·코사인·Gower·자카드 등 선택한 척도로 모든 사례 또는 변수 쌍 사이의 비유사도를 나타낸 행렬입니다.

Which stores in my data are most similar to each other based on size, sales and region type?

매장 규모·매출·지역 유형으로 볼 때 어떤 매장들이 서로 가장 비슷한지 어떻게 찾나요?

Choose a metric that suits the variables, Euclidean or Mahalanobis for numeric data, Gower for mixed numeric and categorical data and Jaccard for presence-absence data, and compute all pairwise distances. The matrix and each item's nearest neighbours show which cases are most alike.

When to use Distance and Similarity Matrices

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Pairwise [metric] distances among [n] cases ranged from [value] to [value] (median [value]).

Common variants

자주 쓰는 설정

The same analysis with settings already chosen. Each runs Distance and Similarity Matrices itself, at the same price.

Related methods

How this method is validated

이 방법의 검증 근거

  • Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.

    자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.

Run Distance and Similarity Matrices on Quorant

Data you need
a table (CSV or Excel) with predictor (feature) columns
Price
150 credits for one analysis up to 10,000 rows (complexity level 1); larger or wider data costs more. Optional methodologist review: 900 credits.
Checking
Automated run tests; no external reference comparison yet
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q12015 · Reviewed 2026-10-25