Skip to content

A Distribution-Free Test of Independence Based on Mean Variance Index.

Notifications You must be signed in to change notification settings

ChuanyuXue/MVTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

MVTest

A Distribution-Free Test of Independence Based on Mean Variance Index.

Install

pip install mvtpy

Usage

from mvtpy.mvtest import mvtest
model = mvtest()
y = np.array(range(5))
x = y + np.random.normal()
# Y has to be a discrete vector
model.test(x, y)

Notes

This package is purely implemented with Numpy library with limited execution performance. Please read the reference and speed up the the code by yourself for large scale dataset.

Reference

Cui H, Zhong W. A Distribution-Free Test of Independence and Its Application to Variable Selection[J]. arXiv preprint arXiv:1801.10559, 2018.

About

A Distribution-Free Test of Independence Based on Mean Variance Index.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages