Skip to main content

xicorrelation

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 spearmanr or kendalltau from scipy
xi, pvalue = xicorr(x, y)
print("xi", xi)
print("pvalue", pvalue)

Installation

Installation process is simple, just:

$ pip install xicorrelation

Changes

0.3.0

  • Rework API do be similar to scipy.

0.2.1

  • Initial release.

Metadata

Release files for xicorrelation 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xicorrelation 0.3.0
File Size Uploaded Provenance Actions
xicorrelation-0.3.0.tar.gz 58.8 kB Without provenance Details for xicorrelation-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xicorrelation 0.3.0
File Interpreter ABI Platform Actions
xicorrelation-0.3.0-py3-none-any.whl Python 3 none any Details for xicorrelation-0.3.0-py3-none-any.whl

Total release size: 67.4 kB

Release files / xicorrelation-0.3.0.tar.gz

Download URL xicorrelation-0.3.0.tar.gz
Size 58.8 kB
Tags Source
SHA-256 checksum
How to use checksums
756e2f11424fd3ff4171a8bb9a4686932f83bfbf3ad932ad74f44e145427e703
BLAKE2b-256 checksum
How to use checksums
7f5c1bee76a90c67f685763892db2e969379ef3efb63aa43eb415882a3a96742
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / xicorrelation-0.3.0-py3-none-any.whl

Download URL xicorrelation-0.3.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3178d16d1bfac5e8e997cc97dd199cab536bf916ec04c2c8555623ab1cdcacf
BLAKE2b-256 checksum
How to use checksums
d4e3c3e8b87e550f8846ac27565276b96d39e908b3e362790e8dd86bfe3b17bb
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for xicorrelation 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page