1 Econ 240 C Lecture 3. 2 Part I Modeling Economic Time Series.

Slides:



Advertisements
Similar presentations
DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Exam 1 review: Quizzes 1-6.
Advertisements

COINTEGRATION 1 The next topic is cointegration. Suppose that you have two nonstationary series X and Y and you hypothesize that Y is a linear function.
Augmented Dickey-Fuller Test Equation Dependent Variable: D(LGDPI) Method: Least Squares Sample (adjusted): Included observations: 44 after adjustments.
============================================================ Dependent Variable: LGHOUS Method: Least Squares Sample: Included observations:
AUTOCORRELATION 1 The third Gauss-Markov condition is that the values of the disturbance term in the observations in the sample be generated independently.
FITTING MODELS WITH NONSTATIONARY TIME SERIES 1 Detrending Early macroeconomic models tended to produce poor forecasts, despite having excellent sample-period.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Three Ending Tuesday, September 11 (Note: You must go over these slides and complete every.
1 TIME SERIES MODELS: STATIC MODELS AND MODELS WITH LAGS In this sequence we will make an initial exploration of the determinants of aggregate consumer.
Angela Sordello Christopher Friedberg Can Shen Hui Lai Hui Wang Fang Guo.
Factors Determining the Price Of Used Mid- Compact Size Vehicles Team 4.
1 Lecture Twelve. 2 Outline Failure Time Analysis Linear Probability Model Poisson Distribution.
TAKE HOME PROJECT 2 Group C: Robert Matarazzo, Michael Stromberg, Yuxing Zhang, Yin Chu, Leslie Wei, and Kurtis Hollar.
Marietta College Week 14 1 Tuesday, April 12 2 Exam 3: Monday, April 25, 12- 2:30PM Bring your laptops to class on Thursday too.
1 Econ 240 C Lecture White noise inputoutput 1/(1 – z) White noise input output Random walkSynthesis 1/(1 – bz) White noise input output.
Is There a Difference?. How Should You Vote? Is “Big Government” better?Is “Big Government” better? –Republicans want less government involvement. –Democrats.
Global Warming: Is It True? Peter Fuller Odeliah Greene Amanda Smith May Zin.
1 Econ 240 C Lecture Time Series Concepts Analysis and Synthesis.
Econ 240C Lecture Review 2002 Final Ideas that are transcending p. 15 Economic Models of Time Series Symbolic Summary.
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.
Determents of Housing Prices. What & WHY Our goal was to discover the determents of rising home prices and to identify any anomies in historic housing.
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.
Car Sales Analysis of monthly sales of light weight vehicles. Laura Pomella Karen Chang Heidi Braunger David Parker Derek Shum Mike Hu.
1 Econ 240C Lecture Five Outline w Box-Jenkins Models w Time Series Components Model w Autoregressive of order one.
1 Econ 240 C Lecture 3. 2 Time Series Concepts Analysis and Synthesis.
1 Econ 240C Power Outline The Law of One Price.
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 240A Power 7. 2 This Week, So Far §Normal Distribution §Lab Three: Sampling Distributions §Interval Estimation and HypothesisTesting.
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 ECON 240C Lecture 8. 2 Part I. Economic Forecast Project Santa Barbara County Seminar –April 17, 2003 URL:
QA-3 FRM-GARP Sep-2001 Zvi Wiener Quantitative Analysis 3.
Determining what factors have an impact on the burglary rate in the United States Team 7 : Adam Fletcher, Branko Djapic, Ivan Montiel, Chayaporn Lertarattanapaiboon,
Violent Crime in America ECON 240A Group 4 Thursday 3 December 2009.
Lecture Week 3 Topics in Regression Analysis. Overview Multiple regression Dummy variables Tests of restrictions 2 nd hour: some issues in cost of capital.
Alcohol Consumption Allyson Cady Dave Klotz Brandon DeMille Chris Ross.
California Expenditure VS. Immigration By: Daniel Jiang, Keith Cochran, Justin Adams, Hung Lam, Steven Carlson, Gregory Wiefel Fall 2003.
1 Lecture One Econ 240C. 2 Outline Pooling Time Series and Cross- Section Review: Analysis of Variance –one-way ANOVA –two-way ANOVA Pooling Examples.
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.
GDP Published by: Bureau of Economic Analysis Frequency: Quarterly Period Covered: prior quarter Volatility: Moderate Market significance: very high Web.
1 Lecture One Econ 240C. 2 Einstein’s blackboard, Theory of relativity, Oxford, 1931.
1 Econ 240C Lecture Five Outline w Box-Jenkins Models w Time Series Components Model w Autoregressive of order one.
FRM Zvi Wiener Following P. Jorion, Financial Risk Manager Handbook Financial Risk Management.
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)
1 Econ 240A Power 7. 2 Last Week §Normal Distribution §Lab Three: Sampling Distributions §Interval Estimation and HypothesisTesting.
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.
1 Power Fifteen Analysis of Variance (ANOVA). 2 Analysis of Variance w One-Way ANOVA Tabular Regression w Two-Way ANOVA Tabular Regression.
Forecasting Fed Funds Rate Group 4 Neelima Akkannapragada Chayaporn Lertrattanapaiboon Anthony Mak Joseph Singh Corinna Traumueller Hyo Joon You.
U.S. Tax Revenues and Policy Implications A Time Series Approach Group C: Liu He Guizi Li Chien-ju Lin Lyle Kaplan-Reinig Matthew Routh Eduardo Velasquez.
Matt Mullens Gulsah Gunenc Alex Keyfes Gaoyuan Tian Andrew Booth.
EC220 - Introduction to econometrics (chapter 12)
DURBIN–WATSON TEST FOR AR(1) AUTOCORRELATION
FORECASTING WITH REGRESSION MODELS TREND ANALYSIS BUSINESS FORECASTING Prof. Dr. Burç Ülengin ITU MANAGEMENT ENGINEERING FACULTY FALL 2011.
Predicting volatility: a comparative analysis between GARCH Models and Neural Network Models MCs Student: Miruna State Supervisor: Professor Moisa Altar.
What decides the price of used cars? Group 1 Jessica Aguirre Keith Cody Rui Feng Jennifer Griffeth Joonhee Lee Hans-Jakob Lothe Teng Wang.
The Academy of Economic Studies Bucharest Doctoral School of Banking and Finance DISSERTATION PAPER CENTRAL BANK REACTION FUNCTION MSc. Student: ANDRA.
1 Economics 240A Power Eight. 2 Outline n Maximum Likelihood Estimation n The UC Budget Again n Regression Models n The Income Generating Process for.
NONPARAMETRIC MODELING OF THE CROSS- MARKET FEEDBACK EFFECT.
SPURIOUS REGRESSIONS 1 In a famous Monte Carlo experiment, Granger and Newbold fitted the model Y t =  1 +  2 X t + u t where Y t and X t were independently-generated.
AUTOCORRELATION 1 Assumption C.5 states that the values of the disturbance term in the observations in the sample are generated independently of each other.
FUNCTIONAL FORMS OF REGRESSION MODELS Application 5.
Air pollution is the introduction of chemicals and biological materials into the atmosphere that causes damage to the natural environment. We focused.
EC208 – Introductory Econometrics. Topic: Spurious/Nonsense Regressions (as part of chapter on Dynamic Models)
Partial Equilibrium Framework Empirical Evidence for Argentina ( )
1 Econ 240C Lecture Five. 2 Part I: Time Series Components Model w The conceptual framework for inertial (mechanical) time series models: w Time series.
Econ 240 C Lecture 4.
Econ 240C Lecture 18.
ECON 240C Lecture 7.

