Skip NavigationSkip to Content

Confidence intervals for difference in proportions for matched pairs compatible with exact McNemar's or sign tests

  1. Author:
    Fay, Michael P [ORCID]
    Lumbard,Keith
  2. Author Address

    Biostatistics Research Branch, National Institute of Allergy and Infectious Diseases, Bethesda, Maryland, USA., Clinical Monitoring Research Program Directorate, Frederick National Laboratory for Cancer Research, Frederick, Maryland, USA.,
    1. Year: 2020
    2. Date: Dec 01
    3. Epub Date: 2020 12 01
  1. Journal: Statistics in Medicine
  2. Type of Article: Article
  3. ISSN: 0277-6715
  1. Abstract:

    For testing with paired data (eg, twins randomized between two treatments), a simple test is the sign test, where we test if the distribution of the sign of the differences in responses between the two treatments within pairs is more often positive (favoring one treatment) or negative (favoring the other). When the responses are binary, this reduces to a McNemar-type test, and the calculations are the same. Although it is easy to calculate an exact P-value by conditioning on the total number of discordant pairs, the accompanying confidence interval on a parameter of interest (proportion positive minus proportion negative) is not straightforward. Effect estimates and confidence intervals are important for interpretation because it is possible that the treatment helps a very small proportion of the population yet gives a highly significant effect. We construct a confidence interval that is compatible with an exact sign test, meaning the 100 (1-a)% interval excludes the null hypothesis of equality of proportions if and only if the associated exact sign test rejects at level a . We conjecture that the proposed confidence intervals guarantee nominal coverage, and we support that conjecture with extensive numerical calculations, but we have no mathematical proof to show guaranteed coverage. We have written and made available the function mcnemarExactDP in the exact2x2 R package and the function signTest in the asht R package to perform the methods described in this article. © 2020 John Wiley & Sons, Ltd.

    See More

External Sources

  1. DOI: 10.1002/sim.8829
  2. PMID: 33263202
  3. WOS: 000594584800001

Library Notes

  1. Fiscal Year: FY2020-2021
NCI at Frederick

You are leaving a government website.

This external link provides additional information that is consistent with the intended purpose of this site. The government cannot attest to the accuracy of a non-federal site.

Linking to a non-federal site does not constitute an endorsement by this institution or any of its employees of the sponsors or the information and products presented on the site. You will be subject to the destination site's privacy policy when you follow the link.

ContinueCancel