Spatial frameworks for robust estimation of yield gaps