BOX JENKINS (ARIMA) METHODOLOGY
Presentation transcript:

1 Econ 240 C Lecture 3

2 Part I Modeling Economic Time Series

3 Total Returns to Standard and Poors 500, Monthly, Source: FRED

4 Analysis (Decomposition) Lesson one: plot the time series

5 Model One: Random Walks Last time we characterized the logarithm of total returns to the Standard and Poors 500 as trend plus a random walk. Ln S&P 500(t) = trend + random walk = a + b*t + RW(t)

6 Trace of ln S&P 500(t) TIME LNSP500 Logarithm of Total Returns to Standard & Poors 500

7 Analysis(Decomposition) Lesson one: Plot the time series Lesson two: Use logarithmic transformation to linearize

8 Ln S&P 500(t) = trend + RW(t) Trend is an evolutionary process, i.e. depends on time explicitly, a + b*t, rather than being a stationary process, i. e. independent of time A random walk is also an evolutionary process, as we will see, and hence is not stationary

9 Model One: Random Walks This model of the Standard and Poors 500 is an approximation. As we will see, a random walk could wander off, upward or downward, without limit. Certainly we do not expect the Standard and Poors to move to zero or into negative territory. So its lower bound is zero, and its model is an approximation.

10 Model One: Random Walks The random walk model as an approximation to economic time series –Stock Indices –Commodity Prices –Exchange Rates

11 Model Two: White Noise Last time we saw that the difference in a random walk was white noise.

12 Model Two: White Noise How good an approximation is the white noise model? Take first difference of ln S&P 500(t) and plot it and look at its histogram.

13 Trace of ln S&P 500(t) – ln S&P(t-1)

14 Histogram of ln S&P 500(t) – ln S&P(t-1)

15 The First Difference of ln S&P 500(t)  ln S&P 500(t)=ln S&P 500(t) - ln S&P 500(t-1)  ln S&P 500(t) = a + b*t + RW(t) - {a + b*(t-1) + RW(t-1)}  ln S&P 500(t) = b +  RW(t) = b + WN(t) Note that differencing ln S&P 500(t) where both components, trend and the random walk were evolutionary, results in two components, a constant and white noise, that are stationary.

