GOA: Inference of the statistic Overall Accuraccy

Description Usage Arguments Details Value References Examples

View source: R/GOA.R

Description

General function that groups the inference of the statistic Overal Accuraccy. This function is made up of: the statistic Overal Accuraccy for a particular classified image/map is then calculated by dividing the sum of the entries that form the major diagonal (i.e., the number of correct classifications) by the total number of samples taken, the Overal Accuraccy variance and the confidence interval for Overal Accuraccy statistic to confidence level 95 % by default.

Usage

1
GOA(object, alpha)

Arguments

object

a coMa object (confusion matrix object)

alpha

Significance level

Details

The method is to divide the sum of the major diagonal by the total number of the sample.

Value

GOA returns a list with the following elements:

References

Story, M., & Congalton, R. G. (1986). Accuracy assessment: A user's perspective. Photogrammetric Engineering and Remote Sensing, 52, 397-399.

Examples

1
2
3
4
5
#Let evaluate the inference of statistic Tau.
## 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)))
## Inference of statistic Overall Accuraccy
InfOA <- GOA(x, 0.02) # By default alpha = 0.05

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