Extrapolation-Aware Nonparametric Statistical Inference