Enter the values of b and c into the calculator to determine chi-squared using the Mcnemar test.

## Mcnemar Test Formula

The following formula is the Mcnemar test for calculating chi-squared.

X^2 = (b-c) ^2 / (b+c)

- Where X^2, chi-square, is the relationship between data sets.
- b and c are the values of bc and c in a 2×2 contingency table

A | B |

C | D |

## Mcnemar Test Definition

A mcnemar test is a formula used for calculating the chi-square value between two tests. This value shows the relationship between those two tests in how closely they match each other.

## Example

How to perform Mcnemar Test?

**First, determine the values of B and C.**Set up your 2×2 contingency table between experiments and measure the values of B and C.

**Next, calculate chi-squared.**Calculate X^2 using the formula above.

## FAQ

**What is chi-squared?**

Chi-squared, also known as X^2, is the value of the test statistic between experiments or tests.