Click or drag to resize
BinaryContingencyTableMcNemarTest Method
Performs a McNemar test.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: (
public TestResult McNemarTest()

Return Value

Type: TestResult
The result of the test.

McNemar's test is appropriate to a rather specialized circumstance, so if you aren't sure this is the right test, it probably isn't.

The circumstance to which McNemar's test applies is paired binary measurements. Each member of a set is measured twice, once before and once after some treatment, and each measurement has a binary outcome. McNemar's test can be used to determine whether the treatment had any systematic effect. The null hypothesis is that it the not, i.e. that any discrepancies between the first and second measurements were random.

See Also