Click or drag to resize
Accord.NET (logo)

KappaTestAsymptoticKappaVariance Method (WeightedConfusionMatrix, Double, Boolean)

Computes the asymptotic variance for Fleiss's Kappa variance using the formulae by (Fleiss et al, 1969). If nullHypothesis is set to true, the method will return the variance under the null hypothesis.

Namespace:  Accord.Statistics.Testing
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static double AsymptoticKappaVariance(
	WeightedConfusionMatrix matrix,
	out double stdDev,
	bool nullHypothesis = false
)
Request Example View Source

Parameters

matrix
Type: Accord.Statistics.AnalysisWeightedConfusionMatrix
A GeneralConfusionMatrix representing the ratings.
stdDev
Type: SystemDouble
Kappa's standard deviation.
nullHypothesis (Optional)
Type: SystemBoolean
True to compute Kappa's variance when the null hypothesis is true (i.e. that the underlying kappa is zer). False otherwise. Default is false.

Return Value

Type: Double
Kappa's variance.
See Also