ComputeExplanationData Sub Procedure

Startpage
Overview
Index
HAPI
   |
   HAPI.Node
      |
      ComputeExplanationData(x As Long, nodeY As Node, y As Long, maxSubsetSize As Long)

Syntax

Sub Procedure ComputeExplanationData(x As Long, nodeY As Node, y As Long, maxSubsetSize As Long)

Parameter description

NameTypeDescription
xLong state of the primary hypothesis node (this node)
YNode the alternative hypothesis node
yNode state of the alternative hypothesis node
maxSubsetSizeLong data for all subsets of evidence nodes up to this size are computed

Description

Computes Bayes factor data for all (nonempty) subsets of evidence nodes up to the specified maximum size. Two hypotheses are compared: (this node)=x and Y=y. For each subset of evidence nodes (up to the specified maximum size), the Bayes factor (the support for the first hypothesis relative to the second hypothesis) is computed. The results of the computations can be accessed using Explanation and ExplanationScore.

HUGIN EXPERT A/S, - comments to activex@hugin.com