Fill in your number of subjects observed into the green text boxes and press the "Calculate χ²-score and P-value" button.
McNemar's test is used on paired nominal data. It is applied to 2 × 2 contingency tables with a dichotomous trait, with matched pairs of subjects
Requirements
The samples are matched in some way.
The subjects are randomly selected from the population of all possible subjects.
The responses of the treatments can be coded as binary responses (i.e., a "0" or "1") in a way that is common to all treatments within each subject.