Skip to main content

xicorrelation

Project description

GitHub Actions status for master branch https://codecov.io/gh/jettify/xicorrelation/branch/master/graph/badge.svg https://img.shields.io/pypi/pyversions/xicorrelation.svg https://img.shields.io/pypi/v/xicorrelation.svg Documentation Status

xicorrelation package implements xi correlation formula proposed in https://arxiv.org/pdf/1909.10140.pdf.

It is based off the R code mentioned in the paper: https://statweb.stanford.edu/~souravc/xi.R and R package https://github.com/cran/XICOR

https://raw.githubusercontent.com/jettify/xicorrelation/master/docs/anscombe.png

Simple example

from xicorrelation import xicorr

x = [10, 8, 13, 9, 11, 14, 6, 4, 12, 7, 5]
y = [8.04, 6.95, 7.58, 8.81, 8.33, 9.96, 7.24, 4.26, 10.84, 4.82, 5.68]
# API similar to scipy
xi, pvalue, sd = xicorr(x, y)
print('xi', xi)
print('pvalue', pvalue)
print('sd', sd)

Installation

Installation process is simple, just:

$ pip install xicorrelation

Changes

0.2.0 (2022-01-01)

  • Initial release.

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

xicorrelation-0.2.1.tar.gz (58.6 kB view details)

Uploaded Source

Built Distribution

xicorrelation-0.2.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file xicorrelation-0.2.1.tar.gz.

File metadata

  • Download URL: xicorrelation-0.2.1.tar.gz
  • Upload date:
  • Size: 58.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for xicorrelation-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f5b2986ad5aef642512261bb89beedb26a29ee57422561c8acc9ce0b51898c29
MD5 ac4e5ea1883cfbb3e4b0a161199d11c7
BLAKE2b-256 a09a6d5e4ae35d3390c4b575935dfd1dc3a79dcd9e85107c96d6658e4032f8c6

See more details on using hashes here.

File details

Details for the file xicorrelation-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: xicorrelation-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for xicorrelation-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 407f706c4313e1308ca218c5b8c34521dd70a7496d599378eaabd2165223989e
MD5 f1efdacb57633033cf1b1fefd854683c
BLAKE2b-256 d268db739a73e9678c740df3b7c9c4583c1dff40cd3bcf96be7727531e507aab

See more details on using hashes here.

Supported by

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