GOF_nash_sutcliffe_efficiency function

Calculate Nash--Sutcliffe Efficiency (NSE)

Calculate Nash--Sutcliffe Efficiency (NSE)

Calculate Nash--Sutcliffe Efficiency (NSE) (with options for modified NSE) between modeled (simulated) and observed values.

GOF_nash_sutcliffe_efficiency(mod, obs, j = 2, na.rm = TRUE)

Arguments

  • mod: 'numeric' vector. Modeled or simulated values. Must be same length as obs.
  • obs: 'numeric' vector. Observed or comparison values. Must be same length as mod.
  • j: 'numeric' value. Exponent value for modified NSE (mNSE) equation. Default value is j = 2, which is traditional NSE equation.
  • na.rm: 'boolean' TRUE or FALSE. Should NA values be removed before computing. If any NA values are present in mod or obs, the ith position from each will be removed before calculating. If NA values are present and na.rm = FALSE, then function will return NA. Default is TRUE.

Returns

Value of computed NSE or mNSE.

Examples

GOF_nash_sutcliffe_efficiency( mod = example_mod$streamflow_cfs, obs = example_obs$streamflow_cfs )

References

Krause, P., Boyle, D.P., and Base, F., 2005. Comparison of different efficiency criteria for hydrological model assessment: Advances in Geosciences, v. 5, p. 89-97.

[Also available at https://doi.org/10.5194/adgeo-5-89-2005.]

Legates D.R and McCabe G.J., 1999, Evaluating the use of "goodness-of-fit" measures in hydrologic and hydroclimatic model validation: Water Resources Research. v. 35, no. 1, p. 233-241. [Also available at https://doi.org/10.1029/1998WR900018.]

Nash, J.E. and Sutcliffe, J.V., 1970, River flow forecasting through conceptual models part I: A discussion of principles: Journal of Hydrology, v. 10, no. 3, p. 282-290. [Also available at https://doi.org/10.1016/0022-1694(70)90255-6.]

  • Maintainer: Colin Penn
  • License: CC0
  • Last published: 2024-08-28