Package: bnmonitor 0.2.2

Manuele Leonelli

bnmonitor: An Implementation of Sensitivity Analysis in Bayesian Networks

An implementation of sensitivity and robustness methods in Bayesian networks in R. It includes methods to perform parameter variations via a variety of co-variation schemes, to compute sensitivity functions and to quantify the dissimilarity of two Bayesian networks via distances and divergences. It further includes diagnostic methods to assess the goodness of fit of a Bayesian networks to data, including global, node and parent-child monitors. Reference: M. Leonelli, R. Ramanathan, R.L. Wilkerson (2022) <doi:10.1016/j.knosys.2023.110882>.

Authors:Manuele Leonelli [aut, cre], Ramsiya Ramanathan [aut], Rachel Wilkerson [aut]

bnmonitor_0.2.2.tar.gz
bnmonitor_0.2.2.zip(r-4.5)bnmonitor_0.2.2.zip(r-4.4)
bnmonitor_0.2.2.tgz(r-4.4-any)
bnmonitor_0.2.2.tar.gz(r-4.5-noble)bnmonitor_0.2.2.tar.gz(r-4.4-noble)
bnmonitor_0.2.2.tgz(r-4.4-emscripten)
bnmonitor.pdf |bnmonitor.html
bnmonitor/json (API)

# Install 'bnmonitor' in R:
install.packages('bnmonitor', repos = c('https://manueleleonelli.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/manueleleonelli/bnmonitor/issues

Datasets:

On CRAN:

3.92 score 3 stars 14 scripts 390 downloads 34 exports 97 dependencies

Last updated 2 months agofrom:cab71e609c. Checks:OK: 5. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 30 2024
R-4.5-winOKOct 30 2024
R-4.5-linuxOKOct 30 2024
R-4.4-winOKOct 30 2024
R-4.4-macOKOct 30 2024

Exports:amalgamationasy_measurebn2cibn2gbnCDcol_covar_matrixcovariance_vardiameterdwiedge_strengthewifinal_node_monitorFroglobal_monitorinfluential_obsJeffreysKLKL_boundsmean_varmodel_pres_covmutual_infonode_monitororderp_covarpartial_covar_matrixproportional_covarpsd_checkrow_covar_matrixsensitivitysensqueryseq_cond_monitorseq_marg_monitorseq_pa_ch_monitortotal_covar_matrixuniform_covar

Dependencies:abindbackportsbase64encbnlearnbroombslibcachemcheckmatecliclustercolorspacecorpcorcpp11data.tabledigestdplyrevaluatefansifarverfastmapfdrtoolfontawesomeforeignFormulafsgenericsggplot2glassoglueGPArotationgRaingRbasegridExtragtablegtoolshighrHmischtmlTablehtmltoolshtmlwidgetsigraphisobandjpegjquerylibjsonliteknitrlabelinglatticelavaanlifecyclemagrittrMASSMatrixmemoisemgcvmimemnormtmunsellnlmennetnumDerivpbapplypbivnormpillarpkgconfigplyrpngpsychpurrrqgraphquadprogR6rappdirsRColorBrewerRcppRcppArmadilloRcppEigenreshape2rlangrmarkdownrpartrstudioapisassscalesstringistringrtibbletidyrtidyselecttinytexutf8vctrsviridisviridisLitewithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Message for the User.onAttach
Amalgamation of levelsamalgamation
Measures of asymmetric independenceasy_measure
Integration with 'bn.fit' objects from 'bnlearn'bn2 bn2ci bn2gbn
bnmonitor: A package for sensitivity analysis and robustness in Bayesian networksbnmonitor
Bayesian networks for a cachexia studycachexia cachexia_ci cachexia_data cachexia_gbn control_ci control_gbn
CD-distanceCD
Christchurch Health and Development Studychds chds_bn chds_bn.fit
Standard variation of the covariance matrixcovariance_var
Co-variation schemescovariation orderp_covar proportional_covar uniform_covar
Co-variation matricescol_covar_matrix covariation_matrix partial_covar_matrix row_covar_matrix total_covar_matrix
Pima Indian Diabetes Datadiabetes
Diameters in a Bayesian networkdiameter
Distance-weigthed influencedwi
Strength of edges in a Bayesian networkedge_strength
Edge-weigthed influenceewi
Final node monitorsfinal_node_monitor
Bayesian network on fire alarm systemfire_alarm
Frobenius normFro
Frobenius norm for 'CI'Fro.CI
Frobenius norm for 'GBN'Fro.GBN
Global monitorglobal_monitor
Influential observationsinfluential_obs
Jeffreys DivergenceJeffreys
Jeffreys Divergence for 'CI'Jeffreys.CI
Jeffreys Divergence for 'GBN'Jeffreys.GBN
KL DivergenceKL
Bounds for the KL-divergenceKL_bounds
KL Divergence for 'bn.fit'KL.bn.fit
KL Divergence for 'CI'KL.CI
KL Divergence for 'GBN'KL.GBN
Math Marks Datamathmarks
Standard variation of the mean vectormean_var
Model-Preserving co-variationmodel_pres_cov
Mutual informationmutual_info
Node monitornode_monitor
Plotting methodsplot plot.CD plot.diameter plot.dwi plot.edgestrength plot.ewi plot.final_node_monitor plot.fro plot.influential_obs plot.jeffreys plot.kl plot.mutualinfo plot.node_monitor plot.sensitivity plot.seq_cond_monitor plot.seq_marg_monitor plot.seq_pa_ch_monitor
Printing methodsprint print.CD print.diameter print.dwi print.ewi print.final_node_monitor print.fro print.jeffreys print.kl print.mutualinfo print.node_monitor print.sensitivity print.seq_cond_monitor print.seq_marg_monitor print.seq_pa_ch_monitor
Check for positive semi-definiteness after a perturbationpsd_check psd_check.CI psd_check.GBN
Sensitivity functionsensitivity
Sensitivity of probability querysensquery
Sequential node monitorsseq_cond_monitor seq_marg_monitor seq_node_monitor
Sequential parent-child node monitorsseq_pa_ch_monitor
A synthetic Bayesian networksynthetic_bn
A synthetic continuous Bayesian networksynthetic_cbn synthetic_ci synthetic_gbn
Bayesian network on travel surveytravel