Topic: Matrix Manipulation Problem / Level: intermediate

Problem: Write a program to compute the Chi-square statistic using a contingency table represented as a matrix.

Run the code to see the output here...