Click or drag to resize

BinaryContingencyTableOperationsMcNemarTest Method

Performs a McNemar test.

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

Return Value

Type: TestResult
The result of the test.
Remarks

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 does not, i.e. that any discrepancies between the first and second measurements were random.

See Also