Represents a McNemar test on paired proportions.
SystemObject Extreme.Statistics.TestsHypothesisTest Extreme.Statistics.TestsMcNemarTest
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public sealed class McNemarTest : HypothesisTest
Public NotInheritable Class McNemarTest
public ref class McNemarTest sealed : public HypothesisTest
type McNemarTest =
The McNemarTest type exposes the following members.
Constructs a new McNemarTest.
Use the McNemarTest class to test the hypothesis that
the proportions of one of two outcomes are the same in two samples.
The data for the test must be provided as
ICategoricalVector objects in the constructor.
The CategoryIndex of each variable must have two levels.
The scales will often be the same, but this is not necessary.
The two samples must also have the same number of observations.
This test assumes that the number of observations with different outcomes
for each variable is large enough. Otherwise, the approximation of
a Chi-square distribution no longer holds.