| precision {gmGeostats} | R Documentation |
Precision calculations
Description
Precision calculations
Usage
precision(x, ...)
## S3 method for class 'accuracy'
precision(x, ...)
Arguments
x |
an object from which precision is to be computed |
... |
generic functionality, not used |
Value
output depends on input and meaning of the function (the term precision
is highly polysemic)
Methods (by class)
-
accuracy: Compute precision and goodness for accuracy curves, after Deutsch (1997), using the accuracy curve obtained withaccuracy(). This returns a named vector with two values, one forprecisionand one forgoodness.Mean accuracy, precision and goodness were defined by Deutsch (1997) for an accuracy curve
\{(p_i, \pi_i), i=1,2, \ldots, I\}, where\{p_i\}are a sequence of nominal confidence of prediction intervals and each\pi_iis the actual coverage of an interval with nominal confidencep_i. Out of these values, the mean accuracy (seemean.accuracy()) is computed asA = \int_{0}^{1} I\{(\pi_i-p_i)>0\} dp,where the indicator
I\{(\pi_i-p_i)>0\}is 1 if the condition is satisfied and 0 otherwise. Out of it, the area above the 1:1 bisector and under the accuracy curve is the precisionP = 1-2\int_{0}^{1} (\pi_i-p_i)\cdot I\{(\pi_i-p_i)>0\} dp,which only takes into account those points of the accuracy curve where\pi_i>p_i. To consider the whole curve, goodness can be usedG = 1-\int_{0}^{1} (\pi_i-p_i)\cdot (3\cdot I\{(\pi_i-p_i)>0\}-2) dp.
See Also
Other accuracy functions:
accuracy(),
mean.accuracy(),
plot.accuracy(),
validate(),
xvErrorMeasures.default(),
xvErrorMeasures()