powered by
Calculates scalar measures of accuracy.
Accuracy(obs_est, conf.int = "Yes", sig.level = 0.95)
An object of class PowerSDI.Accuracy, a list, which contains:
PowerSDI.Accuracy
list
Absolute mean error (AME),
square root of the mean squared error (RMSE),
Willmott's indices of agreement:
original (dorig),
modified (dmod) and
refined (dref)
Pearson determination coefficient (R2), and
if conf.int = "Yes", confidence intervals.
conf.int = "Yes"
A 2-column matrix. The reference or observed and the estimated or predicted data. See ObsEst object as an example.
ObsEst
A character variable (Yes or No) defining if the function must calculate confidence intervals. Default is “Yes”.
Yes
No
A numeric variable (between 0.90 and 0.95) defining the significance level for parameter the confidence intervals. Default is 0.95.
a <- Accuracy(obs_est = ObsEst, conf.int = "No") a # A generic plotting method is also supplied plot(a)
Run the code above in your browser using DataLab