direct_lingam_search: DirectLiNGAM search

View source: R/causal_inference_helpers.R

direct_lingam_searchR Documentation

Description

Runs DirectLiNGAM given a dataset dat. Returns the causal order estimated from the data using the Direct LiNGAM algorithm.

Usage

direct_lingam_search(dat)

Arguments

dat

Numeric matrix. Dataset matrix with n rows (observations) and p columns (variables).

Details

This function performs the performs pairwise~LiNGAM algorithm of Hyvarinen and Smith (2013, JMLR) in the DirectLiNGAM framework of Shimizu et al. (2011, JMLR). The function calls internal C++ code.

Value

Numeric vector (or NA in case of error). The causal order estimated from the data.


nicolagnecco/causalXtreme documentation built on April 21, 2024, 4:22 a.m.