SPE: Calculate the sum of the positive error for a data set

Description Usage Arguments Value See Also

Description

SPE calculates the sum of the positive difference between two values (actual - predicted), or the SPE. Any observations or predicted values that are NA are removed. This can be considered the sum of the underprediction

Usage

1
SPE(y, ymod)

Arguments

y

the actual (observed) value

ymod

the modelled (predicted) value

Value

a single value of the SPE

See Also

GetErrorMetrics


AndyClifton/PowerPerformance documentation built on May 5, 2019, 6 a.m.