McNemar paired proportion test calculator

Calculate exact two-sided McNemar p value and discordant pair count with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use exact two-sided McNemar p value and discordant pair count to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Discordant pairs b
12
Discordant pairs c
4
Exact two-sided McNemar p value
0.076813
Discordant pair count
16

Try another scenario

Discordant pairs b
13
Discordant pairs c
4
Exact two-sided McNemar p value
0.049042
Discordant pair count
17
Calculation method

Calculation method

Exact two-sided McNemar p value

Exact conditional binomial n=b+c, p=.5; twice lower tail min(b,c), capped1.

Discordant pair count

Exact conditional binomial n=b+c, p=.5; twice lower tail min(b,c), capped1.

Symbols and units
a
Discordant pairs b
b
Discordant pairs c

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Calculation uses the entered values and stated mathematical model; quantities must use the labelled units. Supported limits: All required fields must be finite values of the exact declared type and within displayed bounds. Lists contain1–1000 finite numbers. JSON tables are numeric rectangular rows, at most100 rows and30 columns; individual tools have stricter shape/domain constraints. Exact conditional binomial n=b+c, p=.5; twice lower tail min(b,c), capped1.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Further reading

Method reference ↗

Background reading; this does not imply endorsement or independent review of SumFizz.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.