Skip to main content

dcor: distance correlation and related E-statistics in Python.

Project description

E-statistics are functions of distances between statistical observations in metric spaces.

Distance covariance and distance correlation are dependency measures between random vectors introduced in [SRB07] with a simple E-statistic estimator.

This package offers functions for calculating several E-statistics such as:

  • Estimator of the energy distance [SR13].

  • Biased and unbiased estimators of distance covariance and distance correlation [SRB07].

  • Estimators of the partial distance covariance and partial distance covariance [SR14].

It also provides tests based on these E-statistics:

  • Test of homogeneity based on the energy distance.

  • Test of independence based on distance covariance.

References

[SR13]

Gábor J. Székely and Maria L. Rizzo. Energy statistics: a class of statistics based on distances. Journal of Statistical Planning and Inference, 143(8):1249 – 1272, 2013. URL: http://www.sciencedirect.com/science/article/pii/S0378375813000633, doi:10.1016/j.jspi.2013.03.018.

[SR14]

Gábor J. Székely and Maria L. Rizzo. Partial distance correlation with methods for dissimilarities. The Annals of Statistics, 42(6):2382–2412, 12 2014. doi:10.1214/14-AOS1255.

[SRB07] (1,2)

Gábor J. Székely, Maria L. Rizzo, and Nail K. Bakirov. Measuring and testing dependence by correlation of distances. The Annals of Statistics, 35(6):2769–2794, 12 2007. doi:10.1214/009053607000000505.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dcor-0.2.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dcor-0.2-py2.py3-none-any.whl (28.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file dcor-0.2.tar.gz.

File metadata

  • Download URL: dcor-0.2.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.14.2 setuptools/37.0.0 requests-toolbelt/0.8.0 tqdm/4.17.1 CPython/3.6.2

File hashes

Hashes for dcor-0.2.tar.gz
Algorithm Hash digest
SHA256 3750749289e969ff7071a183210ac01d527de62700fea079d3a9bcfd81c370bf
MD5 0782eb6410db61c5ad2828c506dc7b9e
BLAKE2b-256 2abab9e93f323e6fdafd05fc298ee87dca1eacad3d90cdeb1f574c55992de2a9

See more details on using hashes here.

File details

Details for the file dcor-0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: dcor-0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.14.2 setuptools/37.0.0 requests-toolbelt/0.8.0 tqdm/4.17.1 CPython/3.6.2

File hashes

Hashes for dcor-0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 655e2852d36fcd2d4b64db970d0fa013a96c14acd089939eb5fdb622fe3287ea
MD5 edb51f34cbdb19f94acbf87e460e8260
BLAKE2b-256 14274cf297cdfb678b42693a170acebf9a493f7e30479991ca0c783d62d5a3f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page