McNemar检验计算器

执行McNemar检验,分析配对二分类数据中的变化是否具有统计学显著性,适用于前后对比研究设计。

McNemar chi-sq (continuity)

4.0500

McNemar chi-sq (no continuity)5.0000
Total Discordant20

McNemar chi-sq (continuity) vs Discordant b (+ then -)

公式

McNemar Test

chi2 = (b-c-1)^2 / (b+c)

For paired binary outcomes. Only discordant pairs matter.

计算示例

b=15, c=5.

  1. 01chi2 = 81/20 = 4.05
  2. 02df=1, significant at 0.05

常见问题

When?

Paired binary data like before/after.

Why only discordant?

Concordant pairs give no info about change.

Small samples?

Use exact binomial if b+c < 25.

学习

Understanding the Normal Distribution

相关计算器