1 Power Nine Econ 240C. 2 Outline Lab Three Exercises Lab Three Exercises –Fit a linear trend to retail sales –Add a quadratic term –Use both models to.

Slides:



Advertisements
Similar presentations
FINANCIAL TIME-SERIES ECONOMETRICS SUN LIJIAN Feb 23,2001.
Advertisements

Autocorrelation Functions and ARIMA Modelling
Part II – TIME SERIES ANALYSIS C5 ARIMA (Box-Jenkins) Models
Analysis of Sales of Food Services & Drinking Places Julianne Shan Ho-Jung Hsiao Christian Treubig Lindsey Aspel Brooks Allen Edmund Becdach.
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 Building 1. Model Identification
R. Werner Solar Terrestrial Influences Institute - BAS Time Series Analysis by means of inference statistical methods.
Economics 310 Lecture 25 Univariate Time-Series Methods of Economic Forecasting Single-equation regression models Simultaneous-equation regression models.
How should these data be modelled?. Identification step: Look at the SAC and SPAC Looks like an AR(1)- process. (Spikes are clearly decreasing in SAC.
BABS 502 Lecture 9 ARIMA Forecasting II March 23, 2009.
Forecasting Gas Prices Rory Hofstatter Shu-He Lin Chia-Jung Liu Claudia Muyle Sooyeon Shin Adam Sutton.
1 ECON 240C Lecture Outline Box-Jenkins Passengers Box-Jenkins Passengers Displaying the Forecast Displaying the Forecast Recoloring Recoloring.
1 Power Nine Econ 240C. 2 Outline Lab Three Exercises Lab Three Exercises –Fit a linear trend to retail and food sales –Add a quadratic term –Use both.
1 Econ 240 C Lecture 3. 2 Part I Modeling Economic Time Series.
1 Econ 240 C Lecture White noise inputoutput 1/(1 – z) White noise input output Random walkSynthesis 1/(1 – bz) White noise input output.
United States Imports Michael Williams Kevin Crider Andreas Lindal Jim Huang Juan Shan.
Modeling Cycles By ARMA
1 Econ 240 C Lecture Time Series Concepts Analysis and Synthesis.
1 Takehome One month treasury bill rate.
1 Lecture Eleven Econ 240C. 2 Outline Review Stochastic Time Series –White noise –Random walk –ARONE: –ARTWO –ARTHREE –ARMA(2,2) –MAONE*SMATWELVE.
1 Power 2 Econ 240C. 2 Lab 1 Retrospective Exercise: –GDP_CAN = a +b*GDP_CAN(-1) + e –GDP_FRA = a +b*GDP_FRA(-1) + e.
Revenue Passenger Miles (RPM) Brandon Briggs, Theodore Ehlert, Mats Olson, David Sheehan, Alan Weinberg.
1 Econ 240 C Lecture 6. 2 Part I: Box-Jenkins Magic ARMA models of time series all built from one source, white noise ARMA models of time series all built.
1 Identifying ARIMA Models What you need to know.
Car Sales Analysis of monthly sales of light weight vehicles. Laura Pomella Karen Chang Heidi Braunger David Parker Derek Shum Mike Hu.
1 Lab Five. 2 Dark Northern Spring Wheat Import price in dollars in Japan: dnsj Import price in dollars in Japan: dnsj.
1 Power Nine Econ 240C. 2 Outline Lab Three Exercises Lab Three Exercises –Fit a linear trend to retail and food sales –Add a quadratic term –Use both.
1 Econ 240 C Lecture 3. 2 Time Series Concepts Analysis and Synthesis.
1 Power Nine Econ 240C. 2 Outline Lab Three Exercises Lab Three Exercises –Fit a linear trend to retail and food sales –Add a quadratic term –Use both.
1 Econ 240C Lecture Five. 2 Outline w Box-Jenkins Models: the grand design w What do you need to learn? w Preview of partial autocorrelation function.
1 ECON 240C Lecture 8. 2 Outline: 2 nd Order AR Roots of the quadratic Roots of the quadratic Example: capumfg Example: capumfg Polar form Polar form.
1 Takehome One Excaus:Price of US $ in Canadian $
1 Arch-Garch Lab Nine. 2 Producer Price Index for Finished Goods, 1982 =100, –
Global Analysts Eirik Skeid, Anders Graham, Bradley Moore, Matthew Scott Tor Seim, Steven Comstock.
Personal Savings as a Percentage of Disposable Personal Income Take Home II June 4 th, 2009 June 4 th, 2009 Marissa Pittman Morgan Hansen Eric Griffin.
Project Average Weekly Hours, Manufacturing.
1 ECON 240C Lecture 8. 2 Outline: 2 nd Order AR Roots of the quadratic Roots of the quadratic Example: change in housing starts Example: change in housing.
ARIMA Forecasting Lecture 7 and 8 - March 14-16, 2011
Introduction At the start of most beginning economics courses we learn the economics is a science aimed toward answering the following questions: 1.What.
Economics 20 - Prof. Anderson
Modern methods The classical approach: MethodProsCons Time series regression Easy to implement Fairly easy to interpret Covariates may be added (normalization)
1 ECON 240C Lecture 8. 2 Part I. Economic Forecast Project Santa Barbara County Seminar Santa Barbara County Seminar  April 22, 2004 (April 17, 2003)
Forecasting World Wide Pandemics Using Google Flu Data to Forecast the Flu Brian Abe Dan Helling Eric Howard Ting Zheng Laura Braeutigam Noelle Hirneise.
1 Lab Four Postscript Econ 240 C. 2 Airline Passengers.
Quantitative Business Analysis for Decision Making Simple Linear Regression.
Zhen Tian Jeff Lee Visut Hemithi Huan Zhang Diana Aguilar Yuli Yan A Deep Analysis of A Random Walk.
1 ECON 240C Lecture 8. 2 Outline: 2 nd Order AR Roots of the quadratic Roots of the quadratic Example: change in housing starts Example: change in housing.
Matt Mullens Gulsah Gunenc Alex Keyfes Gaoyuan Tian Andrew Booth.
BOX JENKINS METHODOLOGY
Box Jenkins or Arima Forecasting. H:\My Documents\classes\eco346\Lectures\chap ter 7\Autoregressive Models.docH:\My Documents\classes\eco346\Lectures\chap.
Autoregressive Integrated Moving Average (ARIMA) Popularly known as the Box-Jenkins methodology.
It’s About Time Mark Otto U. S. Fish and Wildlife Service.
John G. Zhang, Ph.D. Harper College
Autocorrelation, Box Jenkins or ARIMA Forecasting.
Big Data at Home Depot KSU – Big Data Survey Course Steve Einbender Advanced Analytics Architect.
MULTIVARIATE TIME SERIES & FORECASTING 1. 2 : autocovariance function of the individual time series.
Case 2 Review Brad Barker, Benjamin Milroy, Matt Sonnycalb, Kristofer Still, Chandhrika Venkataraman Time Series - February 2013.
The Box-Jenkins (ARIMA) Methodology
Seasonal ARIMA FPP Chapter 8.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 14 l Time Series: Understanding Changes over Time.
Ch16: Time Series 24 Nov 2011 BUSI275 Dr. Sean Ho HW8 due tonight Please download: 22-TheFed.xls 22-TheFed.xls.
Subodh Kant. Auto-Regressive Integrated Moving Average Also known as Box-Jenkins methodology A type of linear model Capable of representing stationary.
Review of Unit Root Testing D. A. Dickey North Carolina State University (Previously presented at Purdue Econ Dept.)
Covariance, stationarity & some useful operators
Case study 4: Multiplicative Seasonal ARIMA Model
Chapter 6: Autoregressive Integrated Moving Average (ARIMA) Models
ECON 240C Lecture 7.
Case study 3: SEASONAL ARIMA MODEL
BOX JENKINS (ARIMA) METHODOLOGY
Chap 7: Seasonal ARIMA Models
Presentation transcript:

1 Power Nine Econ 240C

2 Outline Lab Three Exercises Lab Three Exercises –Fit a linear trend to retail sales –Add a quadratic term –Use both models to forecast 1 period ahead Lab Five Preview Lab Five Preview –Airline passengers

3 Lab Three Exercises Process Identification Identification –Spreadsheet –Trace –Histogram –Correlogram –Unit root test Estimation Estimation Validation Validation

5

6

7

8

9

10 Lab Three Exercises Process Identification Identification –Spreadsheet: check variable values –Trace: trended series –Histogram: similar to “random walk” –Correlogram: similar to a “random walk” –Unit root test: evolutionary Estimation Estimation Validation Validation

11 Note: low D-W

12 Process Validating the model Validating the model –Actual, fitted, residual –Correlogram of the residuals –Histogram of the residuals

13 Note: autocorrelated residuals

14 Note autocorrelated residuals

15 Surprise: residuals are normal, but not orthogonal

16 Add the quadratic term

17 SER is lower: 3737 Vs. 4860, D-W still low

18 Autocorrelated residual

19 Autocorrelated residual

20 Residual is no longer normal

21 One Period Ahead Forecasts: Linear Retail( ) = retail-fitted( ) + slope Retail( ) = retail-fitted( ) + slope Forecast = = , with ser = 4860 Forecast = = , with ser = 4860

22

23

24

25 One Period Ahead Forecast: Quadratic Retail(t) = a + b*trnd + c*trnd 2 Retail(t) = a + b*trnd + c*trnd 2 d retail(t)/d trend = b + 2*c*trnd = *0.190*468 = d retail(t)/d trend = b + 2*c*trnd = *0.190*468 = Retail( ) = retail-fitted( ) = 147, = with ser = 3737 Retail( ) = retail-fitted( ) = 147, = with ser = 3737

26 SER is lower: 3737 Vs. 4860, D-W still low b = 128.2, c = 0.19

27 Trnd( ) = 468

28 Retail-fitted( ) = 147,239

29

30

31 Now we know another way to forecast First difference retail First difference retail

32

33 Looks stationary

34 kurtotic

35 Possibly an ARTWO

36 No unit root

37 Note: the constant 221 is close to the Slope, 215, for the Linear trend model

38

39 Q-stats ok until Lag 16

40

41 One period ahead forecast Dretailf( ) = with ser of 1230 Dretailf( ) = with ser of 1230 Retailf( ) = retail( ) + dretailf( ) Retailf( ) = retail( ) + dretailf( ) Retailf( ) = 151,631 – 240.7=151,390.3 Retailf( ) = 151,631 – 240.7=151,390.3 Linear trend forecast: 140,553 with ser = 4860 Linear trend forecast: 140,553 with ser = 4860 Quadratic forecast: 147,543 with ser =3737 Quadratic forecast: 147,543 with ser =3737 Actual observed: retail( ) = 149,918 Actual observed: retail( ) = 149,918 So the ARTWO model is closest So the ARTWO model is closest

42 dretail ARTWO Model

43 dretail ARTWO model forecast

44 One period ahead forecast cont. Add an ar(1) term to the quadratic model: forecast( ) = 151,763 with ser = 1252 Add an ar(1) term to the quadratic model: forecast( ) = 151,763 with ser = 1252 So dretail is still closest So dretail is still closest Add ar(1) ar(2) ar(3) terms to the quadratic: forecast( ) = 151,457 with ser = 1223; Add ar(1) ar(2) ar(3) terms to the quadratic: forecast( ) = 151,457 with ser = 1223; Still closest with ARTWO model for dretail, but not by much Still closest with ARTWO model for dretail, but not by much

45 ARTHREE Model for Quadratic Trend model of Retail

46 ARTHREE Model for Retail

47 Residuals from Quad. trend model plus ARTHREE

48

49 Preview of Lab Five A Box-Jenkins famous time series: airline passengers A Box-Jenkins famous time series: airline passengers –Trend in mean –Trend in variance –seasonality Prewhitening Prewhitening –Log transform –First difference –Seasonal difference

50

51

52

53 Note trend from Spike in pacf at Lag one; seasonal Pattern in ACF

54

55

56 Log transform is fix for trend in Var

57 First difference for trend in mean Looks more stationary but is it?

58

59 Note seasonal peaks at, 12 24, etc.

60 No unit root, but Correlogram shows Seasonal Dependence on time

61

62

63

64 Note: sddlnbjpass is normal

65 Closer to white Noise; proposed Model ma(1), ma(12)

66

67

68 Satisfactory Model from Q-stats

69 And the residuals from the model are normal

70 How to use the model to forecast Forecast sddlnbjpass Forecast sddlnbjpass recolor recolor

71

72