Skip to content
/ xicor Public
forked from czbiohub-sf/xicor

xi correlation method adapted for python

License

Notifications You must be signed in to change notification settings

avisionh/xicor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyxi

Tests

xi correlation method adapted for python

What is pyxi?

Pyxi is an implementation of the "xi" correlation metric described in Chatterjee, S. (2019, September 22). A new coefficient of correlation. arxiv.org/abs/1909.10140. It is based off the R code mentioned in the paper: https://statweb.stanford.edu/~souravc/xi.R

from pyxi.pyxi import Xi
xi_obj = Xi([1, 2, 3], [1, 2, 3])
correlation = xi_obj.correlation
pvals = xi_obj.pval_asymptotic(
        ties=False, nperm=1000)

About

xi correlation method adapted for python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 61.0%
  • Python 36.9%
  • TeX 1.3%
  • Makefile 0.8%