Description Usage Arguments Value Note Author(s) References Examples
This core function is used for calculation the geographically weighted error diagnostic measures of mean signed deviation, mean absolute error, root mean squared error, and Pearson's correlation coefficient between two variables (predicted and reference values) The function is designed from cov.wt function from the stats package.
1 | error_diagnostics(x, wts.all, center = TRUE)
|
x |
a matrix or data frame. As usual, rows are observations and columns are variables. |
wts.all |
a non-negative and non-zero vector of weights for each observation. Its length must equal the number of rows of x. |
center |
either a logical or a numeric vector specifying the centers to be used when computing. If TRUE, the (weighted) mean of each variable is used, if FALSE, zero is used. If center is numeric, its length must equal the number of columns of x. |
rmse |
root mean squared error |
mae |
mean absolute error |
difference |
mean signed deviation |
calc.pointn |
The number of point used for the calculation |
calc.cor.test |
Pearson's correlation coefficient |
cor.pval |
P-value of Pearson's correlation |
See the paper above for the details.
Tsutsumida N.
Tsutsumida N., RodrÃguez-Veiga P., Harris P., Balzter H., Comber A. Investigating Spatial Error Structures in Continuous Raster Data, accepted, International Journal of Applied Earth Observation and Geoinformation.
1 | #TBD
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.