Content Disclaimer
Copyright @2020.
All Rights Reserved.

StatsToDo: McNemar Test for Paired Changes in Proportions

Links : Home Index (Subjects) Contact StatsToDo



Explanations and References Javascript Programs
McNemar's Test

Data Entry

The data is in two columns separated by white spaces

  • Each row is a sepaqrate test
  • Column 1 is b(n-+)
  • Column 2 is c(n+-)
Sample Size and Power
Input Data

Sample Size:
Power:
Sample Size Calculation : The data is in 4 columns.
    - Each row a separate study
    - Col 1 = probability of Type I error (α)
    - Col 2 = power (1-β)
    - Col 3 = proportion of total expected to switch from + to -
    - Col 4 = proportion of total expected to switch from - to +

Power Estimation : The data is in 4 columns.
    - Each row a separate study
    - Col 1 = probability of Type I error (α)
    - Col 2 = sample size used (number of pairs)
    - Col 3 = observed proportion of total that switched from + to -
    - Col 4 = observed proportion of total that switched from - to +

R Code