ECON/FIN 250: Forecasting in Finance and Economics: Section 3.2 Filtering Time Series

Size: px
Start display at page:

Download "ECON/FIN 250: Forecasting in Finance and Economics: Section 3.2 Filtering Time Series"

Transcription

1 ECON/FIN 250: Forecasting in Finance and Economics: Section 3.2 Filtering Time Series Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

2 Course Overview 1 General Filtering Thoughts 2 Two-Sided Filters 3 One-Sided Filters 4 Local Trends Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

3 General Filtering Thoughts Time series tools that can: Estimate Trends Smooth Out Noise Adjust for Seasonality Make Forecasts Separate the Cycle from the Trend Somewhat ad hoc Common, simple rules used in business forecasting Related to technical analysis in finance Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

4 Two-Sided Filters 1 General Filtering Thoughts 2 Two-Sided Filters 3 One-Sided Filters 4 Local Trends Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

5 Moving Average Filter Uses Data Before & After time = t Smooths Data Using Future & Past Information Can Choose Information Set Can Weight Observations Equally Can Choose Alternative Weights Not Useful for Forecasting Can Improve Understanding of the Data Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

6 Moving Average Filter Equally Weighted Alternative Weighting y t = 1 2m + 1 y t = Weights should have the property: m j= m m j= m m j= m y t+j (1) ω j y t+j (2) ω j = 1 (3) Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

7 Global Surface Temperature Anomaly Surface Temp (C) Anamoly Year Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

8 Global Surface Temperature Anomaly Let s use an equally weighted moving average filter to reduce some of the noise. Try m = 2 use temperature tsset year tssmooth ma tempma = tempa, window (2 1 2) tsline tempa tempma Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

9 Global Surface Temperature Anomaly Year Surface Temp (C) Anamoly ma: x(t)= tempa: window(2 1 2) Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

10 Global Surface Temperature Anomaly Still pretty noisy. Try m = 5 tssmooth ma temp _ ma = tempa, window (5 1 5) tsline tempa temp _ ma Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

11 Global Surface Temperature Anomaly Year Surface Temp (C) Anamoly ma: x(t)= tempa: window(5 1 5) Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

12 Low Frequency Filters Can be used to remove the trend Allows the trend to change Common Macroeconomic Approach Ignore Growth Concentrate on Business Cycle Output Gap Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

13 Low Frequency Filters Examples Hodrick / Prescott Filter Baxter / King Butterworth Type: help filter Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

14 Hodrick / Prescott Filter The HP Filter: min y t T T (y t yt ) λ [(yt+1 yt ) (yt yt 1] 2 (4) t=1 t=2 This filter is approximately a two-way moving average with weights subject to a damped harmonic λ is a positive smoothing parameter Smaller λ, penalizes variability in the cyclical component Larger λ, penalizes variability in the growth component Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

15 Hodrick / Prescott Filter There is some debate on choosing values for λ. Here are some suggested values λ = σ1 /σ 2 Quarterly Data: λ = 1600 Annual Data: λ = 100 Monthly Data: λ = For more, see the original paper posted on Latte Hodrick, Robert J, and Edward C. Prescott. Postwar U.S. Business Cycles: An Empirical Investigation. Journal of Money, Credit, and Banking. Vol. 29, No. 1, February 1997, pp Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

16 Hodrick / Prescott Filter The Model: log(gdp) = Trend + Cycle (5) = Growth + Cycle (6) HP Filter in Stata use gdp tsfilter hp gdpcycle = lgdp, trend ( gdptrend ) Note: λ = 1600 is default value Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

17 Log GDP & HP Trend q3 1964q3 1981q3 1998q3 2015q3 dateq lgdp lgdp trend component from hp filter Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

18 Log GDP & HP Trend q1 2005q1 2010q1 2015q1 dateq lgdp lgdp trend component from hp filter tsline lgdp gdptrend if dateq > tq ( 2000 q 1) Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

19 HP Cycle lgdp cyclical component from hp filter q3 1964q3 1981q3 1998q3 2015q3 dateq Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

20 Business Cycles & HP Filter Much of modern macroeconomics applies the HP filter to many series to separate the trend from the cycle: GDP Consumption Investment Then looks at the comovement between the cyclical components Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

21 One-Sided Filters 1 General Filtering Thoughts 2 Two-Sided Filters 3 One-Sided Filters 4 Local Trends Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

22 Moving Average Again yt = 1 1 y t j (7) m j=m use unemploy tssmooth ma unma = unrate, window (5,0,0) yt = 1 5 y t j (8) 5 j=1 Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

23 Exponential Weighted Moving Average (EWMA) Average of past values Decreasing (exponentially) weights Related to many ideas / models in economics Adaptive Expectations (Friedman) Rational Expectations Autoregressive Models Riskmetrics GARCH Models Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

24 Exponential Weighted Moving Average (EWMA) EWMA yt = αy t + (1 α)yt 1 (9) Recursive substitution reveals declining weights yt = αy t + (1 α)(αy t 1 + (1 α)yt 2) yt = αy t + α(1 α)y t 1 + (1 α) 2 yt 2. yt = αy t + α(1 α)yt 1 + α(1 α) 2 y t (1 α) t y0 (10) Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

25 Exponential Weighted Moving Average (EWMA) α = 0.3 α = 0.2 α = Weight y t-j Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

26 Exponential Weighted Moving Average (EWMA) Estimate the unemployment rate trend use unemploy tssmooth exp unewma = unrate, parms ( 0. 1) This sets α = 0.1 Stata can find the optimal α by excluding the parms() options Be careful with this! Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

27 Exponential Weighted Moving Average (EWMA) m1 1960m1 1970m1 1980m1 1990m1 2000m1 2010m1 2020m1 datem unrate exp parms(0.1000) = unrate Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

28 The Optimality of the EWMA Suppose your time series comes from the following process: x t = x t 1 + e t y t = x t + η t x t = random walk e t, η t = white noise You do not observe x t This implies y t is a random walk plus noise In this case, EWMA is the optimal forecast Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

29 Local Trends 1 General Filtering Thoughts 2 Two-Sided Filters 3 One-Sided Filters 4 Local Trends Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

30 Double Exponential Weighted Moving Average (DEWMA) Filter Once Filter Again y t = αy t + (1 α)y t 1 (11) y t = αy t + (1 α)y t 1 (12) The double filter can follow local trends The trend can keep going up when the observed y t is going down Getting initial values for y 0, y 0 can be tricky Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

31 Double Exponential Weighted Moving Average Estimate the unemployment rate trend using the double exponential weighted moving average use unemploy tssmooth dexp unema = unrate, parms ( 0. 1) tsline unrate unema Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

32 Double Exponential Weighted Moving Average m1 1960m1 1970m1 1980m1 1990m1 2000m1 2010m1 2020m1 datem unrate dexp parms(0.1000) = unrate Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

33 Holt-Winters Smoother y t = a t 1 + b t 1 (13) a t = αy t + (1 α)(a t 1 + b t 1 ) (14) b t = β(a t a t 1 ) + (1 β)b t 1 (15) Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

34 Holt-Winters Smoother Estimate the unemployment rate trend using the Holt-Winters smoother with parameters α = 0.1, β = 0.2 use unemploy tssmooth hwinters unhw = unrate, parms ( ) tsline unrate unhw Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

35 Holt-Winters & Unemployment Rate m1 1960m1 1970m1 1980m1 1990m1 2000m1 2010m1 2020m1 datem unrate hw parms( ) = unrate Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

36 Holt-Winters Seasonal Smoother Seasonal version of Holt-Winters S t is a repeating seasonal adjustment This is the multiplicative version (there is an additive version) s specifies the period of the seasonality monthly data would have s = 12 y t = (a t 1 + b t 1 )S t (16) a t = α y t S t s ) + (1 α)(a t 1 + b t 1 ) (17) b t = β(a t a t 1 ) + (1 β)b t 1 (18) S t = γ y t a t + (1 γ)s t s (19) Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

