|
KappaTest Constructor (WeightedConfusionMatrix, Double, OneSampleHypothesis)
|
Creates a new Kappa test.
Namespace:
Accord.Statistics.Testing
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public KappaTest(
WeightedConfusionMatrix matrix,
double hypothesizedWeightedKappa,
OneSampleHypothesis alternate = OneSampleHypothesis.ValueIsDifferentFromHypothesis
)
Public Sub New (
matrix As WeightedConfusionMatrix,
hypothesizedWeightedKappa As Double,
Optional alternate As OneSampleHypothesis = OneSampleHypothesis.ValueIsDifferentFromHypothesis
)
Request Example
View SourceParameters
- matrix
- Type: Accord.Statistics.AnalysisWeightedConfusionMatrix
The contingency table to test. - hypothesizedWeightedKappa
- 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.
See Also