Statistical independence and conditional independence are two fundamental concepts in statistics and machine learning. Copula Entropy is a mathematical concept defined by Ma and Sun for multivariate statistical independence measuring and testing, and also proved to be closely related to conditional independence or transfer entropy. As the unified framework for measuring both independence and causality, it has been applied to solve several related statistical or machine learning problems, including association discovery, structure learning, variable selection, and causal discovery. The method for estimating copula entropy nonparametrically with rank statistic and the kNN method was also proposed. copent is a R package which implements this proposed method for estimating copula entropy. The implementation detail of the package is presented in this paper. Three examples with simulated data and real-world data on variable selection and causal discovery are also presented to demonstrate the usage of the package. The copent package is available on the Comprehensive R Archive Network (CRAN) and also on GitHub at https://github.com/majianthu/copent.
翻译:统计独立和有条件独立是统计和机器学习的两个基本概念。Copula Entropy是Ma和Sun为多变量统计独立度和测试而定义的一个数学概念,也证明与有条件独立或转移原体密切相关。作为衡量独立和因果关系的统一框架,它被用于解决若干相关的统计或机器学习问题,包括协会发现、结构学习、变量选择和因果发现。还提出了与等级统计和 kNN方法不以对称方式估计相交共性的方法。Copent是采用这一拟议方法估算相交相交性的方法的R套件。本文介绍了该套件的实施细节。还介绍了三个模拟数据和真实世界变量和因果发现数据的例子,以证明该套件的使用情况。该套件可在综合档案网(CRAN)和GitHubub(https://github.com/majianthu/copent)上查阅。