Next Article in Journal
Fractional Unit Root Tests Allowing for a Structural Change in Trend under Both the Null and Alternative Hypotheses
Next Article in Special Issue
Between Institutions and Global Forces: Norwegian Wage Formation Since Industrialisation
Previous Article in Journal
Consistency of Trend Break Point Estimator with Underspecified Break Number
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Business Cycle Estimation with High-Pass and Band-Pass Local Polynomial Regression

Banco de España, Madrid 28014, Spain
Econometrics 2017, 5(1), 1; https://doi.org/10.3390/econometrics5010001
Submission received: 30 June 2016 / Revised: 13 December 2016 / Accepted: 16 December 2016 / Published: 5 January 2017

Abstract

:
Filters constructed on the basis of standard local polynomial regression (LPR) methods have been used in the literature to estimate the business cycle. We provide a frequency domain interpretation of the contrast filter obtained by the difference of a series and its long-run LPR component and show that it operates as a kind of high-pass filter, so that it provides a noisy estimate of the cycle. We alternatively propose band-pass local polynomial regression methods aimed at isolating the cyclical component. Results are compared to standard high-pass and band-pass filters. Procedures are illustrated using the US GDP series.

1. Introduction

There is a large body of literature on methods to estimate the business cycle [1,2,3,4] and the Great Recession has rekindled the interest in business cycle analysis. Decompositions of aggregate output into a trend and a cyclical component or into trend, cycle and noise have an intrinsic interest in economic assessments. Moreover, cyclical developments in activity measures, such as GDP or unemployment, play a prominent role in Phillips Curve models that explain inflation dynamics. Finally, the proper analysis of the fiscal policy stance requires estimating cyclically adjusted budget balances.
Local polynomial regression [5,6,7,8] is a well-known method in the statistical literature, which has been used for business cycle analysis [9]. The underlying idea of this nonparametric method is that any function can be well approximated by a Taylor series expansion in the neighborhood of any point. This smooth function is then a natural estimator of the low frequency (long-run) component of the series (i.e., the trend or the trend-cycle component). When these methods are adopted for business cycle estimation, estimates of the business cycle are made with the contrast filter obtained by the difference of the series with this low frequency component. The resulting component is therefore obtained by a kind of high-pass filter, so that it provides an estimate of the cycle (plus short-run noise).
The aim of this communication is to assess the validity of local polynomial regression-based methods for business cycle analysis. We contribute to the literature in several ways. First, we provide a frequency domain interpretation of cyclical filters obtained on the basis of standard local polynomial regression methods, taking different assumptions about the bandwidths and kernels functions, and show that they act as a kind of high-pass filters so that they result in noisy cycles. Second, we propose what we call band-pass local polynomial regression, given that they operate as a kind of band-pass filter, as contrasts of cyclical filters and provide their frequency domain interpretation. Third, we compare these estimators to frequently used filters, such as Hodrick-Prescott, Baxter and King and Butterworth filters. Fourth, we illustrate the procedures using US GDP series.

2. Materials and Methods

2.1. Standard (High-Pass) Local Polynomial Regression