37 Holt-Winters Seasonal Smoother Estimate the unemployment rate trend using: Seasonal Holt-Winters smoother Not seasonally adjusted unemployment rate monthly data Choose parameters α = 0.1, β = 0.2, γ = 0.05 use unemploy tssmooth shwinters unhws = unratensa, // parms ( ) period (12) tsline unratensa unhws if datem > tm ( 1990 m 1) Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

38 Seasonal Holt-Winters & Unemployment Rate NSA m1 2000m1 2005m1 2010m1 2015m1 datem unratensa shw parms( ) = unratensa Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

39 Summary y t = (Trend) + (Seasonal) + (Cycle) + (Noise) (20) Filters can help separate parts Filters can help smooth out the noise Not necessarily predictive Sometimes difficult to estimate Initial value problems Also, a little ad hoc Not clear what the data generating process is Patrick Herb (Brandeis University) Filtering Time Series ECON/FIN 250: Spring / 39

ECON/FIN 250: Forecasting in Finance and Economics: Section 8: Forecast Examples: Part 1

ECON/FIN 250: Forecasting in Finance and Economics: Section 8: Forecast Examples: Part 1 ECON/FIN 250: Forecasting in Finance and Economics: Section 8: Forecast Examples: Part 1 Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN

More information

Lecture 2. Business Cycle Measurement. Randall Romero Aguilar, PhD II Semestre 2017 Last updated: August 18, 2017

Lecture 2. Business Cycle Measurement. Randall Romero Aguilar, PhD II Semestre 2017 Last updated: August 18, 2017 Lecture 2 Business Cycle Measurement Randall Romero Aguilar, PhD II Semestre 2017 Last updated: August 18, 2017 Universidad de Costa Rica EC3201 - Teoría Macroeconómica 2 Table of contents 1. Introduction

More information

ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests

ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Unit Root Tests ECON/FIN

More information

ECON/FIN 250: Forecasting in Finance and Economics: Section 4.1 Forecasting Fundamentals

ECON/FIN 250: Forecasting in Finance and Economics: Section 4.1 Forecasting Fundamentals ECON/FIN 250: Forecasting in Finance and Economics: Section 4.1 Forecasting Fundamentals Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Forecasting Fundamentals ECON/FIN

More information

Unemployment Rate Example

Unemployment Rate Example Unemployment Rate Example Find unemployment rates for men and women in your age bracket Go to FRED Categories/Population/Current Population Survey/Unemployment Rate Release Tables/Selected unemployment

More information

TREND ESTIMATION AND THE HODRICK-PRESCOTT FILTER

TREND ESTIMATION AND THE HODRICK-PRESCOTT FILTER J. Japan Statist. Soc. Vol. 38 No. 1 2008 41 49 TREND ESTIMATION AND THE HODRICK-PRESCOTT FILTER Andrew Harvey* and Thomas Trimbur** The article analyses the relationship between unobserved component trend-cycle

More information

Estimates of the Sticky-Information Phillips Curve for the USA with the General to Specific Method

Estimates of the Sticky-Information Phillips Curve for the USA with the General to Specific Method MPRA Munich Personal RePEc Archive Estimates of the Sticky-Information Phillips Curve for the USA with the General to Specific Method Antonio Paradiso and B. Bhaskara Rao and Marco Ventura 12. February

