goodarzilab / pypage

python implementation of the PAGE algorithm
MIT License
15 stars 2 forks source link

Validate correct MI and CMI #15

Closed noamteyssier closed 2 years ago

noamteyssier commented 2 years ago

Mutual Information

Alternative Forms of MI Validate that the implemented form (double summation) is equivalent to the form H(X) + H(Y) - H(X, Y)

Conditional Mutual Information

Alternative Forms of CMI Validate that the implemented form (triple summation) is equivalent to the form H(X,Z) + H(Y,Z) - H(X,Y,Z) - H(Z)