The aim of standard local polynomial regression is to estimate the trend of a series y t as a possibly nonlinear function m ( x t ) of a variable x t
y t = m ( x t ) + ε t ,
where ε t is an error term and the functional form m ( x ) does not have a closed-form expression, so that standard nonlinear estimators cannot be applied. Here, we consider that x t is a deterministic variable, specifically a polynomial in time (t). To obtain the trend for a given date ( t 0 ), a regression is fit using only the data belonging to an interval around t 0 . The width of the interval used (the bandwidth) is a fixed number (h). As h gets large, the local polynomial fit approaches the polynomial fit using the whole sample. Specifically,
y t = a ( t 0 ) + b 1 ( t 0 ) ( t t 0 ) + + b k ( t 0 ) ( t t 0 ) k + ε t   t [ t 0 h , t 0 + h ]   t = h + 1 , , n h
Each of these regressions is fit using weighted least squares (WLS), solving the following minimization problem and the trend estimate is then obtained as the fitted value of the regression.
min a , b t = 1 n K ( t t 0 h ) ( ( y t a ( t 0 ) b 1 ( t 0 ) ( t t 0 ) + + b k ( t 0 ) ( t t 0 ) k ) 2
The trend estimate depends on a number of factors: First, the kernel function K, which provides the weights for WLS. In the literature, several kernels have been proposed, the most common of which are shown in Table 1. The different kernels give more weight to points near t 0 and less weight to points further away, but they differ in the precise weights. Second, the window width (h), which determines the number of points used in each regression. Increasing (decreasing) h involves using a wider (narrower) interval, which tends to increase (decrease) the smoothness of the trend. Third, the degree of the polynomial. In practice, choosing a local linear polynomial seems to provide a good balance between flexibility in reproducing the data and computational ease.
As noted in [6], the trend estimate of the local polynomial regression is simply a linear function of the dependent variable
y ^ t = j = h h r j y t j
where rj are weights, that depend on the kernel function, the bandwidth and the degree of the polynomial.
It is easily seen that, in the interior of a time series, the weights implied by the local polynomial regression are shift-invariant, so that the local polynomial fit works like a linear filter in the lag operator ( L   y t y t 1 ) . Further, it is easily shown that if the kernel function is symmetric, then the weights are symmetric ( r j = r j ), so the filter can be rewritten as
Φ   ( L ) = r 0 + j = 1 h r j ( L j + L j )
Note that symmetry of weights implies that the filter has no phase shift, so the timing of turning points is not distorted by this filter.
If ω [ 0 , π ] denotes the frequency measured in radians, replacing L by the complex number e i ω and using the identity e i j ω + e i j ω = 2   cos ( j ω ) gives the gain of the trend estimation filter
G T   ( ω ) = r 0 + j = 1 h r j ( e i ω j + e i ω j ) = r 0 + 2 j = 1 h r j   cos ( j ω )
In the context of business cycle estimation, estimates of the business cycle are made with the contrast filter obtained by the difference of the series with its low frequency component. The resulting component is, strictly speaking, a cyclical plus noise component, but in applications [9] is taken as an estimator of the cycle. The gain function of the linear filter that estimates the cycle (plus noise) is
G C   ( ω ) = 1 G T   ( ω )
The gain function determines how the different cyclical fluctuations contribute to the signal. If G C   ( ω 0 ) = 1 cyclical fluctuations with period p = 2 π ω 0 are fully passed, whereas if G C   ( ω 0 ) = 0 they are suppressed.
As shown in the results section below, local polynomial regression-based methods for business cycle analysis operate as a kind of high-pass filter, so in the comparisons below we compare them to an ideal high-pass filter. Formally, the ideal high-pass filter ( G I H P ) has a gain function given by
G I H P ( ω ) = { 0 i f   ω < ω 1 i f   ω 1 ω
which means that cyclical fluctuations belonging to the interval [ ω 1 , π ] pass through the filter untouched, but all other fluctuations are completely removed. In the empirical literature on the business cycle it is customary to consider 8 years (or 32 quarters) as a cut-off point.

2.2. Band-Pass Local Polynomial Regression

As shown in the results section below, local polynomial regression-based methods for business cycle analysis operate as a kind of high-pass filter. In the literature, trend plus cycle plus noise decompositions are often considered; the business cycle corresponds to a range of frequencies in a filter that is bounded both below and above, in order to censor both low frequency trends and high-frequency noise. This can be implemented by means of a band-pass filter. Formally, the ideal band-pass filter ( G I B P ) has a gain function given by
G I B P ( ω ) = { 0 i f   ω < ω 1 1 i f   ω 1 ω ω 2 0 i f   ω > ω 2
which means that cyclical fluctuations belonging to the interval [ ω 1 , ω 2 ] pass through the filter untouched, but all other fluctuations are completely removed. In the empirical literature on the business cycle it is customary to consider a band of interest corresponding to fluctuations between 8 and 32 quarters.
We propose to obtain band-pass local polynomial regression filters by means of the difference of two (high-pass) local polynomial regression-based filters for business cycle analysis.
Φ B P   ( L ; K 1 , K 2 , h 1 , h 2 , k 1 , k 2 ) = Φ H P   ( L ; K 1 , h 1 , k 1 ) Φ H P   ( L ; K 2 , h 2 , k 2 )
This filter will depend on two possibly different kernel functions, bandwidths and polynomial degrees. The filtered series would then be obtained as
y ^ B P t = Φ B P   ( L ) y t
For simplicity, below we consider a restricted version of this filter in which the kernel function and polynomial degree are the same. Specifically,
Φ B P   ( L ; K , h 1 , h 2 , k ) = Φ H P   ( L ; K , h 1 , k ) Φ H P   ( L ; K , h 2 , k )

3. Results

3.1. High-Pass Local Polynomial Regression

Figure 1 presents the implied gain functions of the contrast filter obtained by the difference of the series with its low frequency component using standard linear polynomial regressions to estimate the long run component, considering different kernels and bandwidths and Table 2 the quadratic distances with respect to an ideal high pass filter, focusing on fluctuations with period below 8 years (32 quarters). A comparison of these gain functions to the gain of an ideal high pass show a reasonable performance. Gains vary with the precise kernel and bandwidth chosen -the minimum being given by the Epanichnekov kernel with a bandwidth equal to 15-but there are three qualitative regularities shared by the different variants. First, low frequency movements are removed and high frequency movements fully passed through. Second, low bandwidths result in intermediate cycles being attenuated. Third, gain functions are not monotonically increasing.

3.2. Band-Pass Local Polynomial Regression

Figure 2 presents the implied gain functions for band-pass linear polynomial regressions using different kernels and bandwidths. For a given kernel function, the band pass local polynomial regression estimate is defined as the difference between two contrast filters, the high-pass one for a given kernel and bandwidth and the high-pass one with the same kernel and bandwidth1 equal to 3 and Table 3 gives the quadratic distances with respect to a band pass filter, focusing on fluctuations with period below 8 years (32 quarters). A comparison of these gain functions to the gain of an ideal high pass show a performance that is not too satisfactory. Gains vary with the precise kernel and bandwidth chosen -the minimum being given by the biweight kernel with a bandwidth equal to 20 minus a biweight kernel with a bandwidth equal to 3- but there are two qualitative regularities shared by the different variants. First, low and high frequency movements tend to be suppressed, as expected from a band pass filter. Second, for a given kernel function the fit is highest for an intermediate value of the bandwidth.

3.3. Empirical Applications: US Business Cycles

In this section, we document some features of aggregate economic fluctuations, which are commonly referred to as business cycles. We consider quarterly data from the postwar US economy. More specifically, we consider the Real Gross Domestic Product seasonally adjusted series, as released by the US Bureau of Economic Analysis. The sample period starts in 1947 Q1 and ends in 2016 Q2. We apply local polynomial regression-based methods and band-pass local polynomial regression methods to characterize the US business cycle, considering different kernel functions and bandwidths.
Regarding high-pass local polynomial regressions, we highlight the following results (Figure 3). First, as expected from the gain functions, we find that trends are removed, but noise is still present in what is typically termed the cyclical component. Second, there is an important degree of comovement among the different measures, both in terms of bandwidths and kernel functions. Third, higher bandwidths result in cyclical components with higher standard deviations.
Regarding band-pass local polynomial regressions, we highlight the following results (Figure 4). First, as expected from the gain functions, we find that trends and noise are removed, so that estimates are smoother than those derived from standard local polynomial regression methods. Second, there is an important degree of comovement among the different measures, both in terms of bandwidths and kernel functions. Third, higher bandwidths result in cyclical components with higher standard deviations.

4. Discussion

4.1. High-Pass Local Polynomial Regression

Results of local polynomial regression-based estimators are compared to the widely used Hodrick and Prescott filter [10]. The HP estimator may be considered as a high-pass filter, which damps cyclical fluctuations with high periods and leaves short-run cycles barely untouched. As shown above, this property is also shared by local polynomial regression-based estimators. In Figure 5 and Table 4 we can see that the HP filter with a standard value of lambda equal to 1600 provides a slightly better approximation to the ideal high filter that the best performing local polynomial method (Epanechnikow with bandwidth equal to 15). However, local polynomial-based methods perform better than Hodrick and Prescott filters that use values of the lambda parameter which are higher or lower than the industry standard. It has to be borne in mind that kernel bandwidths are often estimated.
The left panel of Figure 6 compares for the US economy the best performing linear polynomial regression-based method (Epanichnekov with bandwidth equal to 15), with Hodrick Prescott filters. We highlight that for this series the Epanechnikov filter is virtually identical to the standard Hodrick Prescott filter with lambda equal to 1600. Indeed, their correlation coefficient is 0.99. We also find that the higher the value of lambda the higher is the variability of the cyclical component.

4.2. Band-Pass Local Polynomial Regression

Results of band-pass local polynomial estimators are compared to two widely used band pass filters: the filter put forward by Baxter and King [11] and the Butterworth filter [12,13]. In Figure 3 and Table 5 we can see that the best performing band-pass local polynomial regression is closer to the ideal band-pass filter than the one proposed by Baxter and King when the moving average equals 4 [BK(4)]. However, a Butterworth filter or a Baxter and King filter with a moving average equal to 12 [BK(12)] are closer to the ideal band-pass filter. In quantitative terms, the Butterworth filter provides a much more accurate approximation to the ideal filter than the Baxter and King filter. It has to be borne in mind that kernel bandwidths are often estimated and that better results could be obtained by combining kernels from different families.
The right hand panel of Figure 6 compares for the US economy the best performing band pass local polynomial regression (Biweight 20-03) with band-pass methods typically used in the literature, namely Baxter and King and Butterworth filters. We highlight several results. First, we note that, as expected, band-pass filters provide smoother signals of the cyclical component than typical high-pass filters. Second, we find that the band-pass local polynomial regression closely resembles the Baxter and King (12) filter and Butterworth filters. Indeed, the correlation coefficient is 0.98 with the Baxter and King (12) filter and 0.95 with the Butterworth filter. We note that the Baxter and King filter has a truncation parameter that involves losing estimates of the cyclical component for the first and last periods of the sample. Indeed, Baxter and King (4) loses one year and Baxter and King (12) 3 years of data.
This paper provides a frequency domain interpretation of cyclical components obtained by local polynomial regression-based methods for business cycle analysis. We propose what we call band-pass local polynomial regression, as contrasts of standard local polynomial regression estimates and provide their frequency domain interpretation. We also compare results to frequently used filters, such as Hodrick-Prescott, Baxter and King and Butterworth filters. Procedures and comparisons presented are illustrated using the US GDP series.

Acknowledgments

Alberto Cabrero co-authored a previous version of the paper. Ana Gómez-Loscos provided valuable comments.

Author Contributions

Luis J. Álvarez designed and wrote the paper.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. F. Canova. “Detrending and business cycle facts.” J. Monet. Econ. 41 (1998): 475–512. [Google Scholar] [CrossRef]
  2. T.C. Mills. Modelling Trends and Cycles in Economic Time Series. Basingstoke, UK: Palgrave Macmillan, 2003. [Google Scholar]
  3. E.B. Dagum. “A cascade linear filter to reduce revisions and false turning points for real time trend-cycle estimation.” Econom. Rev. 28 (2009): 40–59. [Google Scholar] [CrossRef]
  4. D.S.G. Pollock. “Econometric filters.” Comput. Econ. 48 (2016): 669–691. [Google Scholar] [CrossRef]
  5. C.J. Stone. “Consistent nonparametric regression.” Ann. Stat. 5 (1977): 595–620. [Google Scholar] [CrossRef]
  6. W.S. Cleveland. “Robust locally weighted regression and smoothing scatterplots.” J. Am. Stat. Assoc. 74 (1979): 829–836. [Google Scholar] [CrossRef]
  7. J. Fan, and I. Gijbels. Local Polynomial Modelling and Its Applications: Monographs on Statistics and Applied Probability 66. Boca Raton, FL, USA: CRC Press, 1996. [Google Scholar]
  8. D.S.G. Pollock. Handbook of Time Series Analysis, Signal Processing, and Dynamics. Cambridge, MA, USA: Academic Press, 1999. [Google Scholar]
  9. E.E. Leamer. “Housing is the Business Cycle.” NBER Working Paper Series 13428; Cambridge, MA, USA: National Bureau of Economic Research, 2007. [Google Scholar]
  10. R.J. Hodrick, and E.C. Prescott. “Postwar U.S. Business cycles: An empirical investigation.” J. Money Credit Bank. 29 (1997): 1–16. [Google Scholar] [CrossRef]
  11. M. Baxter, and R.G. King. “Measuring business cycles approximate band-pass filters for economic time series.” Rev. Econ. Stat. 81 (1999): 575–593. [Google Scholar] [CrossRef]
  12. S. Butterworth. “On the theory of filter amplifiers.” Exp. Wirel. Wirel. Eng. 7 (1930): 536–541. [Google Scholar]
  13. V. Gómez. “The use of Butterworth filters for trend and cycle estimation in economic time series.” J. Bus. Econ. Stat. 19 (2001): 365–373. [Google Scholar]
  • 1Consideration of higher bandwidths resulted in a worse performance.
Figure 1. Gain functions of high-pass local polynomial regression filters.
Figure 1. Gain functions of high-pass local polynomial regression filters.
Econometrics 05 00001 g001
Figure 2. Gain functions of band pass local polynomial regression filters.
Figure 2. Gain functions of band pass local polynomial regression filters.
Econometrics 05 00001 g002
Figure 3. US Business Cycles. High-pass local polynomial regressions.
Figure 3. US Business Cycles. High-pass local polynomial regressions.
Econometrics 05 00001 g003
Figure 4. US Business Cycles. Band-pass local polynomial regressions.
Figure 4. US Business Cycles. Band-pass local polynomial regressions.
Econometrics 05 00001 g004
Figure 5. Comparison of different high-pass and bandpass filters.
Figure 5. Comparison of different high-pass and bandpass filters.
Econometrics 05 00001 g005
Figure 6. US Business Cycles. Comparison of different high-pass and bandpass filters.
Figure 6. US Business Cycles. Comparison of different high-pass and bandpass filters.
Econometrics 05 00001 g006
Table 1. Alternative Kernel Functions.
Table 1. Alternative Kernel Functions.
Kernel NameKernel Function
Epanechnikov (EP) 3 4 ( 1 u 2 ) I ( | u | 1 )
Biweight (BI) 15 16 ( 1 u 2 ) 2 I ( | u | 1 )
Rectangular (RE) 1 2 I ( | u | 1 )
Triangular (TR) ( 1 | u | ) I ( | u | 1 )
Note: u is the argument of the kernel function and I ( | u | 1 ) is an indicator function that takes a value of one if its argument is true, and zero otherwise.
Table 2. Quadratic distances with respect to the ideal high pass filter (multiplied by 100).
Table 2. Quadratic distances with respect to the ideal high pass filter (multiplied by 100).
BandwidthEpanechnikovBiweightRectangularTriangular
56.798.765.778.10
101.432.241.231.92
150.660.791.270.73
200.750.712.330.82
Note: Minimum value over kernels and bandwidths in bold font.
Table 3. Quadratic distances with respect to the ideal band pass filter (multiplied by 100).
Table 3. Quadratic distances with respect to the ideal band pass filter (multiplied by 100).
BandwidthEpanechnikovBiweightRectangularTriangular
520.3816.7013.0515.54
109.156.358.636.53
156.874.608.274.87
206.694.469.084.82
256.974.9810.115.30
307.435.5710.925.89
Note: Differences with a filter with the same kernel and bandwidth equal to 3. Minimum value over kernels and bandwidths in bold font.
Table 4. Quadratic distances with respect to the ideal high pass filter (multiplied by 100).
Table 4. Quadratic distances with respect to the ideal high pass filter (multiplied by 100).
LambdaHodrick-Prescott
404.91
16000.60
64,0003.04
Note: Minimum value in bold font.
Table 5. Quadratic distances with respect to the ideal band pass filter (multiplied by 100).
Table 5. Quadratic distances with respect to the ideal band pass filter (multiplied by 100).
Baxter & King k = 4Baxter & King k = 12Butterworth
8.641.410.76
Note: Minimum value in bold font.

Share and Cite

MDPI and ACS Style

Álvarez, L.J. Business Cycle Estimation with High-Pass and Band-Pass Local Polynomial Regression. Econometrics 2017, 5, 1. https://doi.org/10.3390/econometrics5010001

AMA Style

Álvarez LJ. Business Cycle Estimation with High-Pass and Band-Pass Local Polynomial Regression. Econometrics. 2017; 5(1):1. https://doi.org/10.3390/econometrics5010001

Chicago/Turabian Style

Álvarez, Luis J. 2017. "Business Cycle Estimation with High-Pass and Band-Pass Local Polynomial Regression" Econometrics 5, no. 1: 1. https://doi.org/10.3390/econometrics5010001

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop