KappaTest Class 
Namespace: Accord.Statistics.Testing
The KappaTest type exposes the following members.
Name  Description  

KappaTest(GeneralConfusionMatrix, OneSampleHypothesis) 
Creates a new Kappa test.
 
KappaTest(Double, Double, OneSampleHypothesis) 
Creates a new Kappa test.
 
KappaTest(GeneralConfusionMatrix, Double, OneSampleHypothesis) 
Creates a new Kappa test.
 
KappaTest(WeightedConfusionMatrix, Double, OneSampleHypothesis) 
Creates a new Kappa test.
 
KappaTest(Double, Double, Double, OneSampleHypothesis) 
Creates a new Kappa test.

Name  Description  

Analysis 
Gets the power analysis for the test, if available.
(Inherited from ZTest.)  
Confidence 
Gets the 95% confidence interval for the EstimatedValue.
(Inherited from ZTest.)  
CriticalValue 
Gets the critical value for the current significance level.
(Inherited from HypothesisTestTDistribution.)  
EstimatedValue 
Gets the estimated value, such as the mean estimated from a sample.
(Inherited from ZTest.)  
Hypothesis 
Gets the alternative hypothesis under test. If the test is
Significant, the null hypothesis can be rejected
in favor of this alternative hypothesis.
(Inherited from ZTest.)  
HypothesizedValue 
Gets the hypothesized value.
(Inherited from ZTest.)  
PValue 
Gets the Pvalue associated with this test.
(Inherited from HypothesisTestTDistribution.)  
Significant 
Gets whether the null hypothesis should be rejected.
(Inherited from HypothesisTestTDistribution.)  
Size 
Gets the significance level for the
test. Default value is 0.05 (5%).
(Inherited from HypothesisTestTDistribution.)  
StandardError 
Gets the standard error of the estimated value.
(Inherited from ZTest.)  
Statistic 
Gets the test statistic.
(Inherited from HypothesisTestTDistribution.)  
StatisticDistribution 
Gets the distribution associated
with the test statistic.
(Inherited from HypothesisTestTDistribution.)  
Tail 
Gets the test type.
(Inherited from HypothesisTestTDistribution.)  
Variance 
Gets the variance of the Kappa statistic.

Name  Description  

AsymptoticKappaVariance(GeneralConfusionMatrix) 
Computes the asymptotic variance for Fleiss's Kappa variance using the formulae
by (Fleiss et al, 1969) when the underlying Kappa is assumed different from zero.
 
AsymptoticKappaVariance(GeneralConfusionMatrix, 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.
 
AsymptoticKappaVariance(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.
 
Compute(Double, OneSampleHypothesis) 
Computes the Z test.
(Inherited from ZTest.)  
Compute(Double, Double, Double, OneSampleHypothesis) 
Computes the Z test.
(Inherited from ZTest.)  
DeltaMethodKappaVariance(GeneralConfusionMatrix) 
Compute Cohen's Kappa variance using the large sample approximation
given by Congalton, which is common in the remote sensing literature.
 
DeltaMethodKappaVariance(GeneralConfusionMatrix, Double) 
Compute Cohen's Kappa variance using the large sample approximation
given by Congalton, which is common in the remote sensing literature.
 
Equals  Determines whether the specified object is equal to the current object. (Inherited from Object.)  
Finalize  Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)  
GetConfidenceInterval 
Gets a confidence interval for the EstimatedValue
statistic within the given confidence level percentage.
(Inherited from ZTest.)  
GetHashCode  Serves as the default hash function. (Inherited from Object.)  
GetType  Gets the Type of the current instance. (Inherited from Object.)  
MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)  
OnSizeChanged  Update event. (Inherited from ZTest.)  
PValueToStatistic(Double) 
Converts a given pvalue to a test statistic.
(Inherited from ZTest.)  
StatisticToPValue(Double) 
Converts a given test statistic to a pvalue.
(Inherited from ZTest.)  
ToString 
Converts the numeric PValue of this test to its equivalent string representation.
(Inherited from HypothesisTestTDistribution.)  
ToString(String, IFormatProvider) 
Converts the numeric PValue of this test to its equivalent string representation.
(Inherited from HypothesisTestTDistribution.) 
Name  Description  

HasMethod 
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)  
IsEqual 
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.)  
To(Type)  Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)  
ToT  Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) 
The Kappa test tries to assert whether the Kappa measure of a a contingency table, is significantly different from another hypothesized value.
The computations used by the test are the same found in the 1969 paper by J. L. Fleiss, J. Cohen, B. S. Everitt, in which they presented the finally corrected version of the Kappa's variance formulae. This is contrast to the computations traditionally found in the remote sensing literature. For those variance computations, see the DeltaMethodKappaVariance(GeneralConfusionMatrix) method.
This is a ztest kind of test.
References: