Skip to content

Methods · Regression · Regression

Distance-Based Regression (Principal Coordinates of a Distance Matrix)

Regresses a numeric outcome on the principal coordinates of a distance matrix between observations, so predictors of any type (numeric, categorical, mixed through Gower distance) enter only through how far apart the observations are. The number of coordinates is chosen by cross-validation or an information criterion.

관측치 사이의 거리 행렬에서 얻은 주좌표에 결과변수를 회귀시키는 방법입니다. 예측변수는 관측치 사이가 얼마나 먼지로만 들어가므로 수치형, 범주형, 혼합형(Gower 거리) 모두 쓸 수 있고, 좌표 수는 교차검증이나 정보기준으로 정합니다.

How well do customers' mixed profiles (age, region, plan type) predict their monthly spend when the profile is described only by how similar customers are?

나이, 지역, 요금제 같은 혼합형 고객 특성을 고객 간 유사성으로만 나타냈을 때 월 지출을 얼마나 잘 예측합니까?

The number of coordinates used, R-squared, an F test, cross-validated error and the contribution of each coordinate.

When to use Distance-Based Regression (Principal Coordinates of a Distance Matrix)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A distance-based regression on Gower distances retained [value] principal coordinates (leave-one-out cross-validation); R-squared = [value], F([value], [value]) = [value], p = [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • R cross-check. 33 reported values agree with R (stats::cmdscale, stats::extractAIC, stats::lm.influence) within a tolerance of 1e-7; the largest observed difference is 4e-14.

    R 교차 검증. R(stats::cmdscale, stats::extractAIC, stats::lm.influence) 대조: 보고 값 33개가 허용오차 1e-7 안에서 일치합니다(관측된 최대 차이 4e-14).

  • Supporting tables vs R. Descriptive statistics and assumption checks shown with the results (145 values) agree with R (psych::describe, stats::cor.test, stats::quantile, stats::t.test) within 1e-6. This covers the supporting tables, not the main estimates.

    보조 표 R 대조. R(psych::describe, stats::cor.test, stats::quantile, stats::t.test) 대조: 결과와 함께 나오는 기술통계·가정 점검 값 145개가 1e-6 안에서 일치합니다. 본 추정치가 아니라 보조 표에 대한 대조입니다.

  • Independent computation. 2 reference tests compare the results with statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-8.

    독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과(허용오차 1e-8).

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Distance-Based Regression (Principal Coordinates of a Distance Matrix) on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
Checking
Results cross-checked against R
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 Q21189 · Reviewed 2026-10-25