Computation of the diameter of children conditional probability tables when levels of a variable are merged.
Usage
amalgamation(bnfit, node)
Value
A list where each entry refers to a child of node. For each child, the function reports the diameter resulting from the amalgamation of any pair of levels.
Arguments
bnfit
object of class bn.fit.
node
a node of bnfit
References
Leonelli, M., Smith, J. Q., & Wright, S. K. (2024). The diameter of a stochastic matrix: A new measure for sensitivity analysis in Bayesian networks. arXiv preprint arXiv:2407.04667.