Also, PROC FREQ computes the following statistics derived from the Pearson chi-square: the phi coefficient, the contingency coefficient, and Cramer's V. PROC FREQ computes Fisher's exact test ... left ...
The chi-square value is calculated using the following formula ... Pearson's chi-square test works well with genetic data as long as there are enough expected values in each group.