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?
Since McNemar's test doesn't apparenlty use variance in calculations do you need SurveryFreq? Proc Freq will do one.
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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.