Hi all,

I’m trying to compare sex distributions among different data collection centres using the chi squared (chisq) option in SAS but there are different numbers of observations for every data collection centre, which the resulting cross-tabs can’t account for.  I’m still a beginner in statistics in SAS, but the only procedure that I know of which allows you to account for unequal sample sizes is proc anova (lines statement) and this is not the right test for this comparison. Would anyone be kind enough to share their insight on this?

Thank you!

The follow code create an example of the data I have.

DATA example;

               INFILE datalines;

               INPUT centre_A centre_B centre_C centre_D centre_E;

               DATALINES;

1 1 0 1 1

0 0 0 1 0

0 0 0 1 0

0 1 1 0 0

1 1 1 1 1

1 1 0 1 .

1 0 0 . .

1 0 . . .

1 1 . . .

0 0 . . .

0 1 . . .

;

run;

More Janet Sultana's questions See All
Similar questions and discussions