Create a featurebased contingency table from a matched object and calculate some summary scores with their standard errors.
1 2 3 4 5 6 7 8 9 10 
x 

object 
An object of class “FeatureTable”. 
fudge 
value added to denominators of scores to ensure no division by zero. Set to zero if this practice is not desired. 
hits.random 
If a different value for random hits in the caluclation of GSS than provided is desired, it can be given here. Default uses Eq (3) from Davis et al (2009). 
correct.negatives 
If a different value for correct negatives than provided is desired, it can be given here. Default uses Eq (4) from Davis et al (2009). 
fA 
numeric between zero and 1 giving the fraction of area occupied for the purpose of matching as in Davis et al (2009). 
alpha 
numeric between zero and one giving the (1  alpha) * 100 percent confidence level. 
... 
Additional arguments to 
This function takes an object of class “matched” and calculates a contingency table based on matched and unmatched objects. If no value for correct negatives is given, then it will also determine them based on Eq (3) from Davis et al (2009). The following contingency table scores and their standard errors (based on their usual traditional version) are returned. It should be noted that the standard errors may not be entirely meaningful because they do not capture the uncertainty associated with identiying, merging and matching features within the fields. Neverhteless, they are calculated here for investigative purposes. Note that hits are determined by number of matched objects, which for some matching algorithms can mean that features are matched more than once (e.g., if using centmatch
). In essence, this fact may artificially increase thenumber of hits. On the other hand, situations exist where such handling may be more appropriate than not having duplicate matches.
hits are determined by the total number of matched features.
false alarms are the total number of unmatched forecast features.
misses are the total number of unmatched observed features.
correct negatives are less obviously defined. If the user does not supply a value, then these are calculated according to Eq (4) in Davis et al (2009).
GSS: Gilbert skill score (aka Equitable Threat Score) based on Eq (2) of Davis et al (2009).
POD: probability of detecting an event (aka the hit rate).
false alarm rate: (aka probability of false detection) is the ratio of false alarms to the number of false alarms and correct negtives.
FAR: the false alarm ratio is the ratio of false alarms to the total forecast events (in this case, the total number of forecast features in the field).
HSS: Heidke skill score
The print
method function simply calls summary
, which prints the featurebased contingency table in addition to calling ci
. The confidence intervals are based on the normal approximation method using the estimated standard errors, which themselves are suspicious. In any case, the intervals can give a feel for some of the uncertainty associated with the scores, but should not be considered as solid.
A list with inherited attributes from x and components:
estimates 
named numeric vector giving the estimated scores. 
se 
named numeric vector giving the estimated standard errors of the scores. 
feature.contingency.table 
named numeric vector giving the featurebased contingency table. 
Standard error estimates are based on the univariate equivalent formulations, which do not account for uncertainties introduced in the feature identification, merging/clustering and matching. They should not be considered as legitimate, and resulting confidence intervals should be mistrusted.
Eric Gilleland
Davis, C. A., Brown, B. G., Bullock, R. G. and Halley Gotway, J. (2009) The Method for Objectbased Diagnostic Evaluation (MODE) applied to numerical forecasts from the 2005 NSSL/SPC Spring Program. Wea. Forecsting, 24, 1252–1267, DOI: 10.1175/2009WAF2222241.1.
To identify features in the fields: FeatureFinder
To match (and merge) features: centmatch
, deltamm
1 2 3  ##
## See help file for 'deltamm' for examples.
##

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.