Nuisance-parameter-free changepoint detection in non-stationary series