tetrad_ica-lingam

ICA-LINGAM

Package

causal-cmd

Version

1.10.0

Language

Java

Docs

here

Paper

Shimizu et al.[1], Hyvarinen et al.[2]

Graph type

DAG

Docker

bpimages/causal-cmd:1.10.0

Module folder

tetrad_ica-lingam

Description

From the Tetrad manual: LiNGAM Shimizu et al.[1] was one of the first of the algorithms that assumed linearity among the variables and non-Gaussianity of error term, and still one of the best for smaller models, for the basic algorithm, implemented here. The idea is to use the Independent Components Analysis (ICA) algorithm to check all permutations of the variables to find one that is a causal order—that is, one in which earlier variables can cause later variables but not vice-versa. The method is clever. First, since we assume the model is a directed acyclic graph (DAG), there must be some permutation of the variables for which the main diagonal of the inverse of the weight matrix contains no zeros. This gives us a permuted estimate of the weight matrix. Then we look for a permutation of this weight matrix that is lower triangular. There must be one, since the model is assumed to be a DAG. But a lower triangular weight matrix just gives a causal order, so we’re done.

In the referenced paper, we implement Algorithm A, which is described above. Once one has a causal order the only thing one needs to do is to eliminate the extra edges. For this, we use the causal order to define knowledge of tiers and run FGES.

Our implementation of LiNGAM has one parameter, penalty discount, used for the FGES adjacency search. The method as implemented does not scale much beyond 10 variables, because it is checking every permutation of all of the variables (twice). The implementation of ICA we use is FastIca Hyvarinen et al.[2].

Example JSON

[
  {
    "id": "lingam",
    "datatype": "continuous",
    "timeout": null
  }
]