# How to use chi-square for ranking?

I came across this recent KDD paper titled as Concepts-Bridges: Uncovering Conceptual Bridges Based On Biomedical Concept Evolution.

In page 6 of the paper they have used Chi-square to obtain a ranked list.

This make me questioned how to use chi-square for ranking as I initially thought that it is a hypothesis testing approach. Is it like ranking using p-values?

I also has a ranking problem where I would like to use chi-square to rank my terms.

With the curiosity of knowing how chi-square is used in ranking, my question is how to use chi-square to get a ranked list using a simple example.

My preferred language is python. However, I am happy to receive answers using r as well.

EDIT:

I still could not find a solution for this. The current answer for this question looks promising. However, the answer does not provide details how to implement this. It would be really great if you could help me to resolve my problem. My preferred language is python. However, I am fine in getting answers in other languages too.

EDIT:

• mlwiki.org/index.php/Chi-Squared_Ranking - google helped me =) by value of $\chi^2$ – German Demidov Oct 5 '19 at 9:18