After propensity score matching, we can assess balance between matched cohorts using McNemar test. I wonder why it is usually significant even in case of zero events on both sides. I saw prior question but this didn't answer my query. Code obtained from here
x<-matrix(c(1,1,85,85),2,2); mcnemar.test(x)
McNemar's Chi-squared test with continuity correction data: x McNemar's chi-squared = 84.012, df = 1, p-value < 2.2e-16
x<-matrix(c(0,0,86,86),2,2); mcnemar.test(x)
McNemar's Chi-squared test with continuity correction data: x McNemar's chi-squared = 80.105, df = 1, p-value < 2.2e-16
This is the data that I am trying to do McNemar test for it. I have many outcomes and Null hypothesis would be "No difference between both groups" while the alternative hypothesis would be that difference exists
Any advice will be greatly appreciated.
