McNemar’s Test is a statistical test used to compare two related proportions, or proportions of related groups, in a single sample. It can be used in a variety of situations, such as analyzing the outcomes of a medical treatment, or determining whether a marketing campaign is successful. The test is also referred to as the “Paired Binary Test” or the “Paired Difference Test.”

McNemar’s test is based on the binomial distribution, which is the probability distribution of the number of successes in a sequence of independent events. It can be used to test the null hypothesis that the proportions of successes in two samples are equal. The test statistic is the difference between the two proportions, and the test is conducted by calculating the probability of obtaining a result at least as extreme as the observed result.

McNemar’s Test is well suited to situations where two related proportions are being compared, such as whether a medical treatment is more effective than a placebo or whether a marketing campaign is successful. In such cases, it is important to consider the relationships between the two samples, as the difference in proportions may be due to the influence of the other sample. The test is also useful in situations where there are a large number of subjects, as it can be used to compare proportions of related groups.

McNemar’s Test is a powerful statistical tool for assessing differences between proportions in a single sample. It is used in a variety of applications, from medical research to marketing campaigns, and is well suited to situations where two related proportions are being compared. The test is based on the binomial distribution, and the test statistic is the difference between the two proportions.

References

Kelly, C. (2017). McNemar’s Test. Retrieved from https://statistics.laerd.com/statistical-guides/mcnemars-test-statistical-guide-2.php

Kosinski, M., & Kosinski, P. (2020). McNemar’s Test. Retrieved from https://www.statisticshowto.datasciencecentral.com/mcnemars-test/

Harvey, J. (2015). McNemar’s Test for Paired Nominal Data. Retrieved from https://www.statisticshowto.datasciencecentral.com/mcnemars-test/#:~:text=McNemar%27s%20test%20is%20a%20statistical,or%20proportions%20of%20related%20groups.