table.stats {verification}R Documentation

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.out

Contingency table

TS

Threat score a.k.a. Critical success index (CSI)

POD

Hit Rate aka probability of detection

M

Miss rate

F

False Alarm RATE

FAR

False Alarm RATIO

HSS

Heidke Skill Score

PSS

Peirce Skill Score

KSS

Kuiper's Skill Score

PC

Percent correct - events along the diagonal.

BIAS

Bias

ETS

Equitable Threat Score

theta

Odds Ratio

log.theta

Log Odds Ratio

n.h

Degrees of freedom for log.theta

orss

Odds ratio skill score, aka Yules's Q

eds

Extreme Dependency Score

seds

Symmetric Extreme Dependency Score

seds.se

Standard Error for Symmetric Extreme Dependency Score

Note

Initially, table.stats was an internal function used by verify for binary events and multi.cont for categorical events. But occassionally, it is nice to use it directly.

Author(s)

Matt Pocernich <pocernic@rap.ucar.edu>

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


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


 

[Package verification version 1.31 Index]