Solved – Determine if two proportions from the same sample are different

mcnemar-testproportion;repeated measures

Is there a test I can use to compare two proportions from the same sample that are not mutually exclusive?

For example, I would like see if the proportion of people that answered "yes" to a particular question is significantly different from the proportion of people that answered "yes" to a different question.

Best Answer

The within-subjects test of equality of proportions is McNemar's test. I discuss it fairly thoroughly here: What is the difference between McNemar's test and the chi-squared test, and how do you know when to use each? The answer also provides an example demo in R, should you use that, but it should be easy to do in any software.