"A similarity based approach to nonstationary autoregression"