More information

Model-based trend-cycle decompositions. with time-varying parameters

Model-based trend-cycle decompositions. with time-varying parameters Model-based trend-cycle decompositions with time-varying parameters Siem Jan Koopman Kai Ming Lee Soon Yip Wong s.j.koopman@ klee@ s.wong@ feweb.vu.nl Department of Econometrics Vrije Universiteit Amsterdam

More information

ECON/FIN 250: Forecasting in Finance and Economics: Section 6: Standard Univariate Models

ECON/FIN 250: Forecasting in Finance and Economics: Section 6: Standard Univariate Models ECON/FIN 250: Forecasting in Finance and Economics: Section 6: Standard Univariate Models Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Standard Univariate Models ECON/FIN

More information

Graduate Macro Theory II: Notes on Quantitative Analysis in DSGE Models

Graduate Macro Theory II: Notes on Quantitative Analysis in DSGE Models Graduate Macro Theory II: Notes on Quantitative Analysis in DSGE Models Eric Sims University of Notre Dame Spring 2011 This note describes very briefly how to conduct quantitative analysis on a linearized

More information

Quarterly Journal of Economics and Modelling Shahid Beheshti University SVAR * SVAR * **

Quarterly Journal of Economics and Modelling Shahid Beheshti University SVAR * SVAR * ** 1392 Quarterly Journal of Economics and Modelling Shahid Beheshti University : SVAR * ** 93/9/2 93/2/15 SVAR h-dargahi@sbuacir esedaghatparast@ibiacir ( 1 * ** 1392 13 2 SVAR H30, C32, E62, E52, E32 JEL

More information

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

Business Cycle Estimation with High-Pass and Band-Pass Local Polynomial Regression econometrics Article Business Cycle Estimation with High-Pass and Band-Pass Local Polynomial Regression Luis J. Álvarez Banco de España, Madrid 28014, Spain; ljalv@bde.es; Tel.: +34-91-338-5042 Academic

More information

Lecture 7: Exponential Smoothing Methods Please read Chapter 4 and Chapter 2 of MWH Book

Lecture 7: Exponential Smoothing Methods Please read Chapter 4 and Chapter 2 of MWH Book Lecture 7: Exponential Smoothing Methods Please read Chapter 4 and Chapter 2 of MWH Book 1 Big Picture 1. In lecture 6, smoothing (averaging) method is used to estimate the trend-cycle (decomposition)

More information

STA 6104 Financial Time Series. Moving Averages and Exponential Smoothing

STA 6104 Financial Time Series. Moving Averages and Exponential Smoothing STA 6104 Financial Time Series Moving Averages and Exponential Smoothing Smoothing Our objective is to predict some future value Y n+k given a past history {Y 1, Y 2,..., Y n } of observations up to time

More information

On Enhanced Alternatives for the Hodrick-Prescott Filter

On Enhanced Alternatives for the Hodrick-Prescott Filter On Enhanced Alternatives for the Hodrick-Prescott Filter Marlon Fritz* Thomas Gries Yuanhua Feng Abstract The trend estimation for macroeconomic time series is crucial due to many different model specifications.

More information

Lecture 10. Applied Econometrics. Time Series Filters. Jozef Barunik ( utia. cas. cz

Lecture 10. Applied Econometrics. Time Series Filters.  Jozef Barunik ( utia. cas. cz Applied Econometrics Lecture 10 Time Series Filters Please note that for interactive manipulation you need Mathematica 6 version of this.pdf. Mathematica 6 is available at all Lab's Computers at IE http://staff.utia.cas.cz/baruni

More information

Detrending and nancial cycle facts across G7 countries: Mind a spurious medium term! Yves S. Schüler. 2nd November 2017, Athens

Detrending and nancial cycle facts across G7 countries: Mind a spurious medium term! Yves S. Schüler. 2nd November 2017, Athens Detrending and nancial cycle facts across G7 countries: Mind a spurious medium term! Yves S. Schüler Deutsche Bundesbank, Research Centre 2nd November 217, Athens Disclaimer: The views expressed in this

More information

Warwick Business School Forecasting System. Summary. Ana Galvao, Anthony Garratt and James Mitchell November, 2014

Warwick Business School Forecasting System. Summary. Ana Galvao, Anthony Garratt and James Mitchell November, 2014 Warwick Business School Forecasting System Summary Ana Galvao, Anthony Garratt and James Mitchell November, 21 The main objective of the Warwick Business School Forecasting System is to provide competitive

More information

Introduction to Macroeconomics

Introduction to Macroeconomics Introduction to Macroeconomics Martin Ellison Nuffi eld College Michaelmas Term 2018 Martin Ellison (Nuffi eld) Introduction Michaelmas Term 2018 1 / 39 Macroeconomics is Dynamic Decisions are taken over

More information

Title. Description. Remarks and examples. stata.com. stata.com. Introduction to DSGE models. intro 1 Introduction to DSGEs and dsge

Title. Description. Remarks and examples. stata.com. stata.com. Introduction to DSGE models. intro 1 Introduction to DSGEs and dsge Title stata.com intro 1 Introduction to DSGEs and dsge Description Remarks and examples References Also see Description In this entry, we introduce DSGE models and the dsge command. We begin with an overview

More information

9) Time series econometrics

9) Time series econometrics 30C00200 Econometrics 9) Time series econometrics Timo Kuosmanen Professor Management Science http://nomepre.net/index.php/timokuosmanen 1 Macroeconomic data: GDP Inflation rate Examples of time series

More information

Decision 411: Class 3

