computes a chi-square goodness-of-fit test for specified proportions. The chi-square goodness-of-fit test examines whether the children's hair color has a specified multinomial distribution for two ...
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'; ...