asy_measure {bnmonitor}R Documentation

Measures of asymmetric independence

Description

Computation of the indexes of context-specific and partial independence in a conditional probability table.

Usage

asy_measure(bnfit, node)

Arguments

bnfit

object of class bn.fit.

node

a node of bnfit.

Details

The index of context-specific independence computes the upper diameter of a CPT where all parents but one are fixed, while the index of partial independence computes the lower diameter for the same CPT. If the lower diameter is close to zero it means that there are at least two rows of the CPT which are very similar to each other, thus implying a partial conditional independence.

Value

A list where each entry refers to one of the parent of node. Each entry of the list is a dataframe with the index of context-specific independence for each outcome of the conditioning parent in one column and in additional column the index of partial independence in the case of non-binary variables.

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.

Pensar, J., Nyman, H., Lintusaari, J., & Corander, J. (2016). The role of local partial independence in learning of Bayesian networks. International Journal of Approximate Reasoning, 69, 91-105.

See Also

diameter

Examples

asy_measure(synthetic_bn, "y3")


[Package bnmonitor version 0.2.0 Index]