Decision 411: Class 3 Decision 411: Class 3 Discussion of HW#1 Introduction to seasonal models Seasonal decomposition Seasonal adjustment on a spreadsheet Forecasting with seasonal adjustment Forecasting inflation Poor man

More information

Hodrick-Prescott Filter in Practice

Hodrick-Prescott Filter in Practice Hodrick-Prescott Filter in Practice Hildegart Ahumada ITDT- UTDT- UNLP María Lorena Garegnani UNLP ABSTRACT Hodrick- Prescott filter has been the favourite empirical technique among researchers studying

More information

Comparison of detrending methods

Comparison of detrending methods Comparison of detrending methods Gabrielle Larsson and Tamás Vasi Department of statistics, Uppsala University Supervisor: Daniel Preve June 4, 2012 ABSTRACT This thesis examines the difference between

More information

Decision 411: Class 3

Decision 411: Class 3 Decision 411: Class 3 Discussion of HW#1 Introduction to seasonal models Seasonal decomposition Seasonal adjustment on a spreadsheet Forecasting with seasonal adjustment Forecasting inflation Poor man

More information

Estimating Output Gap, Core Inflation, and the NAIRU for Peru

Estimating Output Gap, Core Inflation, and the NAIRU for Peru BANCO CENTRAL DE RESERVA DEL PERÚ Estimating Output Gap, Core Inflation, and the NAIRU for Peru Gabriel Rodríguez* * Central Reserve Bank of Peru and Pontificia Universidad Católica del Perú DT. N 2009-011

More information

On the importance of the long-term seasonal component in day-ahead electricity price forecasting. Part II - Probabilistic forecasting

On the importance of the long-term seasonal component in day-ahead electricity price forecasting. Part II - Probabilistic forecasting On the importance of the long-term seasonal component in day-ahead electricity price forecasting. Part II - Probabilistic forecasting Rafał Weron Department of Operations Research Wrocław University of

More information

The Information Content of Capacity Utilisation Rates for Output Gap Estimates

The Information Content of Capacity Utilisation Rates for Output Gap Estimates The Information Content of Capacity Utilisation Rates for Output Gap Estimates Michael Graff and Jan-Egbert Sturm 15 November 2010 Overview Introduction and motivation Data Output gap data: OECD Economic

More information

STAT 115: Introductory Methods for Time Series Analysis and Forecasting. Concepts and Techniques

STAT 115: Introductory Methods for Time Series Analysis and Forecasting. Concepts and Techniques STAT 115: Introductory Methods for Time Series Analysis and Forecasting Concepts and Techniques School of Statistics University of the Philippines Diliman 1 FORECASTING Forecasting is an activity that

More information

MODELING OF TIME SERIES CYCLICAL COMPONENT ON A DEFINED SET OF STATIONARY POINTS AND ITS APPLICATION ON THE U.S. BUSINESS CYCLE

MODELING OF TIME SERIES CYCLICAL COMPONENT ON A DEFINED SET OF STATIONARY POINTS AND ITS APPLICATION ON THE U.S. BUSINESS CYCLE MODELING OF TIME SERIES CYCLICAL COMPONENT ON A DEFINED SET OF STATIONARY POINTS AND ITS APPLICATION ON THE U.S. BUSINESS CYCLE Ilya Bolotov Abstract The purpose of the paper is to suggest an alternative

More information

ASSESING HP FILTER PERFORMANCE FOR ARGENTINA AND U.S. MACRO AGGREGATES

ASSESING HP FILTER PERFORMANCE FOR ARGENTINA AND U.S. MACRO AGGREGATES Journal of Applied Economics, Vol. III, No. 2 (Nov 2000), 257-284 ASSESING HP FILTER PERFORMANCE 257 ASSESING HP FILTER PERFORMANCE FOR ARGENTINA AND U.S. MACRO AGGREGATES HILDEGART AHUMADA * Instituto

More information

Animal Spirits, Fundamental Factors and Business Cycle Fluctuations

Animal Spirits, Fundamental Factors and Business Cycle Fluctuations Animal Spirits, Fundamental Factors and Business Cycle Fluctuations Stephane Dées Srečko Zimic Banque de France European Central Bank January 6, 218 Disclaimer Any views expressed represent those of the

More information

Real Business Cycle Model (RBC)

Real Business Cycle Model (RBC) Real Business Cycle Model (RBC) Seyed Ali Madanizadeh November 2013 RBC Model Lucas 1980: One of the functions of theoretical economics is to provide fully articulated, artificial economic systems that

More information

Decision 411: Class 3

Decision 411: Class 3 Decision 411: Class 3 Discussion of HW#1 Introduction to seasonal models Seasonal decomposition Seasonal adjustment on a spreadsheet Forecasting with seasonal adjustment Forecasting inflation Log transformation

More information

Stata tip 76: Separating seasonal time series

Stata tip 76: Separating seasonal time series The Stata Journal (00), umber, pp. Stata tip : Separating seasonal time series icholas J. Cox epartment of Geography urham University urham, UK n.j.cox@durham.ac.uk Many researchers in various sciences

More information

How Can We Extract a Fundamental Trend from an Economic Time-Series?

How Can We Extract a Fundamental Trend from an Economic Time-Series? How Can We Extract MONETARY a Fundamental AND ECONOMIC Trend from STUDIES/DECEMBER an Economic Time-Series? 1998 How Can We Extract a Fundamental Trend from an Economic Time-Series? Masahiro Higo and Sachiko

More information

Macroeconomics - Data & Theory

