Text this: Cumulated sum of squares statistics for nonlinear and nonstationary regressions