Learn R Programming

D2C (version 1.2.1)

Predicting Causal Direction from Dependency Features

Description

The relationship between statistical dependency and causality lies at the heart of all statistical approaches to causal inference. The D2C package implements a supervised machine learning approach to infer the existence of a directed causal link between two variables in multivariate settings with n>2 variables. The approach relies on the asymmetry of some conditional (in)dependence relations between the members of the Markov blankets of two variables causally connected. The D2C algorithm predicts the existence of a direct causal link between two variables in a multivariate setting by (i) creating a set of of features of the relationship based on asymmetric descriptors of the multivariate dependency and (ii) using a classifier to learn a mapping between the features and the presence of a causal link

Copy Link

Version

Install

install.packages('D2C')

Monthly Downloads

29

Version

1.2.1

License

Artistic-2.0

Maintainer

Last Published

January 20th, 2015

Functions in D2C (1.2.1)

initialize,simulatedDAG-method

creation of a "simulatedDAG" containing a list of DAGs and associated observations
initialize,D2C.descriptor-method

creation of a D2C.descriptor
descriptor

compute descriptor
D2C-class

An S4 class to store the RF model trained on the basis of the descriptors of NDAG DAGs
predict,D2C-method

predict if there is a connection between node i and node j
mimr

mIMR (minimum Interaction max Relevance) filter
initialize,DAG.network-method

creation of a DAG.network
dataset

Dataset of the Alarm benchmark
true.net

Adjacency matrix of the Alarm dataset
simulatedDAG-class

An S4 class to store a list of DAGs and associated observations
update,simulatedDAG-method

update of a "simulatedDAG" with a list of DAGs and associated observations
compute,DAG.network-method

compute N samples according to the network distribution
updateD2C,D2C-method

update of a "D2C" with a list of DAGs and associated observations
alarm

Alarm dataset
BER

Balanced Error Rate
example

stored D2C object
initialize,D2C-method

creation of a D2C object which preprocesses the list of DAGs and observations contained in sDAG and fits a Random Forest classifier
DAG.network-class

An S4 class to store DAG.network