BookmarkSubscribeRSS Feed
jrohay
Calcite | Level 5

Can PROC SURVEYFREQ be used to conduct a McNemar's test?  If not, can PROC SURVEYMEANS be used test whether the difference in the proportions is 0 (i.e., compute a difference score and get the T and PROBT stats)? If so, are there any references for such an analysis?

2 REPLIES 2
ballardw
Super User

Since McNemar's test doesn't apparenlty use variance in calculations do you need SurveryFreq? Proc Freq will do one.

SteveDenham
Jade | Level 19

I'll support @ballardw's suggestion.  Here is an example from a survey, that uses PROC FREQ:

 

http://www.stat.purdue.edu/~tqin/system101/method/method_mcnemar_sas.htm

 

That isn't to say that there aren't complex survey methods for McNemar tests out there (google is your friend for this)--it's just that from the info given, PROC FREQ seems adequate.

 

Steve Denham

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1610 views
  • 0 likes
  • 3 in conversation