BookmarkSubscribeRSS Feed
nematullah17
Calcite | Level 5

Hi

I have a dataset that has variables such as basketball baseball football swimming chess softball. I want to categorize the various sports under “high” or “low” risk sport under a new variable risklevel; basketball baseball football=high and swimming chess softball=low.

 

dataset looks something like below

     basketball baseball football swimming chess softball

          1              0            0             1              0        1

          1              1            1             0              0        1

          1               0           1            0              1         0

          1               1           0            1              0         1

 

Any help is greatly appreciated!

 

1 REPLY 1
andreas_lds
Jade | Level 19

Not clear how the result should look like, please explain.