xskillscore.Contingency.equit_threat_score

Contingency.equit_threat_score(yes_category=2)

Returns the equitable threat score(s) for dichotomous contingency data.

\[ETS = \frac{hits - hits_{random}} {hits + misses + \mathrm{false~alarms} - hits_{random}}\]
\[hits_{random} = \frac{(hits + misses (hits + \mathrm{false~alarms})}{total}\]
Parameters

yes_category (value, optional) – The category coordinate value of the category corresponding to ‘yes’

Returns

An array containing the equitable threat score(s)

Return type

xarray.Dataset or xarray.DataArray

References

https://www.cawcr.gov.au/projects/verification/#Contingency_table