Time Series Model Estimation Materials for lecture 6 Read Chapter 15 pages 30 to 37 Lecture 6 Time Series.XLSX Lecture 6 Vector Autoregression.XLSX.

Slides:



Advertisements
Similar presentations
Cointegration and Error Correction Models
Advertisements

Managerial Economics in a Global Economy
Long run models in economics Professor Bill Mitchell Director, Centre of Full Employment and Equity School of Economics University of Newcastle Australia.
Using SAS for Time Series Data
STATIONARY AND NONSTATIONARY TIME SERIES
Non-stationary data series
Economics 20 - Prof. Anderson1 Testing for Unit Roots Consider an AR(1): y t =  +  y t-1 + e t Let H 0 :  = 1, (assume there is a unit root) Define.
Unit Roots & Forecasting
Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 7: Box-Jenkins Models – Part II (Ch. 9) Material.
Time Series Analysis Materials for this lecture Lecture 5 Lags.XLS Lecture 5 Stationarity.XLS Read Chapter 15 pages Read Chapter 16 Section 15.
R. Werner Solar Terrestrial Influences Institute - BAS Time Series Analysis by means of inference statistical methods.
Vector Error Correction and Vector Autoregressive Models
Seasonal Models Materials for this lecture Lecture 3 Seasonal Analysis.XLS Read Chapter 15 pages 8-18 Read Chapter 16 Section 14.
Multiple Regression Forecasts Materials for this lecture Demo Lecture 2 Multiple Regression.XLS Read Chapter 15 Pages 8-9 Read all of Chapter 16’s Section.
MACROECONOMETRICS LAB 3 – DYNAMIC MODELS.
Chapter 13 Multiple Regression
Simetar Download Download three files at: – Before installing Simetar do the following: –Download and install the latest Service Pack.
Find equation for Total Revenue Find equation for Marginal Revenue
Economics Prof. Buckles1 Time Series Data y t =  0 +  1 x t  k x tk + u t 1. Basic Analysis.
Chapter 10 Simple Regression.
Chapter 12 Simple Regression
Chapter 3 Simple Regression. What is in this Chapter? This chapter starts with a linear regression model with one explanatory variable, and states the.
Time Series Model Estimation Materials for this lecture Read Chapter 15 pages 30 to 37 Lecture 7 Time Series.XLS Lecture 7 Vector Autoregression.XLS.
Chapter 12 Multiple Regression
1 Ka-fu Wong University of Hong Kong Forecasting with Regression Models.
Cycles and Exponential Smoothing Models Materials for this lecture Lecture 4 Cycles.XLS Lecture 4 Exponential Smoothing.XLS Read Chapter 15 pages
Seasonal Models Materials for this lecture Lecture 3 Seasonal Analysis.XLS Read Chapter 15 pages 8-18 Read Chapter 16 Section 14.
Economics 20 - Prof. Anderson
Materials for Lecture 13 Purpose summarize the selection of distributions and their appropriate validation tests Explain the use of Scenarios and Sensitivity.
BCOR 1020 Business Statistics Lecture 24 – April 17, 2008.
Demand Estimation & Forecasting
MANAGERIAL ECONOMICS 12th Edition
Introduction to Linear Regression and Correlation Analysis
Chapter 11 Simple Regression
Linear Trend Lines Y t = b 0 + b 1 X t Where Y t is the dependent variable being forecasted X t is the independent variable being used to explain Y. In.
Seasonal Models Materials for this lecture Lecture 9 Seasonal Analysis.XLSX Read Chapter 15 pages 8-18 Read Chapter 16 Section 14 NOTE: The completed Excel.
Multiple Regression Forecasts Materials for this lecture Demo Lecture 8Multiple Regression.XLSX Read Chapter 15 Pages 8-9 Read all of Chapter 16’s Section.
Forecasting Techniques: Single Equation Regressions Su, Chapter 10, section III.
Introduction to Linear Regression
Intervention models Something’s happened around t = 200.
Economic Optimization Chapter 2. Chapter 2 OVERVIEW   Economic Optimization Process   Revenue Relations   Cost Relations   Profit Relations 
Cointegration in Single Equations: Lecture 6 Statistical Tests for Cointegration Thomas 15.2 Testing for cointegration between two variables Cointegration.
Lecture 12 Time Series Model Estimation
Lecture 2: The Basics of Supply and DemandSlide 1 Topics to Be Discussed Supply and Demand The Market Mechanism Changes in Market Equilibrium Elasticities.
Time Series Analysis Lecture 11
Lecture by: Jacinto Fabiosa Fall 2005 Methodology in Economics.
1 Forecasting/ Causal Model MGS Forecasting Quantitative Causal Model Trend Time series Stationary Trend Trend + Seasonality Qualitative Expert.
Multiple Regression Analysis: Estimation. Multiple Regression Model y = ß 0 + ß 1 x 1 + ß 2 x 2 + …+ ß k x k + u -ß 0 is still the intercept -ß 1 to ß.
Byron Gangnes Econ 427 lecture 18 slides Multivariate Modeling (cntd)
Cycles and Exponential Smoothing Models Materials for this lecture Lecture 10 Cycles.XLS Lecture 10 Exponential Smoothing.XLSX Read Chapter 15 pages
Lecture 9 Seasonal Models Materials for this lecture Lecture 9 Seasonal Analysis.XLSX Read Chapter 15 pages 8-18 Read Chapter 16 Section 14.
Lecture 12 Time Series Model Estimation Materials for lecture 12 Read Chapter 15 pages 30 to 37 Lecture 12 Time Series.XLSX Lecture 12 Vector Autoregression.XLSX.
Financial Econometrics Lecture Notes 4
Chapter 4 Basic Estimation Techniques
Lecture 12 Time Series Model Estimation
About the Exam No cheat sheet Bring a calculator
Lecture 9 Seasonal Models
Lecture 9 Seasonal Models
Financial Econometrics Lecture Notes 2
Economics 5310 Lecture 26 Causality, VAR.
Managerial Economics & Business Strategy
Cycles and Exponential Smoothing Models
Chapter 11 Simple Regression
STATIONARY AND NONSTATIONARY TIME SERIES
Lecture 22 Preview: Simultaneous Equation Models – Introduction
Vector AutoRegression models (VARs)
Multiple Regression Analysis: Estimation
BEC 30325: MANAGERIAL ECONOMICS
BEC 30325: MANAGERIAL ECONOMICS
Presentation transcript:

