Learn R Programming

⚠️There's a newer version (3.1.7) of this package.Take me there.

abn (version 2.7-1)

Modelling Multivariate Data with Additive Bayesian Networks

Description

Bayesian network analysis is a form of probabilistic graphical models which derives from empirical data a directed acyclic graph, DAG, describing the dependency structure between random variables. An additive Bayesian network model consists of a form of a DAG where each node comprises a generalized linear model, GLM. Additive Bayesian network models are equivalent to Bayesian multivariate regression using graphical modelling, they generalises the usual multivariable regression, GLM, to multiple dependent variables. 'abn' provides routines to help determine optimal Bayesian network models for a given data set, where these models are used to identify statistical dependencies in messy, complex data. The additive formulation of these models is equivalent to multivariate generalised linear modelling (including mixed models with iid random effects). The usual term to describe this model selection process is structure discovery. The core functionality is concerned with model selection - determining the most robust empirical model of data from interdependent variables. Laplace approximations are used to estimate goodness of fit metrics and model parameters, and wrappers are also included to the INLA package which can be obtained from . The computing library JAGS is used to simulate 'abn'-like data. A comprehensive set of documented case studies, numerical accuracy/quality assurance exercises, and additional documentation are available from the 'abn' website .

Copy Link

Version

Install

install.packages('abn')

Monthly Downloads

516

Version

2.7-1

License

GPL (>= 2)

Maintainer

Reinhard Furrer

Last Published

April 25th, 2022

Functions in abn (2.7-1)

FCV

Dataset related to Feline calicivirus infection among cats in Switzerland.
build.control

Control the iterations in buildScoreCache
abn-deprecated

Deprecated functions and data in package abn
createDag

Create a legitimate DAGs
compareDag

Compare two DAGs or EGs
abn-internal

abn internal functions
abn-defunct

Defunct functions and data in package abn
buildScoreCache

Build a cache of goodness of fit metrics for each node in a DAG, possibly subject to user-defined restrictions
adg

Dataset related to average daily growth performance and abattoir findings in pigs commercial production.
. abn .

abn Package
ex6.dag.data

Valdiation data set for use with abn library examples
discretization

Discretization of a Possibly Continuous Data Frame of Random Variables based on their distribution
ex2.dag.data

Synthetic validation data set for use with abn library examples
entropyData

Computes an Empirical Estimation of the Entropy from a Table of Counts
ex5.dag.data

Valdiation data set for use with abn library examples
ex4.dag.data

Valdiation data set for use with abn library examples
ex7.dag.data

Valdiation data set for use with abn library examples
essentialGraph

Construct the essential graph
linkStrength

A function that returns the strengths of the edge connections in a Bayesian Network learned from observational data.
expit

Expit, Logit, and odds
infoDag

Compute standard information for a DAG.
ex0.dag.data

Synthetic validation data set for use with abn library examples
ex1.dag.data

Synthetic validation data set for use with abn library examples
mostprobable

Find most probable DAG structure
var33

simulated dataset from a DAG comprising of 33 variables
or

Odds Ratio from a Table
version

abn Version Information
pigs.vienna

Dataset related to diseases present in `finishing pigs', animals about to enter the human food chain at an abattoir.
tographviz

Convert a DAG into graphviz format
simulateDag

Simulate DAGs
scoreContribution

Compute the score's contribution in a network of each observation.
searchHeuristic

A family of heuristic algorithms that aims at finding high scoring directed acyclic graphs
fit.control

Control the iterations in fitAbn
searchHillclimber

Find high scoring directed acyclic graphs using heuristic search.
simulateAbn

Simulate from an ABN Network
fitabn

Fit an additive Bayesian network model
ex3.dag.data

Validation data set for use with abn library examples
mb

Compute the Markov blanket
miData

Empirical Estimation of the Entropy from a Table of Counts
plotabn

Plot an ABN graphic