xskillscore.Contingency.correct_negatives

Contingency.correct_negatives(yes_category=2)

Returns the number of correct negatives (true negatives) for dichotomous contingency data.

Parameters

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

Returns

An array containing the number of correct negatives

Return type

xarray.Dataset or xarray.DataArray

References

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