16 Analysis(Decomposition) Lesson one: Plot the time series Lesson two: Use logarithmic transformation to linearize Lesson three: Use difference transformation to reduce an evolutionary process to a stationary process

17 Model Two: White Noise Kurtosis or fat tails tend to characterize financial time series

18 The Lag Operator, Z Z x(t) = x(t-1) Z n x(t) = x(t-n) RW(t) – RW(t-1) = (1 – Z) RW(t) =  RW(t) = WN(t) So the difference operator,  can be written in terms of the lag operator,  = (1 – Z)

19 Model Three: Autoregressive Time Series of Order One An analogy to our model of trend plus shock for the logarithm of the Standard Poors is inertia plus shock for an economic time series such as the ratio of inventory to sales for total business Source: FRED

20 Trace of Inventory to Sales, Total Business

21 Analogy Trend plus random walk: Ln S&P 500(t) = a + b*t + RW(t) where RW(t) = RW(t-1) + WN(t) inertia plus shock Ratioinvsale(t) = b*Ratioinvsale(t-1) + WN(t)

22 Model Three: Autoregressive of First Order Note: RW(t) = 1*RW(t-1) + WN(t) where the coefficient b = 1 Contrast ARONE(t) = b*ARONE(t-1) + WN(t) What would happen if b were greater than one?

23 Using Simulation to Explore Time Series Behavior Simulating White Noise: EVIEWS: new workfile, irregular, 1000 observations, GENR WN = NRND

24 Trace of Simulated White Noise: 100 Observations

25 Histogram of Simulated White Noise

26 Simulated ARONE Process SMPL 1 1, GENR ARONE = WN SMPL GENR ARONE =1.1* ARONE(-1) + WN Smpl

27 Simulated Unstable First Order Autoregressive Process

28 First 10 Observations of ARONE obsWNARONE

29 Model Three: Autoregressive What if b= -1.1? ARONE*(t) = -1.1*ARONE*(t-1) + WN(t) SMPL 1 1, GENR ARONE* = WN SMPL GENR ARONE* = -1.1*ARONE*(-1) + WN SMPL

30 Simulated Autoregressive, b=-1.1

31 Model Three: Conclusion For Stability ( stationarity) -1<b<1

32 Part II Forecasting: A preview of coming attractions

33 Ratio of Inventory to Sales EVIEWS Model: Ratioinvsale(t) = c + AR(1) Ratioinvsale is a constant plus an autoregressive process of the first order AR(t) = b*AR(t-1) + WN(t) Note: Ratioinvsale(t) - c = AR(t), so Ratioinvsale(t) - c = b*{ Ratioinvsale(t-1) - c} + WN (t)

34 Ratio of Inventory to Sales Use EVIEWS to estimate coefficients c and b. Forecast of Ratioinvsale at time t is based on knowledge at time t-1 and earlier (information base) Forecast at time t-1 of Ratioinsale at time t is our expected value of Ratioinvsale at time t

35 One Period Ahead Forecast E t-1 [Ratioinvsale(t)] is: E t-1 [Ratioinvsale(t) - c] = E t-1 [Ratioinvsale(t)] - c = Forecast - c = b*E t-1 [Ratioinvsale(t-1) - c] + E t-1 [WN(t)] Forecast = c + b*Ratioinvsale(t-1) -b*c + 0

36 Dependent Variable: RATIOINVSALE Method: Least Squares Date: 04/08/03 Time: 13:56 Sample(adjusted): 1992: :01 Included observations: 132 after adjusting endpoints Convergence achieved after 3 iterations VariableCoefficientStd. Errort-StatisticProb. C AR(1) R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criterion Sum squared resid Schwarz criterion Log likelihood F-statistic Durbin-Watson stat Prob(F-statistic) Inverted AR Roots.95

37 How Good is This Estimated Model?

38 Plot of the Estimated Residuals

39 Forecast for Ratio of Inventory to Sales for February 2003 E 2003:01 [Ratioinvsale(2003:02)= c - b*c + b*Ratioinvsale(2003:02) Forecast = * *1.360 Forecast = Forecast =

40 How Well Do We Know This Value of the Forecast? Standard error of the regression = Approximate 95% confidence interval for the one period ahead forecast = forecast +/- 2*SER Ratioinvsale(2003:02) = /- 2*.0130 interval for the forecast 1.34<forecast<1.39

41 Trace of Inventory to Sales, Total Business

42 Lessons About ARIMA Forecasting Models Use the past to forecast the future “sophisticated” extrapolation models competitive extrapolation models –use the mean as a forecast for a stationary time series, E t-1 [y(t)] = mean of y(t) –next period is the same as this period for a stationary time series and for random walks, E t-1 [y(t)] = y(t-1) –extrapolate trend for an evolutionary trended time series, E t-1 [y(t)] = a + b*t = y(t-1) + b