Topic: Matrix Manipulation Problem / Level: advanced

Problem: Write a program to calculate the goodness-of-fit statistic using a contingency table.

Run the code to see the output here...