1

I am using the 'krige.cv' function from the gstat toolbox in R. It does not take any 'newdata' as input for prediction ( as in universal kriging). How can I predict using the fitted model from this krige.cv function?

1

Well cross validation is a method to help test your models when you do not have enough data to separate into train and validation datasets. So by doing k-fold cross validation you can see how the performance of your model varies as the training/validation data partitions are changed.

If you are happy with the CV performance, then just implement using the krige function or gstat and predict (noting the quote from the vingette below)

Function krige is a simple wrapper method around gstat and predict for univariate kriging predic- tion and conditional simulation methods available in gstat. For multivariate prediction or simulation, or for other interpolation methods provided by gstat (such as inverse distance weighted interpolation or trend surface interpolation) use the functions gstat and predict directly.

  • if I'm happy with the CV performance, how to implement using the krige function? – user121 Nov 16 '17 at 12:31
  • or how can I use the CV model with gstat/predict? – user121 Nov 16 '17 at 15:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.