Learn R Programming

verification (version 1.35)

table.stats: Verification statistics for a 2 by 2 Contingency Table

Description

Provides a variety of statistics for a data summarized in a 2 by 2 contingency table.

Usage

table.stats(obs, pred,silent = FALSE)

Arguments

obs
Either a vector of contingency table counts, a vector of binary observations, or a 2 by 2 matrix in the form of a contingency table. (See note below.)
pred
Either null or a vector of binary forecasts.
silent
Should warning statements be surpressed.

Value

  • tab.outContingency table
  • TSThreat score a.k.a. Critical success index (CSI)
  • TS.seStandard Error for TS
  • PODHit Rate aka probability of detection
  • POD.seStandard Error for POD
  • MMiss rate
  • FFalse Alarm RATE
  • F.seStandard Error for F
  • FARFalse Alarm RATIO
  • FAR.seStandard Error for FAR
  • HSSHeidke Skill Score
  • HSS.seStandard Error for HSS
  • PSSPeirce Skill Score
  • PSS.seStandard Error for PSS
  • KSSKuiper's Skill Score
  • PCPercent correct - events along the diagonal.
  • PC.seStandard Error for PC
  • BIASBias
  • ETSEquitable Threat Score
  • ETS.seStandard Error for ETS
  • thetaOdds Ratio
  • log.thetaLog Odds Ratio
  • LOR.seStandard Error for Log Odds Ratio
  • n.hDegrees of freedom for log.theta
  • orssOdds ratio skill score, aka Yules's Q
  • ORSS.seStandard Error for Odds ratio skill score
  • edsExtreme Dependency Score
  • esd.seStandard Error for EDS
  • sedsSymmetric Extreme Dependency Score
  • seds.seStandard Error for Symmetric Extreme Dependency Score
  • EDIExtreme Dependency Index
  • EDI.seStandard Error for EDI
  • SEDISymmetric EDI
  • SEDI.seStandard Error for SEDI

References

Jolliffe, I.T. and D.B. Stephenson (2003). Forecast verification: a practitioner's guide in atmospheric science. John Wiley and Sons. See chapter 3 concerning categorical events.

Stephenson, D.B. (2000). "Use of `Odds Ratio for Diagnosing Forecast Skill." Weather and Forecasting 15 221-232.

Hogan, R.J., O'Connor E.J. and Illingworth, 2009. "Verification of cloud-fraction forecasts." Q.J.R. Meteorol. Soc. 135, 1494-1511.

See Also

verify and multi.cont

Examples

Run this code
DAT<- matrix(c(28, 23, 72, 2680 ), ncol = 2) ## Finley
table.stats(DAT)

Run the code above in your browser using DataLab