IDEAS home Printed from
   My bibliography  Save this paper

A Trend-Cycle(-Season) Filter: Prgoramme Code for Eviews, Excel, and MatLab


  • Matthias Mohr

    (European Central Bank)


This zip archive contains implementations of the trend-cycle-season filter in Eviews, Excel, and MatLab. The trend-cycle-season filter is another univariate method to decompose a time series into a trend, a cyclical and a seasonal component: the Trend-Cycle filter (TC filter) and its extension, the Trend-Cycle-Season filter (TCS filter), see paper ewp-em/0508004 at

Suggested Citation

  • Matthias Mohr, 2005. "A Trend-Cycle(-Season) Filter: Prgoramme Code for Eviews, Excel, and MatLab," Econometrics 0508005, EconWPA.
  • Handle: RePEc:wpa:wuwpem:0508005
    Note: Type of Document - zip. Programme code for Excel, Eviews, and MatLab

    Download full text from publisher

    File URL:
    Download Restriction: no

    References listed on IDEAS

    1. Lombardo, Giovanni & Sutherland, Alan, 2007. "Computing second-order-accurate solutions for rational expectation models using linear solution methods," Journal of Economic Dynamics and Control, Elsevier, vol. 31(2), pages 515-530, February.
    2. Marco Del Negro & Frank Schorfheide, 2009. "Monetary Policy Analysis with Potentially Misspecified Models," American Economic Review, American Economic Association, vol. 99(4), pages 1415-1450, September.
    3. Gruener Hans Peter & Hayo Bernd & Hefeker Carsten, 2009. "Unions, Wage Setting and Monetary Policy Uncertainty," The B.E. Journal of Macroeconomics, De Gruyter, vol. 9(1), pages 1-25, October.
    4. Ehrmann, Michael & Fratzscher, Marcel, 2005. "Communication and decision-making by central bank committees: different strategies, same effectiveness?," Working Paper Series 488, European Central Bank.
    5. Mongelli, Francesco Paolo & De Grauwe, Paul, 2005. "Endogeneities of optimum currency areas: what brings countries sharing a single currency closer together?," Working Paper Series 468, European Central Bank.
    6. Marcellino, Massimiliano & Banerjee, Anindya & Masten, Igor, 2005. "Forecasting macroeconomic variables for the new member states of the European Union," Working Paper Series 482, European Central Bank.
    7. Timothy Cogley & Thomas J. Sargent, 2005. "The conquest of US inflation: Learning and robustness to model uncertainty," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 8(2), pages 528-563, April.
    8. Michael Ehrmann & Marcel Fratzscher, 2007. "Communication by Central Bank Committee Members: Different Strategies, Same Effectiveness?," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 39(2-3), pages 509-541, March.
    9. Kolasa, Marcin, 2005. "What drives productivity growth in the new EU member states? The case of Poland," Working Paper Series 486, European Central Bank.
    Full references (including those not matched with items on IDEAS)

    More about this item


    economic cycles; time series; filtering; trend-cycle decomposition; seasonality;

    JEL classification:

    • C13 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Estimation: General
    • C22 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes
    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles

    NEP fields

    This paper has been announced in the following NEP Reports:


    Access and download statistics


    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:wpa:wuwpem:0508005. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (EconWPA). General contact details of provider: .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.