Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How are nominal (ordered) predictors and rank related?

nominal ordered predictors rank
0
Posted

How are nominal (ordered) predictors and rank related?

0

A31. One of the strengths of CART is that, for ordered predictors, the only information CART uses are the rank orders of the data – not the actual value of the data. In other words, if you replace a predictor with its rank order, the CART tree will be unchanged. Thus, CART splits cannot be affected by any transform of the data that preserves order (monotone transform). For instance, AGE, log(AGE), AGE^2, etc., all would yield the same split. If you have a nominal variable with values 1,2,3,4,5, as long as the value “5” properly represents the highest value in the data and “1” represents the lowest value, and so forth, then monotone transforms of the data — transforms that preserve rank ordering — will not alter how the predictor acts in the tree. Of course, if a variable is categorical (discrete, unordered, nominal) then the values are just arbitrary labels. Simply indicating to CART that a predictor is variable is sufficient for proper handling.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123