When you specify the CHISQ option in the TABLES statement, PROC FREQ performs the following chi-square tests for each two-way table ... A small left-sided p-value supports the alternative hypothesis ...
The chi-square value is calculated using the following formula: Using this formula, the difference between the observed and expected frequencies is calculated for each experimental outcome category.