Macroeconomics - Data & Theory Macroeconomics - Data & Theory Wouter J. Den Haan University of Amsterdam October 24, 2009 How to isolate the business cycle component? Easy way is to use the Hodrick-Prescott (HP) lter min fx τ,t g T

More information

EXAMINATION OF RELATIONSHIPS BETWEEN TIME SERIES BY WAVELETS: ILLUSTRATION WITH CZECH STOCK AND INDUSTRIAL PRODUCTION DATA

EXAMINATION OF RELATIONSHIPS BETWEEN TIME SERIES BY WAVELETS: ILLUSTRATION WITH CZECH STOCK AND INDUSTRIAL PRODUCTION DATA EXAMINATION OF RELATIONSHIPS BETWEEN TIME SERIES BY WAVELETS: ILLUSTRATION WITH CZECH STOCK AND INDUSTRIAL PRODUCTION DATA MILAN BAŠTA University of Economics, Prague, Faculty of Informatics and Statistics,

More information

Continuous Time Models to Extract a Signal in Presence of Irregular Surveys

Continuous Time Models to Extract a Signal in Presence of Irregular Surveys Continuous Time Models to Extract a Signal in Presence of Irregular Surveys Edoardo Otranto Dipartimento di Economia, Impresa e Regolamentazione Università degli Studi di Sassari Via Sardegna 58, 07100

More information

Economic Forecasting Lecture 9: Smoothing Methods

Economic Forecasting Lecture 9: Smoothing Methods Economic Forecasting Lecture 9: Smoothing Methods Richard G. Pierse 1 Introduction Smoothing methods are rather different from the model-based methods that we have been looking at up to now in this module.

More information

Multivariate forecasting with VAR models

Multivariate forecasting with VAR models Multivariate forecasting with VAR models Franz Eigner University of Vienna UK Econometric Forecasting Prof. Robert Kunst 16th June 2009 Overview Vector autoregressive model univariate forecasting multivariate

More information

at least 50 and preferably 100 observations should be available to build a proper model

at least 50 and preferably 100 observations should be available to build a proper model III Box-Jenkins Methods 1. Pros and Cons of ARIMA Forecasting a) need for data at least 50 and preferably 100 observations should be available to build a proper model used most frequently for hourly or

More information

Macroeconomics Theory II

Macroeconomics Theory II Macroeconomics Theory II Francesco Franco Nova SBE February 2012 Francesco Franco Macroeconomics Theory II 1/31 Housekeeping Website TA: none No "Mas-Collel" in macro One midterm, one final, problem sets

More information

Time Series Analysis -- An Introduction -- AMS 586

Time Series Analysis -- An Introduction -- AMS 586 Time Series Analysis -- An Introduction -- AMS 586 1 Objectives of time series analysis Data description Data interpretation Modeling Control Prediction & Forecasting 2 Time-Series Data Numerical data

More information

Time-series Forecasting - Exponential Smoothing

Time-series Forecasting - Exponential Smoothing Time-series Forecasting - Exponential Smoothing Dr. Josif Grabocka ISMLL, University of Hildesheim Business Analytics Business Analytics 1 / 26 Motivation Extreme recentivism: The Naive forecast considers

More information

The Superiority of Greenbook Forecasts and the Role of Recessions

The Superiority of Greenbook Forecasts and the Role of Recessions The Superiority of Greenbook Forecasts and the Role of Recessions N. Kundan Kishor University of Wisconsin-Milwaukee Abstract In this paper, we examine the role of recessions on the relative forecasting

More information

PANEL DISCUSSION: THE ROLE OF POTENTIAL OUTPUT IN POLICYMAKING

PANEL DISCUSSION: THE ROLE OF POTENTIAL OUTPUT IN POLICYMAKING PANEL DISCUSSION: THE ROLE OF POTENTIAL OUTPUT IN POLICYMAKING James Bullard* Federal Reserve Bank of St. Louis 33rd Annual Economic Policy Conference St. Louis, MO October 17, 2008 Views expressed are

More information

Multivariate State Space Models: Applications

Multivariate State Space Models: Applications Multivariate State Space Models: Applications Sebastian Fossati University of Alberta Application I: Clark (1989) Clark (1987) considered the UC-ARMA(2,0) model y t = µ t + C t µ t = d t 1 + µ t 1 + ε

More information

Economics 390 Economic Forecasting

Economics 390 Economic Forecasting Economics 390 Economic Forecasting Prerequisite: Econ 410 or equivalent Course information is on website Office Hours Tuesdays & Thursdays 2:30 3:30 or by appointment Textbooks Forecasting for Economics

More information

Discussion of "Noisy News in Business Cycle" by Forni, Gambetti, Lippi, and Sala

Discussion of Noisy News in Business Cycle by Forni, Gambetti, Lippi, and Sala Judgement Discussion of Cycle" by Università degli Studi Milano - Bicocca IV International Conference in memory of Carlo Giannini Judgement Great contribution in the literature of NEWS and NOISE shocks:

More information

VAR-based Granger-causality Test in the Presence of Instabilities

VAR-based Granger-causality Test in the Presence of Instabilities VAR-based Granger-causality Test in the Presence of Instabilities Barbara Rossi ICREA Professor at University of Pompeu Fabra Barcelona Graduate School of Economics, and CREI Barcelona, Spain. barbara.rossi@upf.edu

More information

Applied Time Series Topics

Applied Time Series Topics Applied Time Series Topics Ivan Medovikov Brock University April 16, 2013 Ivan Medovikov, Brock University Applied Time Series Topics 1/34 Overview 1. Non-stationary data and consequences 2. Trends and

More information

