Represents a McNemar test on paired proportions.
SystemObject Extreme.Statistics.TestsHypothesisTest Extreme.Statistics.TestsMcNemarTest
Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16073.0)
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.
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.
Supported in: 6.0, 5.x, 4.x