In SAS EM: decision tree, how to interpret leaf statistics plot?
I am working on a problem where Y is a binary variable. In the leaf statistics plot, the Y axis is training percentage 1, the X axis is the index. How can I interpret the result?
Hello @ycenycute ,
Are you talking about the Leaf Statistics Bar Chart in the
Interactive Decision Tree Application ??
https://go.documentation.sas.com/doc/en/emref/15.1/n1gvjknzxid2a2n12f7co56t1vsu.htm
Scroll down to "Leaf Statistics Bar Chart".
If that's not the chart you are talking about , show it to us.
Koen
This is the figure I got.
Hello,
Your target variable is binary and your event-level-of-interest is "1".
The bar chart indicates the percentage of events (1's) in the leaves. For the TRAINing set.
The index is the leaf number , I would think.
Although index=1 seems to me the root node (and that one is not a leaf if anything was grown).
Please check ...
Koen
I think I get it. The index is for leaf node, ranked by the highest percentage of 1 in the node.
@ycenycute wrote:
I think I get it. The index is for leaf node, ranked by the highest percentage of 1 in the node.
ranked by descending percentage of 1 in the node, indeed !
Koen
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.