Time Series Model Estimation Materials for lecture 6 Read Chapter 15 pages 30 to 37 Lecture 6 Time Series.XLSX Lecture 6 Vector Autoregression.XLSX

Time Series Model Estimation Outline for this lecture –Review stationarity and no. of lags lecture –Discuss model estimation –Demonstrate how to estimate Time Series (AR) models with Simetar –Interpretation of model results –How you forecast the results for an AR model

Time Series Model Estimation Plot the data to see what kind of series you are analyzing Make the series stationary by determining the optimal number of differences based on =DF() test, say D i,t Determine the number of lags to use in the AR model based on =AUTOCORR() or =ARLAG() D i,t =a + b 1 D i,t-1 + b 2 D i,t-2 +b 3 D i,t-3 + b 4 D i,t-4 Create all of the data lags and estimate the model using OLS (or use Simetar)

Time Series Model Estimation An alternative to estimating the differences and lag variables by hand and using an OLS regression package, use Simetar Simetar time series function is driven by a menu

Time Series Model Estimation Read output as a regression output –Beta coefficients are OLS slope coefficients –SE of Coef used to calculate t ratios to determine which lags are significant –For goodness of fit refer to AIC, SIC and MAPE –Can test restricting out lags (variables)

Before You Estimate TS Model (Review) Dickey-Fuller test indicates whether the data series used for the model, D i,t, is stationary and if the model is D 2,t = a + b 1 D 1,t the DF it indicates that t stat for b 1 is < Augmented DF test indicates whether the data series Di,t are stationary, if we added a trend to the model and one or more lags D i,t =a + b 1 D i,t-1 + b 2 D i,t-2 +b 3 D i,t-3 + b 4 T t SIC indicates the value of the Schwarz Criteria for the number lags and differences used in estimation –Change the number of lags and observe the SIC change AIC indicates the value of the Aikia information criteria for the number lags used in estimation –Change the number of lags and observe the AIC change –Best number of lags is where AIC is minimized Changing number of lags also changes the MAPE and SD residuals

Time Series Model Forecasting Assume a series that is stationary and has T observations of data so estimate the model as an AR(0 difference, 1 lag) Forecast the first period ahead as Ŷ T+1 = a + b 1 Y T Forecast the second period ahead as Ŷ T+2 = a + b 1 Ŷ T+1 Continue in this fashion for more periods This ONLY works if Y is stationary, based on the DF test for zero lags

Time Series Model Forecasting What if D 1,t was stationary? How do you forecast? First period ahead forecast is D 1,T = Y T – Y T-1 D̂ 1,T+1 = a + b 1 D 1,T Add the forecasted D 1,T+1 to Y T to forecast Ŷ T+1 Ŷ T+1 = Y T + D̂ 1,T+1

