KappaTest Constructor (GeneralConfusionMatrix, Double, OneSampleHypothesis)
Creates a new Kappa test.
Accord.Statistics (in Accord.Statistics.dll) Version: 3.7.0
Syntax Request Example
OneSampleHypothesis alternate = OneSampleHypothesis.ValueIsDifferentFromHypothesis
Public Sub New (
matrix As GeneralConfusionMatrix,
hypothesizedKappa As Double,
Optional alternate As OneSampleHypothesis = OneSampleHypothesis.ValueIsDifferentFromHypothesis
- Type: Accord.Statistics.AnalysisGeneralConfusionMatrix
The contingency table to test.
- Type: SystemDouble
The hypothesized value for the Kappa statistic. If the test
is being used to assert independency between two raters (i.e. testing the null hypothesis
that the underlying Kappa is zero), then the
standard error will be computed with the null hypothesis parameter set to true.
- alternate (Optional)
- Type: Accord.Statistics.TestingOneSampleHypothesis
The alternative hypothesis (research hypothesis) to test. If the
hypothesized kappa is left unspecified, a one-tailed test will be used. Otherwise, the
default is to use a two-sided test.