Describing Economic Change with a Time Trend

A time trend is a sustained movement in the level of a variable over time. You use it to describe an underlying direction in economic data without treating every increase or decrease as a new pattern. Annual output, employment or sales may fluctuate around a rising or falling path. A trend concerns that longer movement; a recurring within-year pattern is a different feature.

Representing a linear trend

A linear specification describes the underlying path using a constant change per time period:


yt=a+bt+ut,y^t=a^+b^t.y_t = a + bt + u_t, \qquad \widehat y_t = \widehat a + \widehat b t.


Here, yty_t is the observed value, tt is a numerical time index, and utu_t is the departure from the underlying line. Hats identify estimated quantities. The fitted value y^t\widehat y_t is the value on the estimated line, rather than necessarily the value actually observed.


Choose the index to match elapsed time. For annual observations, you might assign t=0t=0 to the first year, t=1t=1 to the next, and so on. If a year is missing, preserve the elapsed-time gap rather than numbering the remaining observations consecutively.


The intercept a^\widehat a is the fitted level at t=0t=0. The slope b^\widehat b is the fitted change for each one-unit increase in tt. Its units combine the variable's units with the time interval.


Estimated slope

Fitted pattern

Interpretation with annual data

Positive

Rising line

Constant increase in the variable's units per year

Zero

Horizontal line

No fitted linear change per year

Negative

Falling line

Constant decrease in the variable's units per year



Estimating the fitted path

Least squares selects the intercept and slope that minimize squared vertical departures from the line. For a model containing an intercept, calculate:


b^=∑t(t−tˉ)(yt−yˉ)∑t(t−tˉ)2,a^=yˉ−b^tˉ.\widehat b = \frac{\sum_t(t-\bar t)(y_t-\bar y)}{\sum_t(t-\bar t)^2}, \qquad \widehat a = \bar y-\widehat b\bar t.


The bars denote sample means. The numerator measures how observations move with time; the denominator measures the spread of the time indices. The estimated slope summarizes movement across the sample rather than relying only on the first and last observations.


Example: If warehouse throughput, measured in thousand tonnes, follows y^t=10+2t\widehat y_t=10+2t with annual tt, its fitted level rises by 2 thousand tonnes per year. At t=3t=3, the fitted throughput is 16 thousand tonnes. An observed value of 15 thousand tonnes would lie below the line.


Observed throughput fluctuates around an upward fitted line over five annual time indices.


Interpreting departures and extensions

Detrending means removing an estimated trend from the observations. For an additive linear trend, subtract the fitted value. The resulting residual is:


u^t=yt−y^t.\widehat u_t=y_t-\widehat y_t.


A positive residual places the observation above its fitted path; a negative residual places it below. A negative residual does not mean that the observed variable itself is negative. It describes a comparison with the line.


Changing the year assigned to zero changes the intercept but leaves the fitted path and annual slope unchanged. Changing the time unit, such as years to quarters, also changes the numerical slope because one index unit now represents a different duration.



Extending the line beyond the sample gives a conditional projection: it assumes that the estimated path remains relevant. A strong fit within the sample does not guarantee that the same slope will continue. A lasting change in economic conditions can alter the level or direction of the path.

What to remember

  • State the time origin and the duration represented by one index unit.
  • Interpret the slope in variable units per time period.
  • Subtract fitted from observed values when detrending.
  • Treat an extended line as conditional on the trend continuing.

Example: A Warehouse's Annual Shipments

Example: A warehouse records annual shipments in thousand tonnes. Use a linear time trend, a fitted line with a constant change per year, to summarize these observations. Assign t=0t=0 to 2019 and increase tt by one each year.


Year

Time index t

Shipments (thousand tonnes)

2019

0

28

2020

1

33

2021

2

35

2022

3

36

2023

4

43


Use the least-squares formulas for a line containing an intercept:


b^=∑(t−tˉ)(y−yˉ)∑(t−tˉ)2,a^=yˉ−b^tˉ.\widehat b=\frac{\sum(t-\bar t)(y-\bar y)}{\sum(t-\bar t)^2}, \qquad \widehat a=\bar y-\widehat b\bar t.


