Dirichlet distributions

I've built a decision tree with multiple payoffs for a health intervention that's running fine under deterministic conditions. There are a few nodes with 3-4 branches where I've used a Dirichlet distribution. When I run the Monte Carlo/PSA, it is getting stuck on my Dirichlet distributions and saying: 

Error - Expression parsed but cannot be calculated.

Error while evaluating function dist: 0.026343597510009205 cannot be converted to integer

Calculating: Dist(Dist_healthy;1)  

Unable to evaluate probability.

I've tried putting the definition both directly in the tree as well as in the variable definition but neither seems to work. As far as I can tell, it's defined correctly. Any suggestions?
0

Comments

1 comment
  • If you refer to distributions by name rather than by index, you need to place quotes around the distribution name. Try changing your expression to Dist("Dist_healthy";1) and adjust other expressions in the same way.

    Andrew

    0
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post