notes on trend and cycle components

3
Notes on Trend and Cycle Components Garey Ramey University of California, San Diego February 2015 1 Denitions Suppose the series fY t g has a trend component fY tr t g. Write Y t = Y tr t Y t Y tr t = Y tr t b Y t ; which denes the cycle component as b Y t = Y t Y tr t : Take logs: ln Y t = ln Y tr t + ln b Y t : Now dene y t = ln Y t ; y tr t = ln Y tr t ; ^ y t = ln b Y t = ln Y ln Y tr t : Then we may write: y t = y tr t +^ y t : Note that ^ y t approximates the percentage deviation of output from trend. To see this, consider the Taylor expansion around the trend component: ln Y t ln Y tr t + d ln Y t dY t Yt =Y tr t (Y t Y tr t ) = ln Y tr t + 1 Y tr t (Y t Y tr t ); which implies ln Y t ln Y tr t =^ y t Y t Y tr t Y tr t : 1

Upload: juan-achar

Post on 15-Jul-2016

218 views

Category:

Documents


0 download

DESCRIPTION

Enjoy thes files

TRANSCRIPT

Page 1: Notes on Trend and Cycle Components

Notes on Trend and Cycle Components

Garey Ramey

University of California, San Diego

February 2015

1 De�nitions

Suppose the series fYtg has a trend component fY trt g. Write

Yt = Ytrt

YtY trt

= Y trt � bYt;which de�nes the cycle component as

bYt = YtY trt

:

Take logs:

lnYt = lnYtrt + ln bYt:

Now de�ne

yt = lnYt; ytrt = lnYtrt ;

yt = ln bYt = lnY � lnY trt :Then we may write:

yt = ytrt + yt:

Note that yt approximates the percentage deviation of output from trend. To see this,

consider the Taylor expansion around the trend component:

lnYt ' lnY trt +d lnYtdYt

����Yt=Y trt

� (Yt � Y trt ) = lnY trt +1

Y trt(Yt � Y trt );

which implies

lnYt � lnY trt = yt 'Yt � Y trtY trt

:

1

Page 2: Notes on Trend and Cycle Components

This is a good approximation given that values of yt are small empirically.

2 Modeling the trend component

a Polynomial trend

The trend component is assumed to be a polynomial in t:

ytrt =XK

k=0�kt

k:

Example: Log-linear trend (K = 1):

ytrt = �0 + �1t ) Y trt = Y0 t;

where

Y0 = e�0 , = e�1 :

Note that a polynomial can be used to approximate any deterministic trend. Moreover,

estimation and inference are straightforward.

b Hodrick-Prescott (HP) �lter

For a given series fytgTt=1, the trend component fytrt gTt=1 is chosen to solve

minfytrt gTt=1

XT

t=1[(yt � ytrt )2 + �((ytrt+1 � ytrt )� (ytrt � ytrt�1))2]:

The �rst term captures how closely trend tracks the data, while the second term captures

smoothness of the trend in terms of second di¤erences. The smoothing parameter � governs

the weight assigned to tracking vs. smoothness in the minimization problem. As � rises,

the trend becomes smoother, and correspondingly more variations are assigned to the cycle

component. As � ! 1,positive second di¤erences are not allowed, and ytrt becomes linear

in t.

The choice � = 1600 is reasonable for business cycle analysis using quarterly data, as it

works to remove cyclical movements with periods in excess of 4-6 years.

2

Page 3: Notes on Trend and Cycle Components

The HP �lter is very �exible, and takes no stand on the form of the trend. It can induce

spurious volatility into the cycle component, however.

c Stochastic trend

The trend component is assumed to be a random process.

Example: Suppose fytg is a random walk with drift:

yt = yt�1 + + "t;

where "t is white noise. This is a "unit root" speci�cation. De�ne:

ytrt = yt�1 + ; yt = "t:

In this case the trend is the linear projection, and the cycle is the innovation. Moreover,

innovations to output have a permanent e¤ect on the trend.

To obtain a stationary representation of fytg, take the �rst di¤erence:

�yt = yt � yt�1 = + "t:

Note that �yt approximates the growth rate of output:

�yt = lnYt � lnYt�1 'Yt � Yt�1Yt�1

:

Thus, for a unit root speci�cation, we consider output growth rates rather than log levels.

There are numerous other approaches to modeling trend and cycle components, e.g.,

state-space and frequency domain methods.

3