Higher order asymptotic theory for time series analysis