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