How to account for probability in this case of chances of disease
// ~->[DNET-1]->~ bnet tptHD_v2 { AutoCompile = TRUE; autoupdate = TRUE; whenchanged = 1597752690; visual V1 { defdispform = BELIEFBARS; nodelabeling = TITLE; NodeMaxNumEntries = 50; nodefont = font {shape= "Arial"; size= 9;}; linkfont = font {shape= "Arial"; size= 9;}; ShowLinkStrengths = 1; windowposn = (22, 22, 1126, 482); resolution = 72; drawingbounds = (1412, 720); showpagebreaks = FALSE; usegrid = TRUE; gridspace = (6, 6); NodeSet Node {BuiltIn = 1; Color = 0x00e1e1e1;}; NodeSet Nature {BuiltIn = 1; Color = 0x00f8eed2;}; NodeSet Deterministic {BuiltIn = 1; Color = 0x00d3caa6;}; NodeSet Finding {BuiltIn = 1; Color = 0x00c8c8c8;}; NodeSet Constant {BuiltIn = 1; Color = 0x00ffffff;}; NodeSet ConstantValue {BuiltIn = 1; Color = 0x00ffffb4;}; NodeSet Utility {BuiltIn = 1; Color = 0x00ffbdbd;}; NodeSet Decision {BuiltIn = 1; Color = 0x00dee8ff;}; NodeSet Documentation {BuiltIn = 1; Color = 0x00f0fafa;}; NodeSet Title {BuiltIn = 1; Color = 0x00ffffff;}; PrinterSetting A { margins = (1270, 1270, 1270, 1270); }; }; node Dad { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (); probs = // yes no (0.5, 0.5); whenchanged = 1597750747; belief = (0.08146863, 0.9185314); visual V1 { center = (492, 66); height = 8; }; }; node TransmitterType { discrete = TRUE; states = (strong, weak, no); kind = NATURE; chance = CHANCE; parents = (Dad); probs = // strong weak no // Dad (0.5, 0.5, 0, // yes 0, 0, 1); // no ; whenchanged = 1597750591; belief = (0.004655889, 0.07681274, 0.9185314); visual V1 { center = (492, 168); height = 1; }; }; node Brother1 { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (TransmitterType); probs = // yes no // TransmitterType (0.8968627, 0.1031373, // strong 0.1031373, 0.8968627, // weak 0, 1); // no ; whenchanged = 1597750770; evidence = no; belief = (0, 1); visual V1 { center = (288, 300); height = 3; }; }; node Wife { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (TransmitterType); probs = // yes no // TransmitterType (0.8968627, 0.1031373, // strong 0.1031373, 0.8968627, // weak 0, 1); // no ; whenchanged = 1597750696; belief = (0.009440463, 0.9905595); visual V1 { center = (492, 294); height = 5; }; }; node Brother2 { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (TransmitterType); probs = // yes no // TransmitterType (0.8968627, 0.1031373, // strong 0.1031373, 0.8968627, // weak 0, 1); // no ; whenchanged = 1597750717; belief = (0.009440463, 0.9905595); visual V1 { center = (774, 294); height = 2; }; }; node Symptoms_55 { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (Dad); probs = // yes no // Dad (0.8, 0.2, // yes 0, 1); // no ; numcases = 1; whenchanged = 1597750771; evidence = no; belief = (0, 1); visual V1 { center = (762, 66); height = 7; }; }; node Symptoms_34_w { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (Wife); probs = // yes no // Wife (0.3333333, 0.6666667, // yes 0, 1); // no ; whenchanged = 1597752690; evidence = no; belief = (0, 1); visual V1 { center = (492, 402); height = 4; }; }; node Symptoms_34 { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (Brother2); probs = // yes no // Brother2 (0.3333333, 0.6666667, // yes 0, 1); // no ; whenchanged = 1597752674; evidence = no; belief = (0, 1); visual V1 { center = (774, 396); height = 6; }; }; ElimOrder = (Symptoms_55, Symptoms_34_w, Symptoms_34, Dad, Brother1, Wife, TransmitterType, Brother2); };
// ~->[DNET-1]->~ bnet tptHD_v2 { AutoCompile = TRUE; autoupdate = TRUE; whenchanged = 1597752690; visual V1 { defdispform = BELIEFBARS; nodelabeling = TITLE; NodeMaxNumEntries = 50; nodefont = font {shape= "Arial"; size= 9;}; linkfont = font {shape= "Arial"; size= 9;}; ShowLinkStrengths = 1; windowposn = (22, 22, 1126, 482); resolution = 72; drawingbounds = (1412, 720); showpagebreaks = FALSE; usegrid = TRUE; gridspace = (6, 6); NodeSet Node {BuiltIn = 1; Color = 0x00e1e1e1;}; NodeSet Nature {BuiltIn = 1; Color = 0x00f8eed2;}; NodeSet Deterministic {BuiltIn = 1; Color = 0x00d3caa6;}; NodeSet Finding {BuiltIn = 1; Color = 0x00c8c8c8;}; NodeSet Constant {BuiltIn = 1; Color = 0x00ffffff;}; NodeSet ConstantValue {BuiltIn = 1; Color = 0x00ffffb4;}; NodeSet Utility {BuiltIn = 1; Color = 0x00ffbdbd;}; NodeSet Decision {BuiltIn = 1; Color = 0x00dee8ff;}; NodeSet Documentation {BuiltIn = 1; Color = 0x00f0fafa;}; NodeSet Title {BuiltIn = 1; Color = 0x00ffffff;}; PrinterSetting A { margins = (1270, 1270, 1270, 1270); }; }; node Dad { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (); probs = // yes no (0.5, 0.5); whenchanged = 1597750747; belief = (0.08146863, 0.9185314); visual V1 { center = (492, 66); height = 8; }; }; node TransmitterType { discrete = TRUE; states = (strong, weak, no); kind = NATURE; chance = CHANCE; parents = (Dad); probs = // strong weak no // Dad (0.5, 0.5, 0, // yes 0, 0, 1); // no ; whenchanged = 1597750591; belief = (0.004655889, 0.07681274, 0.9185314); visual V1 { center = (492, 168); height = 1; }; }; node Brother1 { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (TransmitterType); probs = // yes no // TransmitterType (0.8968627, 0.1031373, // strong 0.1031373, 0.8968627, // weak 0, 1); // no ; whenchanged = 1597750770; evidence = no; belief = (0, 1); visual V1 { center = (288, 300); height = 3; }; }; node Wife { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (TransmitterType); probs = // yes no // TransmitterType (0.8968627, 0.1031373, // strong 0.1031373, 0.8968627, // weak 0, 1); // no ; whenchanged = 1597750696; belief = (0.009440463, 0.9905595); visual V1 { center = (492, 294); height = 5; }; }; node Brother2 { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (TransmitterType); probs = // yes no // TransmitterType (0.8968627, 0.1031373, // strong 0.1031373, 0.8968627, // weak 0, 1); // no ; whenchanged = 1597750717; belief = (0.009440463, 0.9905595); visual V1 { center = (774, 294); height = 2; }; }; node Symptoms_55 { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (Dad); probs = // yes no // Dad (0.8, 0.2, // yes 0, 1); // no ; numcases = 1; whenchanged = 1597750771; evidence = no; belief = (0, 1); visual V1 { center = (762, 66); height = 7; }; }; node Symptoms_34_w { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (Wife); probs = // yes no // Wife (0.3333333, 0.6666667, // yes 0, 1); // no ; whenchanged = 1597752690; evidence = no; belief = (0, 1); visual V1 { center = (492, 402); height = 4; }; }; node Symptoms_34 { discrete = TRUE; states = (yes, no); kind = NATURE; chance = CHANCE; parents = (Brother2); probs = // yes no // Brother2 (0.3333333, 0.6666667, // yes 0, 1); // no ; whenchanged = 1597752674; evidence = no; belief = (0, 1); visual V1 { center = (774, 396); height = 6; }; }; ElimOrder = (Symptoms_55, Symptoms_34_w, Symptoms_34, Dad, Brother1, Wife, TransmitterType, Brother2); };