Programming the statistical procedures from SAS

Analysis of 2 x n contingency tables with matched pairs of subject

Accepted Solution Solved
Reply
Contributor
Posts: 57
Accepted Solution

Analysis of 2 x n contingency tables with matched pairs of subject

Hello,

I use McNemar test via PROC FREQ to analyse 2 x 2 contingency tables with matched pairs of subject. What statistical test should I use (and corresponding PROC) to analyze 2 x n contingency tables with matched pairs of subject.

Thanks in advance for you suggestions;

Regards,


Accepted Solutions
Solution
‎07-19-2012 08:07 AM
Respected Advisor
Posts: 2,655

Re: Analysis of 2 x n contingency tables with matched pairs of subject

I may be a little unclear on this, but I would try using a generalized linear model that captured the pairing design.  Perhaps something like:

proc glimmix;

class group pair;

model nlevel = group / solution dist=multinomial;

random int / subject=pair;

run;

Without knowing exactly what the data look like, this is as close as I can come up with for paired multinomial data.

Steve Denham

View solution in original post


All Replies
Solution
‎07-19-2012 08:07 AM
Respected Advisor
Posts: 2,655

Re: Analysis of 2 x n contingency tables with matched pairs of subject

I may be a little unclear on this, but I would try using a generalized linear model that captured the pairing design.  Perhaps something like:

proc glimmix;

class group pair;

model nlevel = group / solution dist=multinomial;

random int / subject=pair;

run;

Without knowing exactly what the data look like, this is as close as I can come up with for paired multinomial data.

Steve Denham

Contributor
Posts: 57

Re: Analysis of 2 x n contingency tables with matched pairs of subject

Dear Steve,

Thanks a lot for your answer which sounds very good.

I have performed some tests and I obtained the results I waited for.

Have a good day.

Regards

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 547 views
  • 0 likes
  • 2 in conversation