abn3.1.1 package

Modelling Multivariate Data with Additive Bayesian Networks

calc.node.inla.glm

Fit a given regression using INLA

calc.node.inla.glmm

Fit a given regression using INLA

makebugsGroup

Make BUGS model from fitted DAG with grouping

buildScoreCache

Build a cache of goodness of fit metrics for each node in a DAG, possi...

getModeVector

function to extract the mode from INLA output

getMSEfromModes

Extract Standard Deviations from all Gaussian Nodes

abn-package

abn Package

abn.version

abn Version Information

AIC.abnFit

Print AIC of objects of class abnFit

bern_bugs

Bugs code for Bernoulli response

BIC.abnFit

Print BIC of objects of class abnFit

build.control

Control the iterations in buildScoreCache

categorical_bugs

Bugs code for Categorical response

Cfunctions

Documentation of C Functions

check.valid.buildControls

Simple check on the control parameters

check.valid.dag

Set of simple commonsense validity checks on the directed acyclic grap...

check.valid.data

Set of simple commonsense validity checks on the data.df and data.dist...

check.valid.fitControls

Simple check on the control parameters

check.valid.groups

Simple check on the grouping variable

check.valid.parents

Set of simple checks on the given parent limits

check.which.valid.nodes

Set of simple checks on the list given as parent limits

coef.abnFit

Print coefficients of objects of class abnFit

compareDag

Compare two DAGs or EGs

compareEG

Compare two DAGs or EGs

createAbnDag

Make DAG of class "abnDag"

discretization

Discretization of a Possibly Continuous Data Frame of Random Variables...

dot-onAttach

Prints start up message

entropyData

Computes an Empirical Estimation of the Entropy from a Table of Counts

essentialGraph

Construct the essential graph

eval.across.grid

function to get marginal across an equal grid

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

ex2.dag.data

Synthetic validation data set for use with abn library examples

ex3.dag.data

Validation data set for use with abn library examples

ex4.dag.data

Valdiation data set for use with abn library examples

ex5.dag.data

Valdiation data set for use with abn library examples

ex6.dag.data

Valdiation data set for use with abn library examples

ex7.dag.data

Valdiation data set for use with abn library examples

expit

expit of proportions

expit_cpp

expit function

factorial

Factorial

factorial_fast

Fast Factorial

family.abnFit

Print family of objects of class abnFit

find.next.left.x

Find next X evaluation Point

fit.control

Control the iterations in fitAbn

fitAbn

Fit an additive Bayesian network model

forLoopContentFitBayes

Regress each node on its parents.#'

formula_abn

Formula to adjacency matrix

gauss_bugs

Bugs code for Gaussian response

get.quantiles

function to extract quantiles from INLA output

get.var.types

Create ordered vector with integers denoting the distribution

getmarginals

Internal function called by fitAbn.bayes.

getMargsINLA

function to extract marginals from INLA output

infoDag

Compute standard information for a DAG.

irls_binomial_cpp

Iterative Reweighed Least Square algorithm for Binomials

irls_binomial_cpp_br

BR Iterative Reweighed Least Square algorithm for Binomials

irls_binomial_cpp_fast

Fast Iterative Reweighed Least Square algorithm for Binomials

irls_binomial_cpp_fast_br

Fast Br Iterative Reweighed Least Square algorithm for Binomials

irls_gaussian_cpp

Iterative Reweighed Least Square algorithm for Gaussians

irls_gaussian_cpp_fast

Fast Iterative Reweighed Least Square algorithm for Gaussians

irls_poisson_cpp

Iterative Reweighed Least Square algorithm for Poissons

irls_poisson_cpp_fast

Fast Iterative Reweighed Least Square algorithm for Poissons

linkStrength

Returns the strengths of the edge connections in a Bayesian Network le...

logit

Logit of proportions

logit_cpp

logit functions

logLik.abnFit

Print logLik of objects of class abnFit

makebugs

Make BUGS model from fitted DAG

validate_dists

Check for valid distribution

mb

Compute the Markov blanket

mi_cpp

Mutual Information

miData

Empirical Estimation of the Entropy from a Table of Counts

modes2coefs

Convert modes to fitAbn.mle$coefs structure

mostProbable

Find most probable DAG structure

nobs.abnFit

Print number of observations of objects of class abnFit

odds

Probability to odds

or

Odds Ratio from a matrix

plot.abnDag

Plots DAG from an object of class abnDag

plot.abnFit

Plot objects of class abnFit

plot.abnHeuristic

Plot objects of class abnHeuristic

plot.abnHillClimber

Plot objects of class abnHillClimber

plot.abnMostprobable

Plot objects of class abnMostprobable

plotAbn

Plot an ABN graphic

pois_bugs

Bugs code for Poisson response

print.abnCache

Print objects of class abnCache

print.abnDag

Print objects of class abnDag

print.abnFit

Print objects of class abnFit

print.abnHeuristic

Print objects of class abnHeuristic

print.abnHillClimber

Print objects of class abnHillClimber

print.abnMostprobable

Print objects of class abnMostprobable

rank_cpp

Rank of a matrix

scoreContribution

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

searchHeuristic

A family of heuristic algorithms that aims at finding high scoring dir...

searchHillClimber

Find high scoring directed acyclic graphs using heuristic search.

simulateAbn

Simulate data from a fitted additive Bayesian network.

simulateDag

Simulate a DAG with with arbitrary arcs density

skewness

Computes skewness of a distribution

std.area.under.grid

Standard Area Under the Marginal

strsplits

Recursive string splitting

summary.abnDag

Prints summary statistics from an object of class abnDag

summary.abnFit

Print summary of objects of class abnFit

summary.abnMostprobable

Print summary of objects of class abnMostprobable

tidy.cache

tidy up cache

toGraphviz

Convert a DAG into graphviz format

validate_abnDag

Check for valid DAG of class abnDag

The 'abn' R package facilitates Bayesian network analysis, a probabilistic graphical model that derives from empirical data a directed acyclic graph (DAG). This DAG describes the dependency structure between random variables. The R package 'abn' provides routines to help determine optimal Bayesian network models for a given data set. These models are used to identify statistical dependencies in messy, complex data. Their additive formulation is equivalent to multivariate generalised linear modelling, including mixed models with independent and identically distributed (iid) random effects. The core functionality of the 'abn' package revolves around model selection, also known as structure discovery. It supports both exact and heuristic structure learning algorithms and does not restrict the data distribution of parent-child combinations, providing flexibility in model creation and analysis. The 'abn' package uses Laplace approximations for metric estimation and includes wrappers to the 'INLA' package. It also employs 'JAGS' for data simulation purposes. For more resources and information, visit the 'abn' website.

  • Maintainer: Matteo Delucchi
  • License: GPL (>= 3)
  • Last published: 2024-05-30