Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

McNemar Paired Discordance

Inspect corrected and uncorrected McNemar statistics from paired discordant outcomes.

Statistics workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaChi Square = (b-c)**2/(b+c); Corrected Chi Square = max(0,abs(b-c)-1)**2/(b+c); Discordant = b+c
Sources and model references

Worked example

Inputs

Positive then negative
20 count
Negative then positive
10 count

Expected results

Chi Square
3.333333333 number
Corrected Chi Square
2.7 number
Discordant
30 count

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter the labeled inputs using consistent units.
  2. Check the stated assumptions and calculate.
  3. Review each output and compare another input scenario.

Try this example

{
  "b": 20,
  "c": 10
}

Accuracy and scope

Asymptotic statistics only; exact binomial inference is preferable with few discordant pairs. Finite floating-point arithmetic; results can lose precision near singular or extreme inputs.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.