- Introduced by
- Marianne Baxter & Robert King
- Year
- 1999
- Type
- Linear symmetric moving-average filter
- Family
- Trend & seasonality
What does it do?
The Baxter-King (BK) band-pass filter, introduced by Marianne Baxter and Robert King in their 1999 paper, is a linear symmetric moving-average filter that isolates fluctuations in a macroeconomic series lying within a chosen range of periodicities.
It attenuates both slow trend movements and rapid high-frequency noise, retaining the business-cycle component, which for quarterly data is conventionally specified as oscillations of six to thirty-two quarters. Because the filter is finite, it cannot be computed for the first and last K observations of a sample.
The intuition behind the method
Think of the BK filter as a frequency sieve. Just as an audio equalizer can cut bass and treble while leaving mid-range tones, the BK filter removes slow trends and rapid noise from an economic series and keeps the mid-range swings associated with business cycles. It does this by computing a weighted moving average of surrounding observations. The weights are derived from the ideal band-pass filter in the frequency domain and then truncated to a finite window of K leads and K lags.
History
Marianne Baxter and Robert King published the filter in the Review of Economics and Statistics in 1999, in a paper that develops approximate band-pass filters for economic time series and compares them with several alternative filters commonly used to extract business-cycle components. The paper's band-pass approach was designed to target a defined range of periodicities rather than to rely on a single smoothing parameter. Alternative asymmetric band-pass filters, such as Christiano-Fitzgerald, are used to reduce endpoint loss.
When to use it
Use the BK filter when the goal is to extract a business-cycle-band component from a macroeconomic series such as GDP, consumption, or investment, for example to document stylised facts, study co-movement across series, or compare model-implied and empirical moments at business-cycle frequencies. Because the adjusted weights sum to zero, the filter removes the zero-frequency component, so series integrated of order two or higher should be differenced first (see pitfalls). The method also presumes that the cycle of interest can be described by a fixed frequency band. Avoid it when the sample is short, because the loss of K observations at each end is then a large share of the data. If the endpoints must be preserved, the Hodrick-Prescott filter or the Christiano-Fitzgerald filter are common alternatives; if more explicit control over the spectrum is needed, a Fourier-transform approach may be more suitable.
Limitations and considerations
- Discards K observations at each end of the sample. In short series this is a severe loss, and the observations lost at the end are the most recent ones, which matters for real-time analysis.
- Results depend on the truncation parameter K: a small K approximates the ideal filter poorly, while a large K reduces the usable sample. The trade-off should be checked for each application.
- Assumes that the fixed frequency band captures the cycle of interest. If the relevant dynamics shift in frequency, for example after a structural break, the extracted component can be distorted.
- Because the window is symmetric, the cycle for the last K periods cannot be computed until future observations arrive, which limits its use for real-time monitoring.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Isolates a defined frequency band with explicit lower and upper cut-off periods, so the researcher can state exactly which periodicities are retained.
- The weights are symmetric, so the filter introduces no phase shift; the timing of turning points in the filtered cycle is not shifted relative to the original series.
- The zero-sum constraint on the weights sets the response at zero frequency to zero, removing level components without a separate detrending step.
- The design follows from the ideal band-pass filter in the frequency domain, so its approximation properties can be analysed with spectral methods.
Applications
- Extracting the business-cycle component of real GDP to document stylised facts about co-movement with employment, investment, and consumption.
- Constructing cyclical indicators for monetary policy analysis, such as output-gap measures, although the BK cycle is not itself a model-based output gap (see pitfalls).
- Isolating medium-term cycles in financial variables such as credit growth and asset prices for early-warning system research.
- Comparing business-cycle synchronization across countries in international macroeconomics studies.
- Filtering simulated data from DSGE models to compare model-implied moments with empirical moments at business-cycle frequencies.
How it works
How it works
The analyst selects the lower and upper cut-off periods (p_l and p_u) that define the frequency band of interest. For quarterly data the conventional choice in this method is p_l = 6 and p_u = 32 quarters, which corresponds to the 1.5 to 8 year range commonly used to describe business cycles. These bounds are a convention, so they should be stated explicitly when results are reported.
Formula
\text{Choose lower and upper cut-off frequencies } p_l, p_u \text{ (in periods); default: } p_l=6,\; p_u=32 \text{ quarters}The ideal infinite-order band-pass weights are computed analytically from the chosen cut-off periods. They represent the theoretically perfect filter that, applied to an infinite sample, would pass exactly the desired frequencies and remove all others. Because the weights are symmetric in j, leads and lags receive identical weights, which is the basis of the filter's zero phase shift.
Formula
b_0 = \frac{2}{p_l} - \frac{2}{p_u}, \quad b_j = \frac{1}{\pi j}\left(\sin\!\frac{2\pi j}{p_l} - \sin\!\frac{2\pi j}{p_u}\right), \quad j = 1, 2, \ldotsA practical filter must be finite, so the infinite weight sequence is truncated to K leads and K lags, with K chosen by the analyst. A constant equal to the mean of the truncated weights is then subtracted from every weight, so the adjusted weights sum to exactly zero. This sets the filter's response at zero frequency to zero, which removes the zero-frequency component, including constant levels, but it does not by itself remove every stochastic trend. Choosing K trades off closeness to the ideal filter against the number of observations lost: K observations are lost at each end of the sample, 2K in total, so the choice of K should be checked for sensitivity by re-estimating over a range of values.
Formula
\tilde{b}_j = b_j - \frac{1}{2K+1}\sum_{i=-K}^{K} b_i, \quad |j| \leq K, \text{ so that } \sum_{j=-K}^{K} \tilde{b}_j = 0The adjusted weights are applied to the observed series as a moving sum to produce the cyclical component. Because each output value uses K leads and K lags, the first and last K observations cannot be filtered, so the output is shorter than the input by K observations at each end. This endpoint loss is a practical cost of the method.
Formula
y_t^{\text{cycle}} = \sum_{j=-K}^{K} \tilde{b}_j\, x_{t-j}, \quad t = K+1, \ldots, T-KCommon pitfalls
- Applying the filter to series integrated of order two, without prior differencing, can leave residual trend contamination in the extracted cycle.
- Comparing cycles extracted with different values of K or different band limits yields components that are not directly comparable, so these settings should be held fixed across the series being compared.
- Interpreting the filtered series as a structural measure of the output gap conflates a statistical decomposition with an economic concept. The BK cycle is a frequency-based construct, not a model-based potential-output gap.
Frequently asked questions
How is the truncation parameter K chosen?
K is a choice the analyst must make. The mechanics show that K determines both how closely the truncated weights approximate the ideal filter and how many observations are lost at each end of the sample, since K observations are lost on each side. A larger K improves the approximation but reduces the usable sample. Many researchers check robustness by comparing results across several values of K, but this is a common practice rather than a rule set by the method's originators.
How does the BK filter differ from the HP filter?
The HP filter is a two-sided filter that minimises a penalised sum of squared deviations, and its smoothing parameter lambda governs which frequencies are removed. It does not require explicit cut-off periods. The BK filter explicitly targets a frequency band with chosen lower and upper cut-off periods and introduces no phase shift, but it loses K observations at each end of the sample. The original BK paper compares its filters with several alternatives, including commonly used ones.
Can the BK filter be used with monthly data?
Yes. The same formulas apply, but the cut-off periods and K must be expressed in months rather than quarters. The business-cycle range given in years must be converted to months before it is entered as p_l and p_u. The value of K for monthly data should be justified for the application, because the quarterly choice does not transfer directly.
Related methods
Sources
Baxter, M., & King, R. G. (1999). Measuring business cycles: Approximate band-pass filters for economic time series. Review of Economics and Statistics, 81(4), 575–593.
Open DOI reference