GKappaW: Inference of the statistic Weight Kappa

Description Usage Arguments Details Value References Examples

View source: R/GKappaW.R

Description

General function that groups the inference of the statistic Weight Kappa. This function is made up of: the statistic Weight Kappa, the standard deviation is the square root of the Weight Kappa variance, the coeficiente de variacion....

Usage

1
GKappaW(object, MP)

Arguments

object

a coMa object (confusion matrix object)

MP

a matrix of weights of dimensions k \times k

Details

...

Value

GKappaW returns a list with the following elements:

References

COMPLETAR

Examples

1
2
3
4
5
6
#Let evaluate the inference of statistic Weight Kappa.
## Confusion matrix included in Congalton and Green (2009), pg. 108.
x <- coMa(cbind(c(65,6,0,4),c(4,81,11,7),c(22,5,85,3),c(24,8,19,90)))
MP <- cbind(c(1,0,1,0.91),c(0,1,0,0),c(0.67,0,1,0.61),c(1,0,1,1))
## Inference of statistic Weight Kappa
InfKappa <- GKappaW(x,MP)

ujaen-statistics/ThemAAs documentation built on Nov. 5, 2019, 11:03 a.m.