Skip to content
Prev 29536 / 29559 Next

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

Thank you for the prompt response, Andrea. You pointed me in the right
direction. The crucial sentence in the Bivand et al. volume is "*The output
variable is called var1.pred, and the var1.var values are NA because
inverse distance does not provide prediction error variances.*"
I got confused by the fact that gstat tries to be consistent in its model
output across all interpolation methods. The var1.var column is a
placeholder to ensure the output object is standard for the whole package,
but it is empty because IDW is a non-statistical, exact interpolation
algorithm that doesn't account for prediction uncertainty.
Cheers,
        Jochen

Dr. Jochen Albrecht, GISP (he/him/his)

Department of Geography and Environmental Science
<http://www.geo.hunter.cuny.edu/>

Hunter College CUNY

695 Park Avenue

New York, NY 10065






On Fri, Nov 7, 2025 at 12:00?PM Andrea Gilardi - Unimib <
andrea.gilardi at unimib.it> wrote: