The HPBNET Procedure

Probability Table

The following statements produce Figure 4.2, which shows the conditional probability table for each node in the network. You can use these probability tables for scoring or inferences or both. The conditional probability tables together with the network structure determine the Bayesian network.

 proc print data=network noobs label;
     var _parentnode_ _parentcond_ _childnode_ _childcond_ _value_;
     where _type_="PROBABILITY";
 run;

Figure 4.2: Probability Table

Parent NodeParent ConditionChild NodeChild ConditionValue
  TreatmentA0.33333
  TreatmentB0.33333
  TreatmentP0.33333
TreatmentAPainYES0.27273
TreatmentAPainNO0.72727
TreatmentBPainYES0.27273
TreatmentBPainNO0.72727
TreatmentPPainYES0.72727
TreatmentPPainNO0.27273
PainYESAge<670.17857
PainYESAge<750.35714
PainYESAge>=750.46429
PainNOAge<670.31579
PainNOAge<750.60526
PainNOAge>=750.07895