xcy-Zscore

A small tool of Zscore based on numpy


Install
pip install xcy-Zscore==0.0.5

Documentation

MYSMOD

-- A sample and quick statistic integrated tool

1.MVtest

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

INSTALL

You can just use pip to install this model by

pip install xcy_MVtest

HOW TO USE

  import xcy_MVtest as mvtest
  import numpy as np
  x = np.linspace(0,20,20)
  y = x + np.random.randn(20)
  score = mvtest.mvtest(x, y)
  # Y has to be a discrete vector
  # score is the mv relation between vector x and y. 

2.Zscore

A Z-Score is a statistical measurement of a score's relationship to the mean in a group of scores.

INSTALL

You can just use pip to install this model by

pip install xcy_Zscore

HOW TO USE

from xcy_Zscore import xcy_Zscore 
A = [[1,2],[1,3],[1,5]]
A = xcy_Zscore.zscore(A)
# A will be zscored

DEPENDENCY

You have to install numpy frist then you can use this model

If you have any problems or advice, send them to my Email cs_xcy@126.com