6.7.14. statsmodels.sandbox.regression.try_treewalker¶
Trying out tree structure for nested logit
sum is standing for likelihood calculations
should collect and aggregate likelihood contributions bottom up
6.7.14.1. Functions¶
branch (tree) |
walking a tree bottom-up |
branch2 (tree) |
walking a tree bottom-up based on dictionary |
iteritems (obj, **kwargs) |
replacement for six’s iteritems for Python2/3 compat |
itervalues (obj, **kwargs) |