Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

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