GOF {phenofit} | R Documentation |
GOF
Description
Good of fitting
Usage
GOF(Y_obs, Y_sim, w, include.r = TRUE, include.cv = FALSE)
Arguments
Y_obs |
Numeric vector, observations |
Y_sim |
Numeric vector, corresponding simulated values |
w |
Numeric vector, weights of every points. If w included, when calculating mean, Bias, MAE, RMSE and NSE, w will be taken into considered. |
include.r |
If true, r and R2 will be included. |
include.cv |
If true, cv will be included. |
Value
-
RMSE
root mean square error -
NSE
NASH coefficient -
MAE
mean absolute error -
AI
Agreement index (only good points (w == 1)) participate to calculate. See details in Zhang et al., (2015). -
Bias
bias -
Bias_perc
bias percentage -
n_sim
number of valid obs -
cv
Coefficient of variation -
R2
correlation of determination -
R
pearson correlation -
pvalue
pvalue ofR
References
Zhang Xiaoyang (2015), http://dx.doi.org/10.1016/j.rse.2014.10.012
Examples
Y_obs = rnorm(100)
Y_sim = Y_obs + rnorm(100)/4
GOF(Y_obs, Y_sim)
[Package phenofit version 0.3.9 Index]