generalize sprEstimateError to generic field types