How does time-series analysis differ from standard regression, and how do you ensure a time series is stationary?