output out=chisqdat pchi lrchi n nmiss; title 'Chi-Square Tests for 3 by 5 Table of Eye and Hair Color'; run; proc print data=chisqdat noobs; title 'Chi-Square Statistics for Eye and Hair Color'; ...
The chi-square test is a statistical hypothesis test that is used to compare observed and expected counts in a contingency table. Its uses include: tests for independence, tests for homogeneity, and ...