#Biostatistics 470 #McNEMAR'S TEST #ZAR EXAMPLE 24.23 2x2 CASE X=matrix(c(12,5,11,22),nrow=2,byrow=T) X mcnemar.test(X,correct=F) #without continuity correction mcnemar.test(X,correct=T) #with continuity correction #McNEMAR'S TEST #ZAR EXAMPLE 24.23 2x2 CASE X=matrix(c(12,5,11,22),nrow=2,byrow=T) X mcnemar.test(X,correct=F) #without continuity correction mcnemar.test(X,correct=T) #with continuity correction #ZAR EXAMPLE 24.26 3x3 CASE Y=matrix(c(173,20,7,15,51,2,5,3,24),nrow=3,byrow=T) Y mcnemar.test(Y,correct=F)