| 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
-
RMSEroot mean square error -
NSENASH coefficient -
MAEmean absolute error -
AIAgreement index (only good points (w == 1)) participate to calculate. See details in Zhang et al., (2015). -
Biasbias -
Bias_percbias percentage -
n_simnumber of valid obs -
cvCoefficient of variation -
R2correlation of determination -
Rpearson correlation -
pvaluepvalue 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]