# Xi Correlation by Chatterjee, modified
It detects non-linear correlations including parabolas and waves. The longer the series, the better the results.
Here’s the paper I used. https://arxiv.org/pdf/1909.10140.pdf Here’s the github gist: https://gist.github.com/mandrewstuart/e1c584a36ca5394cc934542731b4d8c2
I modified the unordered equation because the boundaries weren’t working I expected. They are now ‘unordered’: 1 + (len(Y)*numerator)/(4*denominator)
Usage:
>> import modified_xicor as mx
>> x = [1, 2, 3, 4, 5]
>> y = [1, 3, 5, 7, 9]
>> mx.xicor(x, y)
{‘ordered’: float, ‘unordered’: float, ‘len’: int}
Release files for modified-xicor 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| modified-xicor-0.3.0.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| modified_xicor-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.1 kB
Release files / modified-xicor-0.3.0.tar.gz
| Download URL | modified-xicor-0.3.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce06f5d8251972ba5df695cf9b44b347a4b5048a032f99a5d64fbc285818fd63
|
|
BLAKE2b-256 checksum How to use checksums |
b06fe85b893f0829b43e96b878db7149d67343b92c90a90054d77a014e9991c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.15 CPython/3.9.13 Darwin/21.6.0
|
Release files / modified_xicor-0.3.0-py3-none-any.whl
| Download URL | modified_xicor-0.3.0-py3-none-any.whl |
|---|---|
| Size | 2.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94c4a4ad595e18653208f01f11ea5c5acf655dc697e9a71312310e4baf80b866
|
|
BLAKE2b-256 checksum How to use checksums |
46ae1bacd760fb44892d7782ff3d7da18cc7b66285f4e13ffb8506bffe608a3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.15 CPython/3.9.13 Darwin/21.6.0
|