What would be the best way to do this in Smile?
Three options come to my mind:
- Work with probability of evidence. Calculate the probability of the symptoms P(S). Then, for each combination D I'm interested in, set the combination as additional evidence and calculate P(S,D). The probability of the disease combination given the symptoms can be obtained with P(D|S) = P(S,D) / P(S).
- Add a "join node" to the network, with all the disease nodes as parents and one state for each combination and a deterministic definition.
- Do it manually somehow (maybe there's a method that's faster than anything implemented in Smile)...
I know BN are actually designed to avoid JPDs... but nevertheless i need to calculate it!
Any comments very appreciated