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
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.