**EDMeasure** provides measures of mutual dependence and
tests of mutual independence, independent component analysis methods
based on mutual dependence measures, and measures of conditional mean
dependence and tests of conditional mean independence.

The three main parts are: - mutual dependence measures via energy statistics - measuring mutual dependence - testing mutual independence - independent component analysis via mutual dependence measures - applying mutual dependence measures - initializing local optimization methods - conditional mean dependence measures via energy statistics - measuring conditional mean dependence - testing conditional mean independence

The mutual dependence measures include: - asymmetric measure based on distance covariance - symmetric measure based on distance covariance - complete measure based on complete V-statistics - simplified complete measure based on incomplete V-statistics - asymmetric measure based on complete measure - simplified asymmetric measure based on simplified complete measure - symmetric measure based on complete measure - simplified symmetric measure based on simplified complete measure

The mutual independence tests based on the mutual dependence measures are implemented as permutation tests.

The mutual dependence measures include: - distance-based energy statistics - asymmetric measure based on distance covariance - symmetric measure based on distance covariance - simplified complete measure based on incomplete V-statistics - kernel-based maximum mean discrepancies - d-variable Hilbertâˆ’Schmidt independence criterion based on Hilbertâˆ’Schmidt independence criterion

The initialization methods include: - Latin hypercube sampling - Bayesian optimization

The conditional mean dependence measures include: - conditional mean dependence of Y given X - martingale difference divergence - martingale difference correlation - martingale difference divergence matrix - conditional mean dependence of Y given X adjusting for the dependence on Z - partial martingale difference divergence - partial martingale difference correlation

The conditional mean independence tests include: - conditional mean independence of Y given X conditioning on Z - martingale difference divergence under a linear assumption - partial martingale difference divergence

The conditional mean independence tests based on the conditional mean dependence measures are implemented as permutation tests.

```
# Install the released version from CRAN
install.packages("EDMeasure")
# Or the development version from GitHub:
# install.packages("devtools")
::install_github("zejin/EDMeasure") devtools
```