Robust transformations and outlier detection with autocorrelated data