Three Essays On Nonstationary Time Series And Gmm Estimation