Skip to content
Prev 244973 / 398503 Next

Reg : null values in kmeans

I do not really understand your question. You can use use kmeans but 
without the observations that include the NA values (e.g. by deleting 
whole rows in your observation matrix). If you want to keep the 
information in the valid observations of those rows, I fear you need to 
look for a clustering algorithm that can handle missing values. I doubt 
that there is a kmeans version that can. Think about inserting means of 
all other observations into the gaps, though this introduces bias as well.


Jannis

Raji schrieb: