Skip to content

Methods · Clustering · Missing data imputation

K-Means Cluster-Centroid Imputation of Missing Values

Rows with missing values are clustered by k-means using partial distances computed from their observed variables, and each missing value is then replaced by the value of its cluster's centroid for that variable. The centroid is the mean of the observed values of the cluster's members.

결측값이 있는 행을 관측된 변수로 계산한 부분 거리로 k-평균 군집화한 뒤, 각 결측값을 그 행이 속한 군집 중심의 해당 변수 값으로 채웁니다. 군집 중심은 그 군집 구성원의 관측값 평균입니다.

How can I fill in missing variables using the values typical of similar rows, found by clustering?

군집분석으로 찾은 비슷한 행의 전형적인 값으로 빠진 변수를 어떻게 채웁니까?

The output lists each imputed cell with its row, variable, cluster and filled value, together with the cluster centroids and the means before and after filling. It is a single imputation, so the completed data look more certain than they are.

When to use K-Means Cluster-Centroid Imputation of Missing Values

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Missing values ([value] cells in [value] of [value] rows) were imputed with the centroid of each row's k-means cluster (k = [value]).

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with reference values computed independently in the test suite at a stated tolerance of 1e-10.

    독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 1건 통과(허용오차 1e-10).

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 K-Means Cluster-Centroid Imputation of Missing Values on Quorant

Data you need
a table (CSV or Excel) with 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
Compared with independent computations
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 Q31041 · Reviewed 2026-10-25