Desktop productivity for business analysts and programmers

Multiple proportion test

Reply
Occasional Contributor
Posts: 18

Multiple proportion test

I have 14 groups in the data set. I want to do proportion test for each pair. I used proc freq and that requires a lot of repeated code for each pair. Is there a efficient way to do this? Thanks!

SAS Super FREQ
Posts: 3,630

Re: Multiple proportion test

The standard way to compute the same statistic across many groups is to use BY-group processing:

Sort by the grouping variable and then put that variable in the BY list.

Super User
Posts: 19,167

Re: Multiple proportion test

Are you looking to make all possible pair comparisons from your 14 groups, ie 14 choose 2?

Occasional Contributor
Posts: 18

Re: Multiple proportion test

Yes.

Ask a Question
Discussion stats
  • 3 replies
  • 172 views
  • 0 likes
  • 3 in conversation