Time Series Model Forecasting Continued Second period ahead forecast is D̂ 1,T+2 = a + b D̂ 1,T+1 Ŷ T+2 = Ŷ T+1 + D̂ 1,T+2 Repeat the process for period 3 and so on This is referred to as the chain rule of forecasting

For estimated Model D 1,t = D 1,T-1 YearHistory and Forecast Ŷ T+i Change Ŷ or D̂ 1,T Forecast D 1T+i Forecast Ŷ T+i T T = *(-98) = ( ) T = *(-37.9) = (-12.22) T = *(-12.19) = (-1.198) T

Time Series Model Forecast

Time Series Model Estimation Impulse Response Function –Shows the impact of a 1 unit change in Y T on the forecast values of Y over time –Good model is one where impacts decline to zero in short number of periods

Time Series Model Estimation Impulse Response Function will die slowly if the model has to many lags Same data series fit with 1 lag and a 6 lag model

Time Series Model Estimation Dynamic stochastic Simulation of a time series model Lecture 6

Time Series Model Estimation Look at the simulation in Lecture 6 Time Series.XLS

Time Series Model Estimation Result of a dynamic stochastic simulation

Vector Autoregressive (VAR) Models VAR models a time series models where two or more variables are thought to be correlated and together they explain more than one variable by itself For example forecasting –Sales and Advertising –Money supply and interest rate –Supply and Price We are assuming that Y t = f(Y t-i and Z t-i )

VAR Time Series Model Estimation Take the example of advertising and sales A T+i = a +b 1 DA 1,T-1 + b 2 DA 1,T-2 + c 1 DS 1,T-1 + c 2 DS 1,T-2 S T+i = a +b 1 DS 1,T-1 + b 2 DS 1,T-2 + c 1 DA 1,T-1 + c 2 DA 1,T-2 Where A is advertising and S is sales DA is the difference for A DS is the difference for S In this model we fit A and S at the same time and A is affected by its lag differences and the lagged differences for S The same is true for S affected by its own lags and those of A

Time Series Model Estimation Advertising and sales VAR model Highlight two columns Specify number of lags Specify number differences

Time Series Model Estimation Advertising and sales VAR model

Equilibrium Displacement Model Forecasting Elasticities of demand and supply can be used to forecast changes in price, quantity demanded and quantity supplied Small changes in the exogenous variables allows one to forecast the dependent variable This method is simple and reliable for small changes from equilibrium Information needed: –A Baseline of equilibrium quantities and prices –Own and cross elasticities for demand and supply –Residuals from trend (or a structural model) for the dependent variable if the forecast is to be stochastic

Equilibrium Displacement Model Forecasting Baseline prices and quantities are available from FAPRI, USDA, and some private consulting firms Here is an example of the corn S&U from the FAPRI March 2013 Baseline

Equilibrium Displacement Model Forecasting To forecast a price change given a change in quantity supplied Price 1 = P 0 * [1 + Price Flex *( Q 1 - Q 0 ) / Q 0 )] + ẽ P 0 and Q 0 are baseline values Q 1 is assumed change Price Q/UT Q0Q0 Q1Q1 P0P0 ?P 1 Demand

Equilibrium Displacement Model Forecasting To forecast the Q Supplied given a change in price Qt Supplied 1 = Qs 0 * [1 + E s *( P 1 - P 0 ) / P 0 )] + ẽ P 0 and Q 0 are baseline values P 1 is assumed change Price Q/UT Q0Q0 ?Q 1 P0P0 P1P1 Supply

Equilibrium Displacement Model Forecasting We can expand the supply response equation by including cross elasticities Qt Supplied x = Qsx 0 * (1 + [Ex s *( Px 1 - Px 0 ) / Px 0 )] + [Ex,y s *( Py 1 - Py 0 ) / Py 0 )] + [Ex,z s *( Pz 1 - Pz 0 ) / Pz 0 )] ) + ẽ Where x is the own crop (say, corn) and y is the price of soybeans, and z is the price of wheat The supply response equation can be expanded to contain cross elasticities for all other crops Note: Ex,y s is the elasticity of corn supply with respect to the price of soybeans

Equilibrium Displacement Model Forecasting Elasticity of demand equation can be used to forecast quantity exported, or quantity demanded for ethanol or any other quantity demanded All we need is the Baseline quantity demanded, baseline price and the own and cross elasticity QD 1 = QD 0 * (1 + ED for exports * ( P 1 - P 0 ) / P 0 )) + ẽ Price Q/UT Q0Q0 ?Q 1 P0P0 P1P1 Demand for Exports

Equilibrium Displacement Model Forecasting This method of forecasting is widely used in agricultural economics Particularly useful for policy analysis and consulting This is why economists place so much emphasis on estimating unbiased elasticities