0
$\begingroup$

I created a variable "WKA" with three characteristics: 0,1 and 2.

WKA should be 0 if WKA_ohneJB[, "QUANTITY"]>=1 && WKA_ohneJB[, "WKA"]==0, WKA should be 1 if WKA_ohneJB[, "QUANTITY"]>=1 && WKA_ohneJB[, "WKA"]>=1, WKA should be 2 if WKA_ohneJB[, "QUANTITY"]==0 && WKA_ohneJB[, "WKA"]==0

Is it possible to use this variable with three characteristics for K-Means?

I have read in several posts that dummy variables are not allowed and K-means needs a mean value. Now I am not sure what to do.

$\endgroup$
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.