Topic: Matrix Manipulation Problem / Level: advanced

Problem: Write a program to compute the Chi-square test statistic using contingency tables represented as matrices.

Run the code to see the output here...