data_to_pred: A numeric vector of data to predict about a response
probject: A Geokrig object obtained using the function Geokrig
pred: A numeric vector with predictions for the response.
mse: a numeric vector with prediction variances.
score: A character defining what statistic of the prediction errors should be computed. Possible values are lscore, crps, brie and pe. In the latter case scores based on prediction errors such as rmse, mae, mad are computed. Finally, the character pit allows to compute the probability integral transform for each value
Details
GeoScores computes the items required to evaluate the diagnostic criteria proposed by Gneiting et al. (2007) for assessing the calibration and the sharpness of probabilistic predictions of (cross-) validation data. To this aim, GeoScores uses the assumption that the prediction errors are Gaussian with zero mean and standard deviations equal to the Kriging standard errors. This assumption is an approximation if the errors are not Gaussian.
Returns
Returns a list containing the following informations: - LSCORE: Logarithmic predictive score
CRPS: Continuous ranked probability predictive score
RMSE: Root mean squared error
MAE: Mean absolute error
MAD: Median absolute error
PIT: A vector of probability integral transformation
References
Gneiting T. and Raftery A. Strictly Proper Scoring Rules, Prediction, and Estimation. Journal of the American Statistical Association, 102