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

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.

 

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
  • 1603 views
  • 0 likes
  • 3 in conversation