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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning and boost your career prospects.