clust.bin.pair: Statistical Methods for Analyzing Clustered Matched Pair Data
Dan Gopstein · 2016
Tests, utilities, and case studies for analyzing significance in clustered binary matched-pair data. The central function clust.bin.pair uses one of several tests to calculate a Chi-square statistic. Implemented are the tests Eliasziw (1991) , Obuchowski (1998) , Durkalski (2003) , and Yang (2010) with McNemar (1947) included for comparison. The utility functions nested.to.contingency and paired.to.contingency convert data between various useful formats. Thyroids and psychiatry are the canonical datasets from Obuchowski and Petryshen (1989) respectively.