A time series is called strictly stationary if the joint distribution of every collection (Y t

A time series is called strictly stationary if the joint distribution of every collection (Y t 5 Time series A time series is a set of observations recorded over time. You can think for example at the GDP of a country over the years (or quarters) or the hourly measurements of temperature over a

More information

FaMIDAS: A Mixed Frequency Factor Model with MIDAS structure

FaMIDAS: A Mixed Frequency Factor Model with MIDAS structure FaMIDAS: A Mixed Frequency Factor Model with MIDAS structure Frale C., Monteforte L. Computational and Financial Econometrics Limassol, October 2009 Introduction After the recent financial and economic

More information

Introduction to Forecasting

Introduction to Forecasting Introduction to Forecasting Introduction to Forecasting Predicting the future Not an exact science but instead consists of a set of statistical tools and techniques that are supported by human judgment

More information

Forecasting Unemployment Rates in the UK and EU

Forecasting Unemployment Rates in the UK and EU Forecasting Unemployment Rates in the UK and EU Team B9 Rajesh Manivannan (61710602) Kartick B Muthiah (61710764) Debayan Das (61710492) Devesh Kumar (61710353) Chirag Bhardwaj (61710812) Sreeharsha Konga

More information

TRACKING THE US BUSINESS CYCLE WITH A SINGULAR SPECTRUM ANALYSIS

TRACKING THE US BUSINESS CYCLE WITH A SINGULAR SPECTRUM ANALYSIS TRACKING THE US BUSINESS CYCLE WITH A SINGULAR SPECTRUM ANALYSIS Miguel de Carvalho Ecole Polytechnique Fédérale de Lausanne Paulo C. Rodrigues Universidade Nova de Lisboa António Rua Banco de Portugal

More information

Autoregressive models with distributed lags (ADL)

Autoregressive models with distributed lags (ADL) Autoregressive models with distributed lags (ADL) It often happens than including the lagged dependent variable in the model results in model which is better fitted and needs less parameters. It can be

More information

CENTRE FOR CENTRAL BANKING STUDIES

CENTRE FOR CENTRAL BANKING STUDIES CENTRE FOR CENTRAL BANKING STUDIES ECONOMIC MODELLING AND FORECASTING Estimating the output gap for Kenya: a practical guide to some state-space and Kalman filter trend-cycle decompositions by Ole Rummel

More information

Estimating and Accounting for the Output Gap with Large Bayesian Vector Autoregressions

Estimating and Accounting for the Output Gap with Large Bayesian Vector Autoregressions Estimating and Accounting for the Output Gap with Large Bayesian Vector Autoregressions James Morley 1 Benjamin Wong 2 1 University of Sydney 2 Reserve Bank of New Zealand The view do not necessarily represent

More information

Time-Series Analysis. Dr. Seetha Bandara Dept. of Economics MA_ECON

Time-Series Analysis. Dr. Seetha Bandara Dept. of Economics MA_ECON Time-Series Analysis Dr. Seetha Bandara Dept. of Economics MA_ECON Time Series Patterns A time series is a sequence of observations on a variable measured at successive points in time or over successive

More information

Threshold effects in Okun s Law: a panel data analysis. Abstract

Threshold effects in Okun s Law: a panel data analysis. Abstract Threshold effects in Okun s Law: a panel data analysis Julien Fouquau ESC Rouen and LEO Abstract Our approach involves the use of switching regime models, to take account of the structural asymmetry and

More information

Panel on Macroeconomic Forecasting and Nowcasting

Panel on Macroeconomic Forecasting and Nowcasting Panel on Macroeconomic Forecasting and Nowcasting Domenico Giannone, Federal Reserve Bank of New York 2018 CARE Conference Firm-level Information and the Macroeconomy Disclaimer: The views expressed herein

More information

TIMES SERIES INTRODUCTION INTRODUCTION. Page 1. A time series is a set of observations made sequentially through time

TIMES SERIES INTRODUCTION INTRODUCTION. Page 1. A time series is a set of observations made sequentially through time TIMES SERIES INTRODUCTION A time series is a set of observations made sequentially through time A time series is said to be continuous when observations are taken continuously through time, or discrete

More information

Public Economics The Macroeconomic Perspective Chapter 2: The Ramsey Model. Burkhard Heer University of Augsburg, Germany

Public Economics The Macroeconomic Perspective Chapter 2: The Ramsey Model. Burkhard Heer University of Augsburg, Germany Public Economics The Macroeconomic Perspective Chapter 2: The Ramsey Model Burkhard Heer University of Augsburg, Germany October 3, 2018 Contents I 1 Central Planner 2 3 B. Heer c Public Economics: Chapter

More information

Mortenson Pissarides Model

Mortenson Pissarides Model Mortenson Pissarides Model Prof. Lutz Hendricks Econ720 November 22, 2017 1 / 47 Mortenson / Pissarides Model Search models are popular in many contexts: labor markets, monetary theory, etc. They are distinguished

More information

data lam=36.9 lam=6.69 lam=4.18 lam=2.92 lam=2.21 time max wavelength modulus of max wavelength cycle

data lam=36.9 lam=6.69 lam=4.18 lam=2.92 lam=2.21 time max wavelength modulus of max wavelength cycle AUTOREGRESSIVE LINEAR MODELS AR(1) MODELS The zero-mean AR(1) model x t = x t,1 + t is a linear regression of the current value of the time series on the previous value. For > 0 it generates positively

More information

Using frequency domain techniques with US real GNP data: A Tour D Horizon

Using frequency domain techniques with US real GNP data: A Tour D Horizon Using frequency domain techniques with US real GNP data: A Tour D Horizon Patrick M. Crowley TAMUCC October 2011 Patrick M. Crowley (TAMUCC) Bank of Finland October 2011 1 / 45 Introduction "The existence

More information

Problem Set 2 Solution Sketches Time Series Analysis Spring 2010

Problem Set 2 Solution Sketches Time Series Analysis Spring 2010 Problem Set 2 Solution Sketches Time Series Analysis Spring 2010 Forecasting 1. Let X and Y be two random variables such that E(X 2 ) < and E(Y 2 )

More information

Chapter 6. Maximum Likelihood Analysis of Dynamic Stochastic General Equilibrium (DSGE) Models

Chapter 6. Maximum Likelihood Analysis of Dynamic Stochastic General Equilibrium (DSGE) Models Chapter 6. Maximum Likelihood Analysis of Dynamic Stochastic General Equilibrium (DSGE) Models Fall 22 Contents Introduction 2. An illustrative example........................... 2.2 Discussion...................................

More information

Automatic Forecasting

Automatic Forecasting Automatic Forecasting Summary The Automatic Forecasting procedure is designed to forecast future values of time series data. A time series consists of a set of sequential numeric data taken at equally

More information

Forecasting. Simon Shaw 2005/06 Semester II

Forecasting. Simon Shaw 2005/06 Semester II Forecasting Simon Shaw s.c.shaw@maths.bath.ac.uk 2005/06 Semester II 1 Introduction A critical aspect of managing any business is planning for the future. events is called forecasting. Predicting future

More information

Extracting information from noisy time series data

Extracting information from noisy time series data Extracting information from noisy time series data Paul Ormerod (Pormerod@volterra.co.uk) Volterra Consulting Ltd Sheen Elms 135c Sheen Lane London SW14 8AE December 2004 1 Abstract A question which is

More information

Modeling the Phillips curve with unobserved components

Modeling the Phillips curve with unobserved components Modeling the Phillips curve with unobserved components Andrew Harvey, Faculty of Economics, Cambridge University. ACH34@CAM.AC.UK January 18, 2008 Abstract The relationship between in ation and the output

More information

The MIT Press Journals

The MIT Press Journals The MIT Press Journals http://mitpress.mit.edu/journals This article is provided courtesy of The MIT Press. To join an e-mail alert list and receive the latest news on our publications, please visit: http://mitpress.mit.edu/e-mail

More information

Decision 411: Class 4

Decision 411: Class 4 Decision 411: Class 4 Non-seasonal averaging & smoothing models Simple moving average (SMA) model Simple exponential smoothing (SES) model Linear exponential smoothing (LES) model Combining seasonal adjustment

More information

ECON 343 Lecture 4 : Smoothing and Extrapolation of Time Series. Jad Chaaban Spring

ECON 343 Lecture 4 : Smoothing and Extrapolation of Time Series. Jad Chaaban Spring ECON 343 Lecture 4 : Smoothing and Extrapolation of Time Series Jad Chaaban Spring 2005-2006 Outline Lecture 4 1. Simple extrapolation models 2. Moving-average models 3. Single Exponential smoothing 4.

More information

António Ascensão Costa

António Ascensão Costa ISSN 1645-0647 Notes on Pragmatic Procedures and Exponential Smoothing 04-1998 António Ascensão Costa Este documento não pode ser reproduzido, sob qualquer forma, sem autorização expressa. NOTES ON PRAGMATIC

More information

CALCULATION OF FLOWS AND DISAGGREGATION OF ACCUMULATED VALUES

CALCULATION OF FLOWS AND DISAGGREGATION OF ACCUMULATED VALUES CENTRAL BANK OF ICELAND WORKING PAPERS No. 3 CALCULATION OF FLOWS AND DISAGGREGATION OF ACCUMULATED VALUES by Gudmundur Gudmundsson August 200 CENTRAL BANK OF ICELAND Economics Department Central Ban of

More information

Exponentially weighted forecasts

Exponentially weighted forecasts FORECASTING USING R Exponentially weighted forecasts Rob Hyndman Author, forecast Simple exponential smoothing Forecasting Notation: ŷ t+h t = y t+h y 1,...,y t point forecast of Forecast Equation: given

More information

How Moderate was the Great Moderation and how Destabilizing is Secular Stagnation?*

How Moderate was the Great Moderation and how Destabilizing is Secular Stagnation?* Economic Alternatives, 2017, Issue 2, pp. 226-236 and how Destabilizing is Secular * Fiscal and monetary policy implications based on еvidence from US macro data Hicham M. Hachem ** Summary This paper

More information

Comment on A Comparison of Two Business Cycle Dating Methods. James D. Hamilton

Comment on A Comparison of Two Business Cycle Dating Methods. James D. Hamilton Comment on A Comparison of Two Business Cycle Dating Methods James D. Hamilton Harding and Pagan note that their stripped-down Markov-switching model (3)-(5) is an example of a standard state-space model,

More information

Robust control charts for time series data

Robust control charts for time series data Robust control charts for time series data Christophe Croux K.U. Leuven & Tilburg University Sarah Gelper Erasmus University Rotterdam Koen Mahieu K.U. Leuven Abstract This article presents a control chart

More information

RIDGE REGRESSION REPRESENTATIONS OF THE GENERALIZED HODRICK-PRESCOTT FILTER

RIDGE REGRESSION REPRESENTATIONS OF THE GENERALIZED HODRICK-PRESCOTT FILTER J. Japan Statist. Soc. Vol. 45 No. 2 2015 121 128 RIDGE REGRESSION REPRESENTATIONS OF THE GENERALIZED HODRICK-PRESCOTT FILTER Hiroshi Yamada* The Hodrick-Prescott (HP) filter is a popular econometric tool

More information

Volume 38, Issue 2. Nowcasting the New Turkish GDP

Volume 38, Issue 2. Nowcasting the New Turkish GDP Volume 38, Issue 2 Nowcasting the New Turkish GDP Barış Soybilgen İstanbul Bilgi University Ege Yazgan İstanbul Bilgi University Abstract In this study, we predict year-on-year and quarter-on-quarter Turkish

More information

Tasmanian School of Business & Economics Economics & Finance Seminar Series 1 February 2016

Tasmanian School of Business & Economics Economics & Finance Seminar Series 1 February 2016 P A R X (PARX), US A A G C D K A R Gruppo Bancario Credito Valtellinese, University of Bologna, University College London and University of Copenhagen Tasmanian School of Business & Economics Economics

More information

Modeling the Phillips curve with unobserved components

Modeling the Phillips curve with unobserved components Modeling the Phillips curve with unobserved components Andrew Harvey, Faculty of Economics, Cambridge University. ACH34@CAM.AC.UK September 23, 2008 Abstract The relationship between in ation and the output

More information

Problem Set 2: Sketch of Answers

Problem Set 2: Sketch of Answers Problem Set 2: Sketch of Answers HEC Lausanne, Département d économie politique Business Cycles 2003 Prof. Aude Pommeret Ivan Jaccard April 30, 2004 Part I: Open questions 1. Explain why the consensus

More information

Closed economy macro dynamics: AD-AS model and RBC model.

Closed economy macro dynamics: AD-AS model and RBC model. Closed economy macro dynamics: AD-AS model and RBC model. Ragnar Nymoen Department of Economics, UiO 22 September 2009 Lecture notes on closed economy macro dynamics AD-AS model Inflation targeting regime.

More information

Deutsche Bundesbank s 9th Spring Conference: Microdata Analysis and Macroeconomic Implications Eltville, April 2007

Deutsche Bundesbank s 9th Spring Conference: Microdata Analysis and Macroeconomic Implications Eltville, April 2007 Deutsche Bundesbank s 9th Spring Conference: Microdata Analysis and Macroeconomic Implications Eltville, 27-28 April 2007 Harald Uhlig (Humboldt Universtät zu Berlin & Deutsche Bundesbank) Discussion of

More information

The Chaotic Marriage of Physics and Finance

The Chaotic Marriage of Physics and Finance The Chaotic Marriage of Physics and Finance Claire G. Gilmore Professor of Finance King s College, US June 2011 Rouen, France SO, how did it all begin??? What did he see in her? What did she see in him?

More information

A Comparison of Business Cycle Regime Nowcasting Performance between Real-time and Revised Data. By Arabinda Basistha (West Virginia University)

A Comparison of Business Cycle Regime Nowcasting Performance between Real-time and Revised Data. By Arabinda Basistha (West Virginia University) A Comparison of Business Cycle Regime Nowcasting Performance between Real-time and Revised Data By Arabinda Basistha (West Virginia University) This version: 2.7.8 Markov-switching models used for nowcasting

More information

Okun's Law Testing Using Modern Statistical Data. Ekaterina Kabanova, Ilona V. Tregub

Okun's Law Testing Using Modern Statistical Data. Ekaterina Kabanova, Ilona V. Tregub Okun's Law Testing Using Modern Statistical Data Ekaterina Kabanova, Ilona V. Tregub The Finance University under the Government of the Russian Federation International Finance Faculty, Moscow, Russia

More information

Frequency Domain and Filtering

Frequency Domain and Filtering 3 Frequency Domain and Filtering This is page i Printer: Opaque this 3. Introduction Comovement and volatility are key concepts in macroeconomics. Therefore, it is important to have statistics that describe

More information

A property of the Hodrick-Prescott filter and its application

A property of the Hodrick-Prescott filter and its application A property of the Hodrick-Prescott filter and its application (Job Market Paper #2 ) Neslihan Sakarya Robert M. de Jong November 14, 2016 Abstract This paper explores a remarkable property of the Hodrick-Prescott

More information

Decision 411: Class 9. HW#3 issues

Decision 411: Class 9. HW#3 issues Decision 411: Class 9 Presentation/discussion of HW#3 Introduction to ARIMA models Rules for fitting nonseasonal models Differencing and stationarity Reading the tea leaves : : ACF and PACF plots Unit

More information

Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework

Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework Dongpeng Liu Nanjing University Sept 2016 D. Liu (NJU) Solving D(S)GE 09/16 1 / 63 Introduction Targets of the

More information

Univariate Nonstationary Time Series 1

Univariate Nonstationary Time Series 1 Univariate Nonstationary Time Series 1 Sebastian Fossati University of Alberta 1 These slides are based on Eric Zivot s time series notes available at: http://faculty.washington.edu/ezivot Introduction

More information

Forecasting of Electric Consumption in a Semiconductor Plant using Time Series Methods

Forecasting of Electric Consumption in a Semiconductor Plant using Time Series Methods Forecasting of Electric Consumption in a Semiconductor Plant using Time Series Methods Prayad B. 1* Somsak S. 2 Spansion Thailand Limited 229 Moo 4, Changwattana Road, Pakkred, Nonthaburi 11120 Nonthaburi,

More information

Concept Category 2. Exponential and Log Functions

Concept Category 2. Exponential and Log Functions Concept Category 2 Exponential and Log Functions Concept Category 2 Check List *Find the inverse and composition of functions *Identify an exponential from a table, graph and equation *Identify the difference

More information