Represents a McNemar test on paired proportions.
SystemObject Extreme.Statistics.TestsHypothesisTest Extreme.Statistics.TestsMcNemarTest
Namespace:
Extreme.Statistics.Tests
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public sealed class McNemarTest : HypothesisTest
Public NotInheritable Class McNemarTest
Inherits HypothesisTest
public ref class McNemarTest sealed : public HypothesisTest
[<SealedAttribute>]
type McNemarTest =
class
inherit HypothesisTest
end
The McNemarTest type exposes the following members.
| Name | Description |
---|
 | McNemarTest |
Constructs a new McNemarTest.
|
Top
Top
Top
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.
Reference