Health-Economics-in-R/CEdecisiontree

Cdectree_expected_values and dectree_expected_values give different results

Opened this issue · 2 comments

Hi, I have been playing around with this package and trying to get it to work for quite a big decision tree which would be a huge hassle to manually calculate expected probabilities. It looks like in dectree_expected_values all endpoint nodes are given their inputted cost value directly, while in Cdectree_expected_values, endpoint nodes have a value of 0.

Hi Josephine (I think!), there are certainly inconsistencies with this. I've basically just kept adding bits to it over quite a bit of time whenever I needed something for a project so theres very little overall design decision. Its great that you're trying it out tho! I should sort it out so this is a good excuse. Can you send me the example you've tried which gives the problem please and I'll fix it... n.green[at]ucl.ac.uk