McNemar’s test
Like with the paired t-test there is an alternative to the chi-square test of independence for the situation where you want to compare a binary outcome between two groups (i.e. an independent variable with two levels) but where those two groups are paired. This test is known as McNemar’s test. A typical scenario where this test might be applicable is where you have a binary outcome, e.g. a covid test (positive/negative), with the outcome measured/recorded from the same set of individuals at two points in time, e.g. before/after an intervention. We will not look further at this test or practice its use in this course, but a good overview of the test with instructions of how to use it in SPSS can be found here:
https://statistics.laerd.com/spss-tutorials/mcnemars-test-using-spss-statistics.php