Learn R Programming

bnmonitor (version 0.2.2)

edge_strength: Strength of edges in a Bayesian network

Description

Computation of the measure of edge strength for all edges in a Bayesian networks

Usage

edge_strength(bnfit)

Value

A dataframe with first two columns the edge list of the bn.fit input object. The third column Edge.Strength reports the measure of edge strength.

Arguments

bnfit

object of class bn.fit.

Details

The measure of edge strength is defined as the largest diameter out of all conditional probability tables where all other parents but the considered one are fixed to a specific combination.

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.

See Also

diameter

Examples

Run this code
edge_strength(travel)

Run the code above in your browser using DataLab