The function computes RMSE, MAE, LSCORE, CRPS predictive scores based on drop-one prediction for a spatial, spatiotemporal and bivariate Gaussian RFs
UTF-8
GeoDoScores(data, method="cholesky", matrix)
Arguments
data: A d-dimensional vector (a single spatial realisation) or a a(txd)-matrix (a single spatial-temporal realisation). or a a(2xd)-matrix (a single bivariate realisation).
method: String; the type of matrix decomposition used in the computation of the predictive scores. Default is cholesky. The other possible choices is svd.
matrix: An object of class GeoCovmatrix. See the Section Details .
Details
For a given covariance matrix object (GeoCovmatrix) and a given spatial, spatiotemporal or bivariare realization from a Gaussian random field, the function computes four predictive scores based on drop-one prediction.
Returns
Returns a list containing the following informations: - RMSE: Root-mean-square error predictive score
MAE: Mean absolute error predictive score
LSCORE: Logarithmic predictive score
CRPS: Continuous ranked probability predictive score
References
Zhang H. and Wang Y. (2010). Kriging and cross-validation for massive spatial data. Environmetrics, 21 , 290--304. Gneiting T. and Raftery A. Strictly Proper Scoring Rules, Prediction, and Estimation. Journal of the American Statistical Association, 102