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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.