Description Usage Arguments Details Value Author(s) References Examples
Calculates the Nash Suttcliffe Efficiency coefficient.
1 2 |
modelled |
Vector with modeled data |
measured |
Vector with measured data |
weigth |
If this vector is supplied, each data point is weighted accordingly |
The weighting corresponds to the value in the empirical cumulative distribution function.
Returns a scalar between -Inf and 1 corresponding to the agreement between measured and modelled data. 0 means the model agrees equally well as the mean value.
Dominik Reusser
http://en.wikipedia.org/wiki/Nash-Sutcliffe_efficiency_coefficient
1 2 3 | ref.peak <- synth.peak(rise.factor=2, recession.const=0.02)
peak <- synth.peak(rise.factor=2, recession.const=0.03)
nashS(modelled=peak, measured=ref.peak)
|
Loading required package: e1071
Loading required package: hexbin
Loading required package: qualV
Loading required package: KernSmooth
KernSmooth 2.23 loaded
Copyright M. P. Wand 1997-2009
Loading required package: klaR
Loading required package: MASS
Loading required package: som
[,1]
[1,] 0.8906127
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.