Decision trees and expected value of perfect information (EVPI) calculations with MS Excel

Here is a collection of Excel spreadsheets I have been using while studying decision trees and value of information concepts.

I'm publishing these since there seems to be a gap between available theoretical descriptions and tutorials demonstrating how to actually calculate these using popular tools.

If you are looking for a good introduction into the concepts of decision trees and EVPI I'd recommend Decision Tree Primer by Craig W. Kirkwood. Especially the examples and exerices are quite clear and easy to follow. There's also now a free Model Thinking course that includes decision trees.

However, if you try to calculate them by hand you will find out that it's very time consuming and it's easy to make mistakes — even with Excel it's not an issue of complex calculations, but rather getting right fields referenced and copied. So for actual calculations I strongly recommend a free Decision Tree add-on for Excel. They allow you to easily build graphical decision and probability trees, include risk aversion and probability flipping that are needed to solve some exercises in the primer.

If you have problems with understanding some concepts, just go and search on YouTube — for example there's a very nice series from Gator Tutoring. In short, clean films they explain concepts like certainty equivalent, expected utility and many others. You might also have a look at Wikipedia: risk aversion, exponential utility.

Note that the exponential utility function in Kirkwood's primer is written as:

u(x) = 1 - e^{-x/R}

And he's using risk tolerance expressed in dollars as $R$ parameter. The function in Excel add-on is defined in slightly different way and expects a fractional parameter $gamma$:

u(x) = 1 - e^{-gamma/x}

The conversion is simple:

  1. put the dollar $R$ value in some field in the spreadsheet (e.g. A1)
  2. define a field with label gamma with formula =1/A1

Another useful thing to remember when working with the Excel add-on is that if you are trying to minimise a cost instead of maximising income, you just need to define the financial figures as negative numbers.

AttachmentSize
example_1.4_ev.xlsm10.83 KB
example_1.7_xanadu.xls20 KB
example_1.8_abc.xlsm13.07 KB
example_3.1_xanadu_-_perfect.xls24.5 KB
example_3.2_xanadu_-_imperfect.xls34 KB
exercise_1.1.xls19 KB
exercise_1.2.xls23 KB
exercise_1.3.xls33.5 KB
exercise_1.4.xls13.5 KB
exercise_1.5_kezo.xls22 KB
exercise_2.1.xls17 KB
exercise_2.2_kezo.xls22 KB
exercise_2.3_kezo.xls26.5 KB
simpledecisiontree_v1.3.xla768.5 KB