Table of Contents
statsmodels.sandbox.regression.treewalkerclass.
getnodes
walk tree to get list of branches and list of leaves
tree : list of tuples
tree as defined for RU2NMNL
branch : list
list of all branch names
leaves : list
list of all leaves names