Lab 5 S3002
Lab 5 S3002
In Time Series analysis, various models are used to represent different time series data. These
models include:
a. Moving Average Model (MA): Also known as MA(q), this model represents a time series
where each value is a linear combination of past error terms.
b. Autoregressive Model (AR): Also referred to as AR(p), this model represents a time series
where each value is a linear combination of its past values.
d. Autoregressive Integrated Moving Average Model (ARIMA): Generally used for non-
stationary time series, ARIMA(p,d,q) includes differencing to achieve stationarity along with
the ARMA(p,q) components.
B. We will now identify autoregressive and moving average models using the autocorrelation
function and the partial autocorrelation function. Before we can use these models, the time
series must first be stationary. Some important takeaways:
✓ If the ACF plot shows a gradual decrease and tails off to zero, it suggests a stationary
time series, which is typical of an MA model.
✓ If the PACF plot has significant spikes at the first few lags and then drops off, it suggests
an AR model.
✓ If both the ACF and PACF plots have significant spikes at the first few lags and then tail
off, it suggests an ARMA model.
Procedure: