Runs DirectLiNGAM given a dataset dat
. Returns the causal order
estimated from the data using the Direct LiNGAM algorithm.
direct_lingam_search(dat)
Numeric matrix. Dataset matrix with n
rows (observations) and p
columns (variables).
Numeric vector (or NA
in case of error).
The causal order estimated from the data.
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.