BookmarkSubscribeRSS Feed

chi2_discretize.sas

Started ‎09-07-2014 by
Modified ‎04-04-2022 by
Views 2,440

DESCRIPTION: %CHI2_DISCRETIZE performs supervised discretization of a continuous variable based on the values of a categorical variable.

 

The X^2 algorithm is used to recursively subdivide the values of the continuous variable until there is no improvement in the value of the criterion function (logworth).

 

SYNTAX: See macro header for definition of variables

 

EXAMPLE: See initial comments in macro for example of use.

     See %REPLICATE_RESULTS macro at end of file for additional examples of use.

 

NOTES: The data may not contain missing values.

 

AUTHOR: Ross Bettinger

 

DATE: 07Sep2014

 

REFERENCE: www.wuss.org/proceedings11/Papers_Bettinger_R_74935.pdf

Version history
Last update:
‎04-04-2022 03:14 PM
Updated by:
Contributors

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

SAS AI and Machine Learning Courses

The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

Get started

Article Labels
Article Tags