The Tree Menu
This is what the submenus of the Tree menu do:
| Menu Choice | Does This |
|---|---|
| Options | Opens a three tabbed dialog that allows you to change calculation and display parameters. |
| Subset Spreadsheet | Creates a new spreadsheet view of any node highlighted with Shift+Click or Search Tree |
| Subset Tree | Creates a new tree view of any node highlighted with Shift+Click or Search Tree |
| Extend Current Tree Randomly | Opens a dialog that allows you to create multiple trees using random values. |
| Search Tree | Opens a submenu with various methods of highlighting nodes of the tree. |
|
The Tree menu allows you to create subsets of your current tree and to create randomly created groups of trees.
7.7.1 Tree->Options
The menu choices under Tree->Options is covered in Chapter 3.5.3.1.
7.7.2 Tree->Subset Spreadsheet
|
You can select any node by using Shift+Click or using the Search Tree submenu. It will indicate selection by showing a pink border around the node. Once selected, the menus Tree->Subset Spreadsheet will open a new spreadsheet filled with the records in that node.
|
This spreadsheet will hold only the patients over age 50 indicated by a previously selected node.
7.7.3 Tree->Subset Tree
|
Using the same selected node we can use the menus Tree->Subset Tree to create a new tree view with the selected node as the parent node. You can now do analysis on the subset of the original data set.
Multiple interesting nodes in a tree can be selected by Shift Clicking on them, and then performing a tree analysis only on a merged subset of the observations that belong to the selected nodes. This menu selection will cause a new tree analysis window to be displayed with a root node corresponding to the observations from all previously selected (magenta-bordered) nodes.
|
In Fig. 7.54 we see that the center node has a higher mean that the two side nodes. We can shift click on each of the two side nodes and then select the menus Tree->Subset Tree.
|
This gives a new tree view that allows us to explore the details of these lower mean nodes. Because these two nodes have an almost equal mean, it might make sense to combine them to obtain a larger sample size, rather than analyzing them separately.
7.7.4 Tree->Extend Current Tree Randomly
Creating random trees (or multiple trees as it is sometimes referred to) is covered in detail in the following Chapter 9, Random Tree Generation.
7.7.5 Tree->Search Tree
|
If you want a more dynamic method of searching, you can highlight nodes for the purpose of using Tree->Subset Tree and Tree->Subset Spreadsheet, or if you simply want to find a single node in a large tree, the Search Tree submenu can help you.
The Search Tree submenu highlights nodes in the same fashion as Shift-Click, allowing them to be selected by the Subset Spreadsheet and Subset Tree submenus of the Tree menu. See Section 7.7.5 for more information. This is what the five items of the Search Tree menu do:
| Menu Choice | Does This |
|---|---|
| Find Observation | Opens a dialog with options for searching through a tree for observation names. |
| Find Node | Opens a dialog with options for searching for the labels assigned to tree nodes. i.e.N112 |
| Select Node by Threshold | Opens a dialog with options for searching for nodes with a mean above or below a threshold |
| Highlight All Nodes | Highlights all the nodes in a tree. |
| UnHighlight All Nodes | UnHighlights all the nodes in a tree. |
The menus Tree->Subset Tree and Tree->Subset Spreadsheet perform operations only on the nodes highlighted by Shift-Clicking or using the search methods of this sub-menu. You can now search large trees for nodes of significance with Select Node by Threshold or find where in a tree an observation lies with Find Observation.
7.7.5.1 Tree->SearchTree->Find Observation
|
You can use the SearchTree->Find Observation to find where an observation lies in a tree, highlight that node, or the entire path to that node or search for all observations that contain a specific string in their name.
There are three options you can change:
| Value Labeled | Explanation |
|---|---|
| Highlight | When Leaves Only is selected, the search will only highlight the leaf node or nodes matching the search criteria. Otherwise when Entire Path is selected, all nodes matching the search will be highlighted |
| Search Method | Specifies whether the search will find only exact matches of the search string or will include all observations with labels that contain the search string. |
| Select Method | The Add to Lookup method will leave the current highlighted nodes on the tree, while the Replace Lookup will unhighlight the entire tree before highlighting any found nodes. |
7.7.5.2 Tree->SearchTree->Find Node
|
If you would like to highlight a node with a specific node name, or highlight a node and its subtree, you can use the SearchTree->Find Node dialog.
There are two options you can change:
| Value Labeled | Explanation |
|---|---|
| Search Method | Specifies whether the search will find only exact matches of the search string or will include all observations with labels that contain the search string. |
| Select Method | The Add to Lookup method will leave the current highlighted nodes on the tree, while the Replace Lookup will unhighlight the entire tree before highlighting any found nodes. |
|
7.7.5.3 Tree->SearchTree->Select Node by Threshold
If you would like to highlight only the nodes with a high or low mean response, you can use the SearchTree->Find Node by Threshold dialog.
There are two options you can change:
| Value Labeled | Explanation |
|---|---|
| Search | When Leaves Only is selected, the search will only highlight the leaf node or nodes matching the search criteria. Otherwise when All Nodes is selected, any node matching the search will be highlighted |
| Select Method | The Add to Lookup method will leave the current highlighted nodes on the tree, while the Replace Lookup will unhighlight the entire tree before highlighting any found nodes. |
|
7.7.5.4 Tree->SearchTree->Highlight All Nodes
These menu items allow a fast way to highlight all the nodes
7.7.5.5 Tree->SearchTree->UnHighlight All Nodes
These menu items allow a fast way to unhighlight all the nodes