A Practical Guide to State Space Modeling
|
|
- Esmond McKinney
- 6 years ago
- Views:
Transcription
1 A Practical Guide to State Space Modeling Jin-Lung Lin Institute of Economics, Academia Sinica Department of Economics, National Chengchi University March 006 1
2 1 Introduction State Space Model (SSM) has been a very powerful framework for the analysis of dynamical systems. While linear regression models use exogenous variables to distinguish the explained variation from the unexplained variation, SSM relies the dynamics of the state variables and the linkage between the observed variables and state variables to draw statistical inference about the unobserved states. The complete path of its conditional mean and variance are the output of Kalman Filtering. SSM is particularly useful for models involving unobserved variables. Potential output, natural rate of unemployment, and common business are three handy examples in economics. Furthermore, the conventional univariate as well multivariate ARMA models, linear regression models, and spline models can be converted into a SSM where forecasting, missing value and testing structural breaks can be easily handled. The theory of SSM was proposed in 1960 s and been heavily used by economists and other social scientists for a long time. Yet, a general and easy-to-use statistical software has not been around until recently. SsfPack for Ox, to my mind, is the best software for SSM. In this note, I shall review the state space models, the Kalman Filtering, smoothing, forecasting and initialization issues. Then, a brief introduction of the SsfPack and Ox will be given. Application examples includes local trend models, airline model, structural break tests, spline, missing observations, and seasonal adjustment. Finally, I shall discuss various SSM models to estimate the potential GDP and/or NAIRU in Taiwan. In addition to this introduction, Section list an easy but important lemma for deriving the Kalman Filter. The Kalman Filter for the local level model is discussed in details in Section 3 and Section 4 summarizes the recursion equation for the general SSM. The SsfPack implementation is given in Section 5 and applications in Section 6. Section 7 concludes. An important lemma for deriving the Kalman Filter Let (x, y, z) are jointly normally distributed with µ z = 0, and Σ yz = 0. Then E(x y, z) = E(x y) + Σ xz Σ 1 zz z V ar(x y, z) = V ar(x y) Σ xz Σ 1 zz Σ zx
3 The proof of the lemma is straightforward and thus omitted. It reads as below. When a new independent piece of information is added, the conditional mean and variance can be obtained by updating the previous ones. This formula is of fundamental importance deriving the Kalman Filter. 3 Kalman Filtering for local level model The local level model described below has a simple structure and serves as an excellent framework for understanding the recursion mechanism of the Kamlan Filter. y t = α t + ε t, ε t N(0, σ t ) (1) α t+1 = α t + η t, η t N(0, η t ) () α 1 N(a 1, P 1 ) (3) In this simple model y t consists of a signal, α t, measuring the stochastic trend and a measurement error, ε t. While exogenous variables are brought in to discriminate the signal from the noise in linear regression analysis, it is the dynamics, that does the job in state space model. In other words, the different dynamics for signals and noise which latter is usually assumed to follow a white noise process enables us to decompose the observed variable into two parts: the signal related to the state variables and disturbance terms. Kalman Filter fully explores this dynamic structure for filtering, smoothing and forecasting. When up to current period (y 1,..., y t ), last period (y 1,..., y t 1 ) and whole sample (y 1,..., y n ) information are used to estimate state variables at current time t, (α t ), they are called filtering, forecasting and smoothing respectively. 3.1 Kalman filtering Let Y t = σ{y 1,, y t } and defined a t+1 = E(α t+1 Y t ), P t+1 = V ar(α t+1 Y t ). then from (1, ), we have a t+1 = E(α t y t ) P t+1 = V ar(α t y t ) + ση 3
4 Define v t = y t a t and F t = V ar(v t ). Then E(v t Y t 1 ) = 0 or v t is a martingale difference process. So where Since E(v t ) = E(E(v t Y t 1 )) = 0 Cov(v t, y j ) = E(v t y j ) = E(E(v t y t 1 )y j ) = 0, for j = 1,,, t 1. By the lemma, E(α t Y t ) = E(α t Y t 1, v t ) = E(α t Y t 1 ) + Cov(α t, v t )V ar(v t ) 1 v t Cov(α t, v t ) = E(α t (y t a t )) = E(α t (α t + ε t a t )) = E(α t (α t a t )) = V ar(α t Y t 1 ) = P t we have V ar(v t ) = F t = P t + σ ε where Further, E(α t Y t ) = a t + K t v t K t = P t F t = V ar(α t Y t ) = V ar(α t Y t 1, v t ) P t P t + σ ɛ = V ar(α t Y t 1 ) Cov(α t, v t ) V ar(v t ) 1 = P t P t F t = P t (1 K t ) 4
5 Eqs. (4) and (4) say that the forecast error, v t is used to update the estimate of mean and variance of α 5 when it becomes available. The complete updating equations are: 3. Initial conditions v t = y t a t F t = P t + σ ε a t+1 = a t + K t v t P t+1 = P t (1 K t ) + σ η K t = P t F t Initial condition has to be given to complete the recursion and diffuse prior is the most commonly used one. Let a 1 be any number, and P 1 as in α 1 N(a 1, P 1 ). In other words, we do not have any information on α 1. It is easy to see: a = a 1 + P 1 (y P 1 + σε 1 a 1 ) y 1 P 1 σε P = + σ P 1 + σε η σε + ση The diffuse prior is equivalent to starting the recursion from t = and using y 1 as initial conditions. 3.3 Kalman smoothing We now turn to state smoothing. Let y = σ(y 1,, y n ). That is, y consists the whole sample information. â t = E(α t y) = E(α t Y t 1, v t,, v n ) where = a t + P t r t 1 r t 1 = v t F t + L t r t L t = 1 K t = σ ɛ F t 5
6 with r n = 0 For the conditional variance, V t = V ar(α t y) = V ar(α t Y t 1, v t,, v n ) = P t P t N t 1 where N t 1 = 1 F t + L t N t with N n = 0. The Kalman Filter can be summarized as below. Starting with initial condition (a 1, P 1 ), (a, P, F ) are computed. When y becomes available, v = y a is used to update the estimate of conditional mean and variance of α. Also, a 3, P 3 are computed and then updated when y 3 comes in. The process is repeated until at the end of the sample period. a n, P n, F n are computed and updated. Now, using the smoothing recursion, â n 1, V n 1 are computed. With the latter, â n, V n can be computed. The process is repeated until at the beginning of the period and â 1, V 1 are computed. 3.4 Missing observations Missing observations can be easily handled. Let y t, j = τ,, τ 1, are missing. Then for t = τ,, τ 1 E(α t Y t 1 ) = E(α t Y τ 1 ) t 1 = E(α i + η τ Y τ 1 ) j=i = a τ V ar(α t Y t 1 ) = V ar(α t Y τ 1 ) t 1 = V ar(α τ + η j Y τ 1 ) j=τ = P τ + (t τ)σ η As no new information is available during the missing periods, v t = 0, conditional mean remains unchanged and conditional variance increases linearly with time. 3.5 Forecasting Forecasting future values, y n+1,..., y n+h is equivalent to treating y n+1,, y n+h as missing and using the Kalman Filtering. 6
7 3.6 Likelihood function and parameter estimation Log-likelihood can be obtained as a side product of Kalman filtering. P (y 1,, y t ) = P (y t Y t 1 )P (Y t 1 ), we have with P (y 1 y 0 ) = P (y 1 ) and P (y) = P (y 1,, y t ) = Π n t=1p (y t Y t 1 ) logl = logp (y) = n log(π) 1 n (log F t + v t ) t=1 F t Since To achieve computation efficiency, we can substitute (σ η = qσ ε) and the system becomes y t = α t + ε t, ε t N(0, σ ε) α t+1 = α t + η t, η(t) N(0, qσ ε) The concentrated log likelihood becomes P t = P t σ ε, F t = F t v t = y t a t, F t σ ε = P t + 1 a t+1 = a t + K t v t, P t+1 = P t (1 K t ) + q K t = P t Ft = P t F t logl d = n log(π) n 1 logσε 1 ˆσ ε 1 n vt = n 1 Ft t= logl dc = n log(π) n Diagnostic checking n (logft + t=1 n 1 logˆσ ε 1 n t= v t σ εf t logf t Diagnostic checking is based upon the assumption that v t iid.n(0, F t ). Thus, e t = v t N(0, 1) Ft ) 7
8 Normality can be checked by examining the skewness and kurtosis Normality: skewness and kurtosis S = m 3 m 3 K = m 4 m N = { S 6 N(0, 6 n ) N(3, 4 n ) (K 3) + } χ () 4 The Ljung-Box Q statistics is useful for checking serial correlation and there are a bundle of statistics for heteroscedasticity test. 4 Kalman Filtering for general models The general state space model can be written as: y t = Z t α t + ε t, ε t N(0, H t ) α t+1 = T t α t + R t η t, η t N(0, Q t ) α 1 N(a 1, P 1 ) 8
9 Table 1: Dimensions for state space models vector matrix y t p 1 Z t p m α t m 1 T t m m ε t p 1 H t p p η t r 1 R t m r a 1 m 1 Q t r r v t p 1 P 1 m m a t m 1 P t m m 4.1 Initial conditions Diffuse prior P = P + κp P is m m matrix with zeros and ones. κ is large, say κ = Filter recursion As before, define The recursions become a t+1 = E(α t+1 Y t ) P t+1 = V ar(α t+1 y t ) v t = y t Z t a t F t = Z t P t Z t + H t K t = T t P t Z tf t 1 L t = T t K t Z t a t+1 = T t a t + K t v t P t+1 = T t P t L t + P t Q t P t Denote a t t = E(α t Y t ), P t t = V ar(α t Y t ), we have a t t = a t + M t Ft 1 v t 9
10 4.3 State smoothing Let y = σ(y 1,..., y n ). Then, a t+1 = T t a t t F t = Z t P t Z t + H t M t = P t Z t P t t = P t M t Ft 1 M t P t+1 = T t P t t T t + R t Q t R t ˆα t = E(α t y) = a t t + P t t T t Pt+1(ˆα 1 t+1 a t+1 ) = a t + P t Z tf t 1 v t + P t L tpt+1(ˆα 1 t+1 a t+1 ) Let then with r n = 0. For the variance, 5 SsfPack notations r t = P 1 t+1(ˆα t+1 a t+1 ) r t 1 = Z tf t 1 v t + L tr t V t = V ar(α t y) = P t P t N t 1 P t N t 1 = Z tf t 1 Z t + L tn t L t r t 1 = Z tf t 1 v t + L tt t ˆα t = a t + P t r t 1 α t+1 = d t + T t α t + H t εt Q t = c t + Z t α t 10
11 ( at+1 y t = Q t + G t ε ) t y t δ t = Ω t = = δ t + Φ t α t + u t ( ) dt c t u t = [ Ht H t H t G t G t H t G t G t α 1 N(a 1, P 1 ) Σ = ( ) Ht ε t G t ] Φ t = [ ] P1 a 1 [ Tt Z t ] 11
12 Table : Dimension of SSM matrices α t+1, d t, a : m 1, y t, Q t, c t : N 1 T t, P : m m, Z t : N m H t : m r, G t : N r Φ : (m + N) m, δ : (m + N) 1 Ω : (m + N) (m + N), Σ : (m + 1) 1 Four possible model specifications: nphi momega mphi momega msigma mphi momega msigma mdelta mphi momega msigma mdelta mj-phi mj-omega mj-delta mxt where the last specification works for time-varying Z t and T t with mj-phi, mj- Omega, mj-delta giving the corresponding row numbers in mxt, the data matrix. What is more, exogenous regressors can be added to the model. Below are summarized modules in SsfPack. Model in static space form AddSsfreg: GetSsfARMA: GetSsfspline: GetSsfstsm: SsfCombine: SsfCombineSym: add regressor effect put ARMA in static space. put regression in state space put cubic spline in state space combine two model Combine two symmetric models General state space algorithm KalmanFil: KalmanSmo: SimSmoDraw: SimSmoWgt: Kalman Filter Smoothing simulation smoother Covariance output of simulation smoother 1
13 Ready-to-use Function SsfConDens: mean of a draw of conditional density SsfLik: log-likelihood function SsfLikeConc: Profile log-likelihood function SsfLikeSco: Score vector SsfMomentEst: predictor, forecasting and smoothing SsfRecursion: State space recursion 6 Applications:estimating potential GPP and/or NAIRU Potential output and non-accelerating inflation rate unemployment (NAIRU) are defined as the level of output and unemployment rate consistent with a stable rate of inflation. Here, I discuss three models to estimate potential output and/or NAIRU. They are Watson (1986), Kuttner (1994), and Apel & Jansson(1998). Watson (1986) y t = y p t + z t y p t = y p t 1 + µ y + e yt, e pt N(0, σp) z t = φ 1 z t 1 + φ z t + e zt, e zt N(0, σ z) where y t : observed output, and y p t : potential GDP. In term of Ox notations. the model is : y p t+1 µ y z t+1 z t = φ 1 φ y p 1 0 ( ) t 0 1 ept z t e z zt y t t δ = µ y Φ = φ 1 φ
14 Ω = Kuttner (1994) y p t = y p t 1 + µ y + e yt y t = y p t + z t π t = µ π + r y t 1 + βz t 1 + v t + δ 1 v t 1 + δ v t + δ 3 v t 3 Apel and Jansson (1999) y p t = α + y p t 1 + ε p t u n t = u n t 1 + ε n t y t = y p t + φ 0 (u t u n t ) + φ 1 (u t 1 u n t 1) + ε y t u t u n t = δ(u t 1 u n t 1) + ε c t π t = ρ 1 π t 1 + η 1 (u t u n t ) + ωx t + ε τ 7 Conclusions State space models are very useful in econometric modeling, especially when unobserved variables are involved. SsfPack is a very general, easy-to-use and efficient package for SSM computation. 14
15 References Durbin, J. and S.J. Koopman (001), Time Series Analysis by State Space Methods, New York: Oxford University Press Koopman, S.J., N. Shephard, and J. A. Doornik (1998), Statistical algorithms for models in state space model using SsfPack., Econometric Journals,, Ox is an object-oriented statistical system. Console Ox (no graphics) can be obtained freely via SsfPack is a suite of C routines for carrying out computations involving the statistical analysis of univariate and multivariate models in state space form. The fully implemented link is to Ox and can be obtained freely at GnuDraw is an Ox package meant for creating GnuPlot graphics. Both can be obtained at cbos/index.html?content=/ cbos/gnudraw.html Professional Ox is bundled of Console Ox and GiveWin provides complete support for graphical environment. It can purchased at 15
State-space Model. Eduardo Rossi University of Pavia. November Rossi State-space Model Financial Econometrics / 49
State-space Model Eduardo Rossi University of Pavia November 2013 Rossi State-space Model Financial Econometrics - 2013 1 / 49 Outline 1 Introduction 2 The Kalman filter 3 Forecast errors 4 State smoothing
More informationState-space Model. Eduardo Rossi University of Pavia. November Rossi State-space Model Fin. Econometrics / 53
State-space Model Eduardo Rossi University of Pavia November 2014 Rossi State-space Model Fin. Econometrics - 2014 1 / 53 Outline 1 Motivation 2 Introduction 3 The Kalman filter 4 Forecast errors 5 State
More informationPart I State space models
Part I State space models 1 Introduction to state space time series analysis James Durbin Department of Statistics, London School of Economics and Political Science Abstract The paper presents a broad
More information7 Day 3: Time Varying Parameter Models
7 Day 3: Time Varying Parameter Models References: 1. Durbin, J. and S.-J. Koopman (2001). Time Series Analysis by State Space Methods. Oxford University Press, Oxford 2. Koopman, S.-J., N. Shephard, and
More informationWorking Paper Series. A note on implementing the Durbin and Koopman simulation smoother. No 1867 / November Marek Jarocinski
Working Paper Series Marek Jarocinski A note on implementing the Durbin and Koopman simulation smoother No 1867 / November 2015 Note: This Working Paper should not be reported as representing the views
More informationStatistical algorithms for models in state space using SsfPack 2.2
Econometrics Journal (1999), volume 2, pp. 113 166. Statistical algorithms for models in state space using SsfPack 2.2 SIEM JAN KOOPMAN 1,NEIL SHEPHARD 2,JURGEN A. DOORNIK 2 1 Department of Econometrics,
More informationSsfPack 2.0: Statistical algorithms for models in state space
SsfPack 2.0: Statistical algorithms for models in state space An Ox link to underlying C code Siem Jan KOOPMAN CentER, Tilburg University, 5000 LE Tilburg, The Netherlands Neil SHEPHARD Nuffield College,
More informationSTRUCTURAL TIME-SERIES MODELLING
1: Structural Time-Series Modelling STRUCTURAL TIME-SERIES MODELLING Prajneshu Indian Agricultural Statistics Research Institute, New Delhi-11001 1. Introduction. ARIMA time-series methodology is widely
More informationBOOTSTRAP PREDICTION INTERVALS IN STATE SPACE MODELS. Alejandro Rodriguez 1 and Esther Ruiz 2
Working Paper 08-11 Departamento de Estadística Statistic and Econometric Series 04 Universidad Carlos III de Madrid March 2008 Calle Madrid, 126 28903 Getafe (Spain) Fax (34-91) 6249849 BOOTSTRAP PREDICTION
More informationState Space Models Introduction. This is page 517 Printer: Opaque this
14 State Space Models This is page 517 Printer: Opaque this 14.1 Introduction The state space modeling tools in S+FinMetrics are based on the algorithms in SsfPack 3.0 developed by Siem Jan Koopman and
More informationX t = a t + r t, (7.1)
Chapter 7 State Space Models 71 Introduction State Space models, developed over the past 10 20 years, are alternative models for time series They include both the ARIMA models of Chapters 3 6 and the Classical
More informationTime-Varying Parameters
Kalman Filter and state-space models: time-varying parameter models; models with unobservable variables; basic tool: Kalman filter; implementation is task-specific. y t = x t β t + e t (1) β t = µ + Fβ
More informationGeneralized Autoregressive Score Smoothers
Generalized Autoregressive Score Smoothers Giuseppe Buccheri 1, Giacomo Bormetti 2, Fulvio Corsi 3,4, and Fabrizio Lillo 2 1 Scuola Normale Superiore, Italy 2 University of Bologna, Italy 3 University
More informationModel-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 informationECO 513 Fall 2008 C.Sims KALMAN FILTER. s t = As t 1 + ε t Measurement equation : y t = Hs t + ν t. u t = r t. u 0 0 t 1 + y t = [ H I ] u t.
ECO 513 Fall 2008 C.Sims KALMAN FILTER Model in the form 1. THE KALMAN FILTER Plant equation : s t = As t 1 + ε t Measurement equation : y t = Hs t + ν t. Var(ε t ) = Ω, Var(ν t ) = Ξ. ε t ν t and (ε t,
More informationTREND 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 informationComputing observation weights for signal extraction and ltering
Journal of Economic Dynamics & Control 27 (2003) 1317 1333 www.elsevier.com/locate/econbase Computing observation weights for signal extraction and ltering Siem Jan Koopman a;, Andrew Harvey b a Department
More informationState Space Modeling in Macroeconomics and Finance Using SsfPack for S+FinMetrics
State Space Modeling in Macroeconomics and Finance Using SsfPack for S+FinMetrics Eric Zivot, Jiahui Wang and Siem Jan Koopman University of Washington, Seattle Ronin Capital LLC, Chicago Free University,
More informationResearch Division Federal Reserve Bank of St. Louis Working Paper Series
Research Division Federal Reserve Bank of St Louis Working Paper Series Kalman Filtering with Truncated Normal State Variables for Bayesian Estimation of Macroeconomic Models Michael Dueker Working Paper
More informationA note on implementing the Durbin and Koopman simulation smoother
MPRA Munich Personal RePEc Archive A note on implementing the Durbin and Koopman simulation smoother Marek Jarocinski European Central Bank 24. October 2014 Online at http://mpra.ub.uni-muenchen.de/59466/
More informationThe Kalman filter, Nonlinear filtering, and Markov Chain Monte Carlo
NBER Summer Institute Minicourse What s New in Econometrics: Time Series Lecture 5 July 5, 2008 The Kalman filter, Nonlinear filtering, and Markov Chain Monte Carlo Lecture 5, July 2, 2008 Outline. Models
More informationSeasonal Adjustment of Aggregated Series using Univariate and Multivariate Basic Structural Models
University of Wollongong Research Online Centre for Statistical & Survey Methodology Working Paper Series Faculty of Engineering and Information Sciences 2008 Seasonal Adjustment of Aggregated Series using
More informationState Space Model, Official Statistics, Bayesian Statistics Introduction to Durbin s paper and related topics
State Space Model, Official Statistics, Bayesian Statistics Introduction to Durbin s paper and related topics Yasuto Yoshizoe Aoyama Gakuin University yoshizoe@econ.aoyama.ac.jp yasuto yoshizoe@post.harvard.edu
More informationDiscussion of Bootstrap prediction intervals for linear, nonlinear, and nonparametric autoregressions, by Li Pan and Dimitris Politis
Discussion of Bootstrap prediction intervals for linear, nonlinear, and nonparametric autoregressions, by Li Pan and Dimitris Politis Sílvia Gonçalves and Benoit Perron Département de sciences économiques,
More informationUnderstanding Regressions with Observations Collected at High Frequency over Long Span
Understanding Regressions with Observations Collected at High Frequency over Long Span Yoosoon Chang Department of Economics, Indiana University Joon Y. Park Department of Economics, Indiana University
More informationTime-Varying Vector Autoregressive Models with Structural Dynamic Factors
Time-Varying Vector Autoregressive Models with Structural Dynamic Factors Paolo Gorgi, Siem Jan Koopman, Julia Schaumburg http://sjkoopman.net Vrije Universiteit Amsterdam School of Business and Economics
More informationGeneralized Autoregressive Score Models
Generalized Autoregressive Score Models by: Drew Creal, Siem Jan Koopman, André Lucas To capture the dynamic behavior of univariate and multivariate time series processes, we can allow parameters to be
More informationLecture 16: State Space Model and Kalman Filter Bus 41910, Time Series Analysis, Mr. R. Tsay
Lecture 6: State Space Model and Kalman Filter Bus 490, Time Series Analysis, Mr R Tsay A state space model consists of two equations: S t+ F S t + Ge t+, () Z t HS t + ɛ t (2) where S t is a state vector
More informationSeasonal Adjustment of an Aggregate Series using Univariate and Multivariate Basic Structural Models
University of Wollongong Research Online Centre for Statistical & Survey Methodology Working Paper Series Faculty of Engineering and Information Sciences 2010 Seasonal Adjustment of an Aggregate Series
More informationTIME SERIES ANALYSIS. Forecasting and Control. Wiley. Fifth Edition GWILYM M. JENKINS GEORGE E. P. BOX GREGORY C. REINSEL GRETA M.
TIME SERIES ANALYSIS Forecasting and Control Fifth Edition GEORGE E. P. BOX GWILYM M. JENKINS GREGORY C. REINSEL GRETA M. LJUNG Wiley CONTENTS PREFACE TO THE FIFTH EDITION PREFACE TO THE FOURTH EDITION
More informationStatistical Inference and Methods
Department of Mathematics Imperial College London d.stephens@imperial.ac.uk http://stats.ma.ic.ac.uk/ das01/ 31st January 2006 Part VI Session 6: Filtering and Time to Event Data Session 6: Filtering and
More informationSiem Jan Koopman Marius Ooms
TI 2004-135/4 Tinbergen Institute Discussion Paper Forecasting Daily Time Series using Periodic Unobserved Components Time Series Models Siem Jan Koopman Marius Ooms Faculty of Economics and Business Administration,
More informationSMOOTHIES: A Toolbox for the Exact Nonlinear and Non-Gaussian Kalman Smoother *
SMOOTHIES: A Toolbox for the Exact Nonlinear and Non-Gaussian Kalman Smoother * Joris de Wind September 2017 Abstract In this paper, I present a new toolbox that implements the exact nonlinear and non-
More informationJournal of Statistical Software
JSS Journal of Statistical Software May 2011, Volume 41, Issue 5. http://www.jstatsoft.org/ State Space Modeling Using SsfPack in S+FinMetrics 3.0 Eric W. Zivot University of Washington Abstract This paper
More informationTAKEHOME FINAL EXAM e iω e 2iω e iω e 2iω
ECO 513 Spring 2015 TAKEHOME FINAL EXAM (1) Suppose the univariate stochastic process y is ARMA(2,2) of the following form: y t = 1.6974y t 1.9604y t 2 + ε t 1.6628ε t 1 +.9216ε t 2, (1) where ε is i.i.d.
More informationQuantiles, Expectiles and Splines
Quantiles, Expectiles and Splines Andrew Harvey University of Cambridge December 2007 Harvey (University of Cambridge) QES December 2007 1 / 40 Introduction The movements in a time series may be described
More informationEcon 623 Econometrics II Topic 2: Stationary Time Series
1 Introduction Econ 623 Econometrics II Topic 2: Stationary Time Series In the regression model we can model the error term as an autoregression AR(1) process. That is, we can use the past value of the
More informationCointegration Lecture I: Introduction
1 Cointegration Lecture I: Introduction Julia Giese Nuffield College julia.giese@economics.ox.ac.uk Hilary Term 2008 2 Outline Introduction Estimation of unrestricted VAR Non-stationarity Deterministic
More informationChapter 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 informationFigure S1. Log (rig activity) and log(real oil price). US
Figure S1. Log (rig activity) and log(real oil price). US 6 5 4 log (rig activity) log (real oilprice) 3 1 0 1 1990 1995 000 005 1 Figure S. Log (rig activity) and log(real oil price). Canada 5 log (rig
More informationCh.10 Autocorrelated Disturbances (June 15, 2016)
Ch10 Autocorrelated Disturbances (June 15, 2016) In a time-series linear regression model setting, Y t = x tβ + u t, t = 1, 2,, T, (10-1) a common problem is autocorrelation, or serial correlation of the
More informationGARCH Models Estimation and Inference
Università di Pavia GARCH Models Estimation and Inference Eduardo Rossi Likelihood function The procedure most often used in estimating θ 0 in ARCH models involves the maximization of a likelihood function
More informationEvaluating density forecasts: forecast combinations, model mixtures, calibration and sharpness
Second International Conference in Memory of Carlo Giannini Evaluating density forecasts: forecast combinations, model mixtures, calibration and sharpness Kenneth F. Wallis Emeritus Professor of Econometrics,
More informationOnline appendix to On the stability of the excess sensitivity of aggregate consumption growth in the US
Online appendix to On the stability of the excess sensitivity of aggregate consumption growth in the US Gerdie Everaert 1, Lorenzo Pozzi 2, and Ruben Schoonackers 3 1 Ghent University & SHERPPA 2 Erasmus
More informationVector Autoregressive Model. Vector Autoregressions II. Estimation of Vector Autoregressions II. Estimation of Vector Autoregressions I.
Vector Autoregressive Model Vector Autoregressions II Empirical Macroeconomics - Lect 2 Dr. Ana Beatriz Galvao Queen Mary University of London January 2012 A VAR(p) model of the m 1 vector of time series
More informationEECE Adaptive Control
EECE 574 - Adaptive Control Recursive Identification Algorithms Guy Dumont Department of Electrical and Computer Engineering University of British Columbia January 2012 Guy Dumont (UBC EECE) EECE 574 -
More informationUnivariate 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 informationPeriodic Seasonal Time Series Models with applications to U.S. macroeconomic data
Periodic Seasonal Time Series Models with applications to U.S. macroeconomic data ISBN 978 90 3610 246 9 Cover design: Crasborn Graphic Designers bno, Valkenburg a.d. Geul This book is no. 503 of the Tinbergen
More informationElements of Multivariate Time Series Analysis
Gregory C. Reinsel Elements of Multivariate Time Series Analysis Second Edition With 14 Figures Springer Contents Preface to the Second Edition Preface to the First Edition vii ix 1. Vector Time Series
More informationForecasting economic time series using unobserved components time series models
Forecasting economic time series using unobserved components time series models Siem Jan Koopman and Marius Ooms VU University Amsterdam, Department of Econometrics FEWEB, De Boelelaan 1105, 1081 HV Amsterdam
More informationThe linear regression model: functional form and structural breaks
The linear regression model: functional form and structural breaks Ragnar Nymoen Department of Economics, UiO 16 January 2009 Overview Dynamic models A little bit more about dynamics Extending inference
More informationARIMA Modelling and Forecasting
ARIMA Modelling and Forecasting Economic time series often appear nonstationary, because of trends, seasonal patterns, cycles, etc. However, the differences may appear stationary. Δx t x t x t 1 (first
More informationContinuous 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 informationEcon 423 Lecture Notes: Additional Topics in Time Series 1
Econ 423 Lecture Notes: Additional Topics in Time Series 1 John C. Chao April 25, 2017 1 These notes are based in large part on Chapter 16 of Stock and Watson (2011). They are for instructional purposes
More informationParameter Estimation for ARCH(1) Models Based on Kalman Filter
Applied Mathematical Sciences, Vol. 8, 2014, no. 56, 2783-2791 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ams.2014.43164 Parameter Estimation for ARCH(1) Models Based on Kalman Filter Jelloul
More informationState-Space Model in Linear Case
State-Space Model in Linear Case Hisashi Tanizaki Faculty of Economics, Kobe University Chapter 1 of Nonlinear Filters: Estimation and Applications Springer-Verlag, 1996 1 Introduction There is a great
More informationProf. Dr. Roland Füss Lecture Series in Applied Econometrics Summer Term Introduction to Time Series Analysis
Introduction to Time Series Analysis 1 Contents: I. Basics of Time Series Analysis... 4 I.1 Stationarity... 5 I.2 Autocorrelation Function... 9 I.3 Partial Autocorrelation Function (PACF)... 14 I.4 Transformation
More informationIS THE NORTH ATLANTIC OSCILLATION A RANDOM WALK? A COMMENT WITH FURTHER RESULTS
INTERNATIONAL JOURNAL OF CLIMATOLOGY Int. J. Climatol. 24: 377 383 (24) Published online 11 February 24 in Wiley InterScience (www.interscience.wiley.com). DOI: 1.12/joc.13 IS THE NORTH ATLANTIC OSCILLATION
More informationADAPTIVE TIME SERIES FILTERS OBTAINED BY MINIMISATION OF THE KULLBACK-LEIBLER DIVERGENCE CRITERION
ADAPTIVE TIME SERIES FILTERS OBTAINED BY MINIMISATION OF THE KULLBACK-LEIBLER DIVERGENCE CRITERION Elena L vovna Pervukhina 1, Jean-François Emmenegger 2 1 Sevastopol National Technical University, UKRAINE
More informationGARCH Models Estimation and Inference
GARCH Models Estimation and Inference Eduardo Rossi University of Pavia December 013 Rossi GARCH Financial Econometrics - 013 1 / 1 Likelihood function The procedure most often used in estimating θ 0 in
More informationTime Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY
Time Series Analysis James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY & Contents PREFACE xiii 1 1.1. 1.2. Difference Equations First-Order Difference Equations 1 /?th-order Difference
More informationMultivariate 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 informationPanel Data Models. James L. Powell Department of Economics University of California, Berkeley
Panel Data Models James L. Powell Department of Economics University of California, Berkeley Overview Like Zellner s seemingly unrelated regression models, the dependent and explanatory variables for panel
More informationSiem Jan Koopman 1,2 Marius Ooms 1 Irma Hindrayanto 1,2
TI 2006-101/4 Tinbergen Institute Discussion Paper Periodic Unobserved Cycles in Seasonal Time Series with an Application to US Unemployment Siem Jan Koopman 1,2 Marius Ooms 1 Irma Hindrayanto 1,2 1 Faculty
More informationEstimation and Inference on Dynamic Panel Data Models with Stochastic Volatility
Estimation and Inference on Dynamic Panel Data Models with Stochastic Volatility Wen Xu Department of Economics & Oxford-Man Institute University of Oxford (Preliminary, Comments Welcome) Theme y it =
More informationLecture 4: Dynamic models
linear s Lecture 4: s Hedibert Freitas Lopes The University of Chicago Booth School of Business 5807 South Woodlawn Avenue, Chicago, IL 60637 http://faculty.chicagobooth.edu/hedibert.lopes hlopes@chicagobooth.edu
More informationA Guide to Modern Econometric:
A Guide to Modern Econometric: 4th edition Marno Verbeek Rotterdam School of Management, Erasmus University, Rotterdam B 379887 )WILEY A John Wiley & Sons, Ltd., Publication Contents Preface xiii 1 Introduction
More informationExercises - Time series analysis
Descriptive analysis of a time series (1) Estimate the trend of the series of gasoline consumption in Spain using a straight line in the period from 1945 to 1995 and generate forecasts for 24 months. Compare
More informationMID-TERM EXAM ANSWERS. p t + δ t = Rp t 1 + η t (1.1)
ECO 513 Fall 2005 C.Sims MID-TERM EXAM ANSWERS (1) Suppose a stock price p t and the stock dividend δ t satisfy these equations: p t + δ t = Rp t 1 + η t (1.1) δ t = γδ t 1 + φp t 1 + ε t, (1.2) where
More informationFinancial Times Series. Lecture 12
Financial Times Series Lecture 12 Multivariate Volatility Models Here our aim is to generalize the previously presented univariate volatility models to their multivariate counterparts We assume that returns
More informationFactor Analysis and Kalman Filtering (11/2/04)
CS281A/Stat241A: Statistical Learning Theory Factor Analysis and Kalman Filtering (11/2/04) Lecturer: Michael I. Jordan Scribes: Byung-Gon Chun and Sunghoon Kim 1 Factor Analysis Factor analysis is used
More informationWhat Do Professional Forecasters Actually Predict?
What Do Professional Forecasters Actually Predict? Didier Nibbering Richard Paap Michel van der Wel Econometric Institute, Tinbergen Institute, Erasmus University Rotterdam October 4, 25 Abstract In this
More informationLinear Models and Estimation by Least Squares
Linear Models and Estimation by Least Squares Jin-Lung Lin 1 Introduction Causal relation investigation lies in the heart of economics. Effect (Dependent variable) cause (Independent variable) Example:
More informationA new unscented Kalman filter with higher order moment-matching
A new unscented Kalman filter with higher order moment-matching KSENIA PONOMAREVA, PARESH DATE AND ZIDONG WANG Department of Mathematical Sciences, Brunel University, Uxbridge, UB8 3PH, UK. Abstract This
More informationNonlinear State Estimation! Extended Kalman Filters!
Nonlinear State Estimation! Extended Kalman Filters! Robert Stengel! Optimal Control and Estimation, MAE 546! Princeton University, 2017!! Deformation of the probability distribution!! Neighboring-optimal
More informationKalman Filter and its Economic Applications
Kalman Filter and its Economic Applications Gurnain Kaur Pasricha University of California Santa Cruz, CA 95060 E-mail: gpasrich@ucsc.edu October 15, 2006 Abstract. The paper is an eclectic study of the
More informationFinancial Econometrics
Financial Econometrics Multivariate Time Series Analysis: VAR Gerald P. Dwyer Trinity College, Dublin January 2013 GPD (TCD) VAR 01/13 1 / 25 Structural equations Suppose have simultaneous system for supply
More informationCointegrating Regressions with Messy Regressors: J. Isaac Miller
NASMES 2008 June 21, 2008 Carnegie Mellon U. Cointegrating Regressions with Messy Regressors: Missingness, Mixed Frequency, and Measurement Error J. Isaac Miller University of Missouri 1 Messy Data Example
More informationAre Forecast Updates Progressive?
CIRJE-F-736 Are Forecast Updates Progressive? Chia-Lin Chang National Chung Hsing University Philip Hans Franses Erasmus University Rotterdam Michael McAleer Erasmus University Rotterdam and Tinbergen
More informationMeasurement Errors and the Kalman Filter: A Unified Exposition
Luiss Lab of European Economics LLEE Working Document no. 45 Measurement Errors and the Kalman Filter: A Unified Exposition Salvatore Nisticò February 2007 Outputs from LLEE research in progress, as well
More informationPhD/MA Econometrics Examination. January, 2015 PART A. (Answer any TWO from Part A)
PhD/MA Econometrics Examination January, 2015 Total Time: 8 hours MA students are required to answer from A and B. PhD students are required to answer from A, B, and C. PART A (Answer any TWO from Part
More informationConstructing a Coincident Index of Business Cycles Without Assuming a One-Factor Model
Constructing a Coincident Index of Business Cycles Without Assuming a One-Factor Model Roberto S Mariano Singapore Management University and the University of Pennsylvania Yasutomo Murasawa Osaka Prefecture
More informationEconometrics of Panel Data
Econometrics of Panel Data Jakub Mućk Meeting # 4 Jakub Mućk Econometrics of Panel Data Meeting # 4 1 / 30 Outline 1 Two-way Error Component Model Fixed effects model Random effects model 2 Non-spherical
More informationEstimating Missing Observations in Economic Time Series
Estimating Missing Observations in Economic Time Series A. C. Harvey London School of Economics, Houghton Street, London, WC2A 2AE, UK R. G. Pierse Department of Applied Economics, Cambridge University,
More informationAsymptotic quasi-likelihood based on kernel smoothing for nonlinear and non-gaussian statespace
University of Wollongong Research Online Faculty of Informatics - Papers (Archive) Faculty of Engineering and Information Sciences 2007 Asymptotic quasi-likelihood based on kernel smoothing for nonlinear
More informationThe Identification of ARIMA Models
APPENDIX 4 The Identification of ARIMA Models As we have established in a previous lecture, there is a one-to-one correspondence between the parameters of an ARMA(p, q) model, including the variance of
More informationThe Estimation of Simultaneous Equation Models under Conditional Heteroscedasticity
The Estimation of Simultaneous Equation Models under Conditional Heteroscedasticity E M. I and G D.A. P University of Alicante Cardiff University This version: April 2004. Preliminary and to be completed
More informationLocal linear forecasts using cubic smoothing splines
Local linear forecasts using cubic smoothing splines Rob J. Hyndman, Maxwell L. King, Ivet Pitrun, Baki Billah 13 January 2004 Abstract: We show how cubic smoothing splines fitted to univariate time series
More information9. AUTOCORRELATION. [1] Definition of Autocorrelation (AUTO) 1) Model: y t = x t β + ε t. We say that AUTO exists if cov(ε t,ε s ) 0, t s.
9. AUTOCORRELATION [1] Definition of Autocorrelation (AUTO) 1) Model: y t = x t β + ε t. We say that AUTO exists if cov(ε t,ε s ) 0, t s. ) Assumptions: All of SIC except SIC.3 (the random sample assumption).
More informationINDIAN INSTITUTE OF SCIENCE STOCHASTIC HYDROLOGY. Lecture -33 Course Instructor : Prof. P. P. MUJUMDAR Department of Civil Engg., IISc.
INDIAN INSTITUTE OF SCIENCE STOCHASTIC HYDROLOGY Lecture -33 Course Instructor : Prof. P. P. MUJUMDAR Department of Civil Engg., IISc. Summary of the previous lecture Regression on Principal components
More informationSimultaneous Equations and Weak Instruments under Conditionally Heteroscedastic Disturbances
Simultaneous Equations and Weak Instruments under Conditionally Heteroscedastic Disturbances E M. I and G D.A. P Michigan State University Cardiff University This version: July 004. Preliminary version
More informationAdvanced Econometrics
Based on the textbook by Verbeek: A Guide to Modern Econometrics Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies Vienna May 16, 2013 Outline Univariate
More informationClass: Trend-Cycle Decomposition
Class: Trend-Cycle Decomposition Macroeconometrics - Spring 2011 Jacek Suda, BdF and PSE June 1, 2011 Outline Outline: 1 Unobserved Component Approach 2 Beveridge-Nelson Decomposition 3 Spectral Analysis
More informationUnobserved. Components and. Time Series. Econometrics. Edited by. Siem Jan Koopman. and Neil Shephard OXFORD UNIVERSITY PRESS
Unobserved Components and Time Series Econometrics Edited by Siem Jan Koopman and Neil Shephard OXFORD UNIVERSITY PRESS CONTENTS LIST OF FIGURES LIST OF TABLES ix XV 1 Introduction 1 Siem Jan Koopman and
More informationThe regression model with one stochastic regressor (part II)
The regression model with one stochastic regressor (part II) 3150/4150 Lecture 7 Ragnar Nymoen 6 Feb 2012 We will finish Lecture topic 4: The regression model with stochastic regressor We will first look
More informationAutoregressive Moving Average (ARMA) Models and their Practical Applications
Autoregressive Moving Average (ARMA) Models and their Practical Applications Massimo Guidolin February 2018 1 Essential Concepts in Time Series Analysis 1.1 Time Series and Their Properties Time series:
More informationCore Inflation and Trend Inflation. Appendix
Core Inflation and Trend Inflation Appendix June 2015 (Revised November 2015) James H. Stock Department of Economics, Harvard University and the National Bureau of Economic Research and Mark W. Watson
More informationSome Theories about Backfitting Algorithm for Varying Coefficient Partially Linear Model
Some Theories about Backfitting Algorithm for Varying Coefficient Partially Linear Model 1. Introduction Varying-coefficient partially linear model (Zhang, Lee, and Song, 2002; Xia, Zhang, and Tong, 2004;
More informationMarkov-Switching Models with Endogenous Explanatory Variables. Chang-Jin Kim 1
Markov-Switching Models with Endogenous Explanatory Variables by Chang-Jin Kim 1 Dept. of Economics, Korea University and Dept. of Economics, University of Washington First draft: August, 2002 This version:
More informationDoes k-th Moment Exist?
Does k-th Moment Exist? Hitomi, K. 1 and Y. Nishiyama 2 1 Kyoto Institute of Technology, Japan 2 Institute of Economic Research, Kyoto University, Japan Email: hitomi@kit.ac.jp Keywords: Existence of moments,
More information