Keep unrounded values during the calculations and report shipment quantities to one decimal place.


a) Estimate the slope and intercept, write the fitted line, and interpret the slope.


First find the means. The mean time index is ________ and the mean shipment volume is ________.


tˉ=0+1+2+3+45=2,yˉ=28+33+35+36+435=35 thousand tonnes.\bar t=\frac{0+1+2+3+4}{5}=2, \qquad \bar y=\frac{28+33+35+36+43}{5}=35\ \text{thousand tonnes}.


The time deviations are −2,−1,0,1,2-2,-1,0,1,2, and the shipment deviations are −7,−2,0,1,8-7,-2,0,1,8 thousand tonnes. Their squared-time sum is ________ and their cross-product sum is ________.


∑(t−tˉ)2=4+1+0+1+4=10,\sum(t-\bar t)^2=4+1+0+1+4=10,


∑(t−tˉ)(y−yˉ)=14+2+0+1+16=33.\sum(t-\bar t)(y-\bar y)=14+2+0+1+16=33.


Divide to obtain the slope, then use the means to obtain the intercept.


b^=3310=3.3 thousand tonnes per year,\widehat b=\frac{33}{10}=3.3\ \text{thousand tonnes per year},


a^=35−3.3(2)=28.4 thousand tonnes.\widehat a=35-3.3(2)=28.4\ \text{thousand tonnes}.


The fitted line is y^t=28.4+3.3t\widehat y_t=28.4+3.3t, with shipment volumes in thousand tonnes. Fitted annual shipments increase by 3.3 thousand tonnes per year. Individual observed annual changes can differ from this slope.


b) Find the detrended shipment value for 2022 and explain its sign.


The detrended value is the observed value minus the fitted trend value. In 2022, the time index is t=3t=3, giving fitted shipments of ________.


y^3=28.4+3.3(3)=38.3 thousand tonnes.\widehat y_3=28.4+3.3(3)=38.3\ \text{thousand tonnes}.


Subtract the fitted value from observed shipments, preserving that order.


u^3=y3−y^3=36.0−38.3=−2.3 thousand tonnes.\widehat u_3=y_3-\widehat y_3=36.0-38.3=-2.3\ \text{thousand tonnes}.


The detrended value is −2.3 thousand tonnes. Shipments were 2.3 thousand tonnes below their fitted path in 2022. The negative sign describes the departure, rather than negative shipments.


c) Project annual shipments for 2025, assuming that the fitted linear path continues.


The year 2025 is six years after 2019, so use t=6t=6. The slope contribution over those six years is ________.


y^6=28.4+3.3(6)=28.4+19.8=48.2 thousand tonnes.\widehat y_6=28.4+3.3(6)=28.4+19.8=48.2\ \text{thousand tonnes}.


The projected annual shipment volume is 48.2 thousand tonnes. This is conditional on the fitted path continuing beyond the sample. It is a point on the extended line, rather than a guarantee about actual shipments.

An analyst fits y^t=220+6t\widehat y_t=220+6t to annual retail sales measured in thousand dollars, with tt increasing by one each year. Which interpretation is supported by this fitted time trend?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A regional distributor records annual revenue as shown below. Fit a linear time trend with an intercept using least squares. What is the estimated slope, in million dollars per year, to one decimal place?


Year

Annual time index

Revenue (million dollars)

2021

0

42

2022

1

47

2023

2

49

2024

3

54

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A port's annual cargo trend is y^=75+2.5t\widehat y=75+2.5t, where cargo is measured in million tonnes and t=0t=0 in 2021. An analyst rewrites the same line using an annual index s=0s=0 in 2024. Complete the four blank cells with exact integers or decimals. Intercepts and fitted values are in million tonnes; slopes are in million tonnes per year.

QuantityOriginal index tRebased index s
Intercept75
Slope2.5
Fitted cargo in 2026

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice