This program completes a test for independence using a contingency table. The observed frequencies must be contained in matrix [A]and the result is a test statistic having a chi-square distribution.
When the program is done running, the following variables are defined