Pātuhitia tēnei: Nonparametric regression and spline smoothing