This is a summary of an email conversation that continued this discussion. The entries have been edited to remove repetition and side conversation. This summary has been reviewed and approved before release by both authors.
Andrew Briggs
4-Dec-2013
I am preparing a second edition of my text book ‘Decision Analytic Modelling for Health Economic Evaluation’. The focus of the text is very practical and I make lots of examples and illustrations available on the web demonstrating how models can be implemented in a simple spreadsheet. (Follow the link to downloads from our homepage:
http://www.gla.ac.uk/hehta )
... it would be great to see some of these examples implemented in symbolic math in a form that could be made available alongside the Excel examples.
I like using Excel as a tool because most people have it on their machines and are familiar with simple spreadsheet operations. That gives the model one level of transparency. However, how Excel handles mathematical formulae is archaic and makes it extremely easy to introduce errors making debugging of Excel models a nightmare. The idea of being able to write the mathematical formula in a natural form is very attractive and leads to a different form of transparency.
Jacob Barhak
19-Dec-2013
In this email I take your challenge of implementing one of the modeling examples on your web page using symbolic math. It took me a while to find the examples you were discussing and I took the first one:
http://www.gla.ac.uk/media/media_94488_en.xls
- SymbolicExample.zip
- A zip archive containing Python code that uses Symbolic Math to replicate example and the output of this code
- (5.37 KiB) Downloaded 138 times
The example itself on your web page may be implemented using Symbolic Math, yet to be truthful, if you would have asked me to model this, I would have chosen a spreadsheet or a numeric library such as Matlab or numpy. The question you ask there is just too simple and limited to the technology you use. With better technology the questions you ask can be more complicated.
For this reason I added another section to the program that shows where Symbolic Math can elevate your modeling to the next level. For example Symbolic Math comes useful when you deal with estimation problems that require optimization of some sort. Therefore I added another question to your exercise where I ask to optimize risk reduction to reach a certain Life year target after 5 years. This estimation problem is not trivial to solve with a spreadsheet - although possible. Symbolic Math has an advantage here.... I believe you should address Symbolic Math as a useful tool that can:
1. Double check math calculations and help eliminate human error
2. Improve understanding of model structure by allowing to explore the function behind the model
3. Help in optimization
These capabilities will help elevate the modeler to the next level where more difficult questions can be asked. This is not only an implementation issue - it is a new capability offered by technological advancement.
Andrew Briggs
26-Dec-2013
Thanks for this — though I notice that you chose to replicate the simplest example of a Markov process without time dependency in the transitions.. I’m afraid, for me at least, the illustration if anything strengthens my view that the symbolic math methods you are advocating are about implementation. As such, don’t see any particular need to champion this particular platform over, say, R, or C++ as programming languages.
Jacob Barhak
26-Dec-2013
If you look at the third part of the solution it may open your eyes. This is not about implementation alone - it is about the power of the tools used and the complexity of the questions you can ask and answer.
Andrew Briggs
12-Jan-2014
Sorry Jacob,
But you didn’t really address the challenge. You replicated the most simple example from our book that used fixed transition probabilities. As you noted yourself, the example is trivial.
Perhaps you should consider writing a scientific article that demonstrates the potential of the tools you advocate in the field of HTA and submit it for peer-review in the scientific literature.
Jacob Barhak
12-Jan-2014
You are calling for more evidence. I can help there by being specific.
Here are direct links to the papers:
http://onlinelibrary.wiley.com/doi/10.1 ... 9/abstract
http://www.sciencedirect.com/science/ar ... 351000076X
Andrew Briggs
13-Jan-2014
A quick review of your papers suggests that these are an important contribution. I can see the arguments around the flexibility of the estimation method. Nevertheless, the methods you describe are not unique and others have written similarly of the need to estimate ‘latent’ parameters and have variously used maximum likelihood estimation / R / WinBugs etc. to implement their solutions.
Jacob Barhak
13-Jan-2014
Your recognition of the work is appreciated. And yes, you are correct, with additional effort it is even possible to implement the same without using Symbolic Math, just like it is possible to implement a model using Markov, DES, or as an equation. These are all tools. And Symbolic Math and HPC are additional tools in the arsenal of the modeler. Specifically those are highly useful for estimation as demonstrated - this was the point I was trying to make in your seminar and this discussion. These are game changers that should be addressed just like Markov and DES are addressed specifically in your guidelines.m