Time series analysis involves collecting past observations of a variable to develop a model that can be used to forecast future values. The basic idea is that history can predict the future. A time series typically contains trend, seasonal, cyclical, and irregular components. Common time series models include exponential smoothing, Holt-Winters, and ARIMA. Exponential smoothing assigns more weight to recent observations. Holt-Winters extends exponential smoothing to account for trend and seasonality. ARIMA models past values and errors to forecast the future. Determining the appropriate ARIMA model requires identifying the degree of differencing needed to make the time series stationary.