BookmarkSubscribeRSS Feed
ycenycute
Obsidian | Level 7

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?

5 REPLIES 5
sbxkoenk
SAS Super FREQ

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

ycenycute
Obsidian | Level 7

This is the figure I got. 

 

ycenycute_0-1664967118108.png

 

sbxkoenk
SAS Super FREQ

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

ycenycute
Obsidian | Level 7

I think I get it. The index is for leaf node, ranked by the highest percentage of 1 in the node. 

sbxkoenk
SAS Super FREQ

@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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Mastering the WHERE Clause in PROC SQL

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.

Discussion stats
  • 5 replies
  • 1004 views
  • 0 likes
  • 2 in conversation