proc freq data=vvnv;

tables Occupation * status / fisher;

run;

The P-value is >0.05, so there is no difference between the two groups. But when I looked at the table, it seems there are some difference, for example, VV group has only two types of occupation, 50% (10 people) were farmer/fh, and 50% (10 people) were skilled workers. But NV has 5 types of occupation, 55% skilled workers, and 34% farmer/fh, 9% white collar etc. VV has 0 in the three other types.

My question is: the overall 5x2 chi-square test showed no difference, but I break it into 5 of 2x2 chi-square to test each occupation type?