ecospat.cohen.kappa

0th

Percentile

Cohen's Kappa

Calculates Cohen's kappa and variance estimates, within a 95 percent confidence interval.

Usage
ecospat.cohen.kappa(xtab)
Arguments
xtab
A symmetric agreement table.
Details

The argument xtab is a contingency table. xtab <- table(Pred >= th, Sp.occ)

Value

A list with elements 'kap', 'vark', 'totn' and 'ci' is returned. 'kap' is the cohen's kappa, 'vark' is the variance estimate within a 95 percent confidence interval, 'totn' is the number of plots and 'ci' is the confidence interval.

References

Bishop, Y.M.M., S.E. Fienberg and P.W. Holland. 1975. Discrete multivariate analysis: Theory and Practice. Cambridge, MA: MIT Press. pp. 395-397.

Pearce, J. and S. Ferrier. 2000. Evaluating the predictive performance of habitat models developed using logistic regression. Ecol. Model., 133, 225-245.

See Also

ecospat.meva.table, ecospat.max.tss, ecospat.plot.tss, ecospat.plot.kappa, ecospat.max.kappa

Aliases
  • ecospat.cohen.kappa
Examples
Pred <- ecospat.testData$glm_Agrostis_capillaris
Sp.occ <- ecospat.testData$Agrostis_capillaris
th <- 0.39 # threshold
xtab <- table(Pred >= th, Sp.occ)

ecospat.cohen.kappa(xtab)
Documentation reproduced from package ecospat, version 2.0, License: GPL

Community examples

Looks like there are no examples yet.