Fit a simple linear regression of monthly sales on a time index. Explain the slope as an average change per month, and state why this is not the same as an ARIMA model.
Fit a simple linear regression of monthly sales on a time index. Explain the slope as an average change per month, and state why this is not the same as an ARIMA model.
Create t = 0, 1, 2, ... then regress sales on t. Plot fitted line against the series.
A trend regression says Y_t = β0 + β1 t + ε_t. Ordinary least squares finds β0 and β1 by minimising the sum of squared residuals. The slope is the average change in Y per unit time if the linear form is adequate. OLS assumes independent errors. Time series errors are often correlated, so OLS can still describe a trend but inference may be misleading. Regression does not automatically remove autocorrelation.
Constructed 24 monthly sales figures with a gentle rise and modest noise. Teaching data.
A 24-row series preview, a regression summary with intercept near 80 and slope near 1.5, and a plot of sales with a straight fitted trend. Exact coefficients will be close to the construction values but not identical.
The slope estimates the average monthly increase under a straight-line trend. The line summarises direction. It does not model seasonal wiggles or lagged dependence. Residuals should still be checked in later practicals.
A time trend regression describes average change with t. It is not an ARIMA model and does not by itself fix autocorrelated errors.