How can I handle rare levels of a categorical variable using this action?
6 vues
Réponse
You can use the 'GROUPRARE' method. This method groups rare levels together. You can control this by setting 'preprocessRare' to TRUE and defining the threshold with 'rareThreshold' (for frequency count) or 'rareThresholdPercent' (for percentage).
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.