| bbn.sensitivity {bbnet} | R Documentation |
Sensitivity Analysis for Bayesian Belief Network Models
Description
bbn.sensitivity() conducts a sensitivity analysis on a Bayesian Belief Network (BBN) model.
It evaluates the impact of varying key node on the network's outcomes using bootstrapping.
The analysis helps identify which node significantly influence the network, providing insights into the robustness and dependency of the network's structure.
Usage
bbn.sensitivity(bbn.model, boot_max = 1000, ...)
Arguments
bbn.model |
a matrix or dataframe of interactions between different model |
boot_max |
The number of bootstraps to perform. Suggested range for exploratory analysis 100-1000. For final analysis recommended size = 1000 - 10000 - note, this can take a long time to run. Default value is 1000. |
... |
Key |
Value
The function outputs a plot showing the nodes most influential to the network's outcomes, alongside a table ranking these variables by their impact.
The analysis highlights how changes in the key nodes can affect the network, offering valuable insights for model refinement and decision-making.
Examples
data(my_BBN)
bbn.sensitivity(bbn.model = my_BBN, boot_max = 100, 'Limpet', 'Green Algae')