Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • tree program on SSC

    Hello All,

    There is now an update to the tree program that I released a few months ago. For those who are interested, this evaluates decision trees. It enables you to specify the structure of such trees, set payoff values and probabilities, and to ultimately propagate payoff values to interior nodes and roots.

    The latest release fixes a few minor bugs, but more significantly, it can draw diagrams of the trees. It always had the capability of a textual representation of the trees, but now it also does graphic drawings using Stata graph features.

    Thanks to Kit Baum for getting this up into SSC.

    type
    ssc inst tree

    Thanks
    --David

  • #2
    Hello All,

    First, I'm curious to know whether anyone has been using -tree-.

    If so, have you had trouble when assigning a formula (rather than a simple literal value) to a payoff variable? Do you they result in missing values when evaluated (tree eval)?

    I believe there is a bug in that situation, so I'm wondering if it has affected any users.

    Thanks if anyone has a response.
    --David

    Comment


    • #3
      Hello All,

      Thanks to Kit Baum, there is an update to -tree- on SSC.

      This fixes a bug that produced incorrect values for expressions that referenced other variables.

      The bug would typically yield missing values in those situations; it would be unlikely to yield incorrect non-missing values. Naturally, such missing values will propagate toward the root of the tree.

      ALso, the sthlp file was cleaned up a bit.

      As a reminder, the tree module enables you to construct and evaluate decisions trees.

      ssc install tree
      or, if you already have it,
      ssc install tree, replace

      And once again, I'm curious to know whethe4r anyone has been using it.
      Thanks
      --David

      Comment

      Working...
      X