syanga / pycit

(Conditional) Independence testing & Markov blanket feature selection using k-NN mutual information and conditional mutual information estimators. Supports continuous, discrete, and mixed data, as well as multiprocessing.
MIT License
25 stars 5 forks source link

which is the null hypothesis? #1

Closed Angela446-lgtm closed 1 year ago

Angela446-lgtm commented 3 years ago

pval = itest(df.iloc[:,ix].values, df.iloc[:,jx].values, test_args={'statistic': 'mixed_mi', 'n_jobs': 8}) is_independent = (pval >= 1.- 0.95) #confidence_level = 0.95

So, the output is True. So, the two variables are independent.

Which is the null hypothesis here?

syanga commented 1 year ago

The null hypothesis usually refers to independence