Skip to content
Prev 29535 / 29559 Next

idw() fails to produce an 'error map' with canonical data set meuse

Hi Jochen!

As far as I know, the idw estimator is just a weighted average of the 
observed quantities (log(zinc) in your example), where the weights are 
the square distances among the points. Such estimator does not provide 
an estimate of the prediction variance, therefore var1.var is always NA.

See also [1, Chapter 8] for more details

Hope that helps

Andrea

[1]?Bivand, R. S., Pebesma, E. J., & Gomez-Rubio, V. (2013). /Applied 
spatial data analysis with R/ (2nd ed.). Springer.
On 11/7/2025 5:31 PM, Jochen Albrecht wrote: