M

McNemar’s Test

McNemar's Test is a statistical test used for paired nominal data to assess changes in responses.

McNemar’s Test

McNemar’s Test is a statistical method used to analyze paired 名義尺度データ, specifically when you want to evaluate the differences in responses from the same subjects under two different conditions. This test is particularly useful in situations where you have a binary outcome (yes/no, success/failure) measured before and after an intervention or treatment.

The primary purpose of McNemar’s Test is to determine if there are significant changes in the proportions of categorical responses. It is often applied in clinical trials, surveys, and other studies where participants are assessed twice. For example, it can be used to analyze whether patients’ conditions improved after a certain treatment.

To perform McNemar’s Test, you typically create a 2×2 コンティンジェンシーテーブル 次のカテゴリーの結果のカウントを要約した

  • 介入前も後も陽性だった被験者の数。
  • 介入前は陽性で、後は陰性だった被験者の数。
  • 介入前は陰性で、後は陽性だった被験者の数。
  • 介入前も後も陰性だった被験者の数。

McNemar’s Test specifically focuses on the discordant pairs (those who changed their responses) and uses the formula:

χ² = (b – c)² / (b + c)

where b is the count of subjects who changed from positive to negative, and c is the count of those who changed from negative to positive. The resulting chi-square value can be compared to a critical value from the カイ二乗分布 統計的有意性を判断するために。

In summary, McNemar’s Test is a valuable tool for researchers analyzing the effects of interventions on binary outcomes, helping to clarify whether observed changes in data are statistically significant.

コントロール + /