Three essays on nonstationary time series econometrics