Coefficient Std. Error t-statistic Prob.

Similar documents
Forecasting the US Dollar / Euro Exchange rate Using ARMA Models

2. Linear regression with multiple regressors

Forecasting Using Eviews 2.0: An Overview

Competition as an Effective Tool in Developing Social Marketing Programs: Driving Behavior Change through Online Activities

16 : Demand Forecasting

Time Series Analysis

5. Multiple regression

UK GDP is the best predictor of UK GDP, literally.

The Impact of Privatization in Insurance Industry on Insurance Efficiency in Iran

Determinants of Stock Market Performance in Pakistan

IMPACT OF WORKING CAPITAL MANAGEMENT ON PROFITABILITY

Air passenger departures forecast models A technical note

The relationship between stock market parameters and interbank lending market: an empirical evidence

The Effect of Seasonality in the CPI on Indexed Bond Pricing and Inflation Expectations

On the Degree of Openness of an Open Economy Carlos Alfredo Rodriguez, Universidad del CEMA Buenos Aires, Argentina

Week TSX Index

Chapter 6: Multivariate Cointegration Analysis

Module 5: Multiple Regression Analysis

Chapter 27 Using Predictor Variables. Chapter Table of Contents

Didacticiel - Études de cas

Advanced Forecasting Techniques and Models: ARIMA

Simple Methods and Procedures Used in Forecasting

Source engine marketing: A preliminary empirical analysis of web search data

ARIMA Modeling With Intervention to Forecast and Analyze Chinese Stock Prices

Monitoring web traffic source effectiveness with Google Analytics An experiment with time series

European Journal of Business and Management ISSN (Paper) ISSN (Online) Vol.5, No.30, 2013

TIME SERIES ANALYSIS

Chapter 9: Serial Correlation

Simple linear regression

THE UNIVERSITY OF CHICAGO, Booth School of Business Business 41202, Spring Quarter 2014, Mr. Ruey S. Tsay. Solutions to Homework Assignment #2

Turkey s Energy Demand

Correlation of International Stock Markets Before and During the Subprime Crisis

Price volatility in the silver spot market: An empirical study using Garch applications

Integrating Financial Statement Modeling and Sales Forecasting

Multiple Regression in SPSS This example shows you how to perform multiple regression. The basic command is regression : linear.

Forecast. Forecast is the linear function with estimated coefficients. Compute with predict command

SPSS Guide: Regression Analysis

What drove Irish Government bond yields during the crisis?

Applied Econometrics and International Development Vol (2012)

The ADP National Employment Report

SIMPLE LINEAR CORRELATION. r can range from -1 to 1, and is independent of units of measurement. Correlation can be done on two dependent variables.

Uniwersytet Ekonomiczny

hp calculators HP 50g Trend Lines The STAT menu Trend Lines Practice predicting the future using trend lines

Forecasting in STATA: Tools and Tricks

Stock Markets Correlation: before and during the Crisis Analysis *

STATISTICA Formula Guide: Logistic Regression. Table of Contents

Time Series - ARIMA Models. Instructor: G. William Schwert

STAFF WORKING PAPER. The Relationship between Sustainable Growth and the Riskfree Rate: Evidence from UK Government Gilts. Staff Working Paper 2012.

Integrating Financial Statement Modeling. and Sales Forecasting Using EViews

Performing Unit Root Tests in EViews. Unit Root Testing

Rob J Hyndman. Forecasting using. 11. Dynamic regression OTexts.com/fpp/9/1/ Forecasting using R 1

Chapter 4: Vector Autoregressive Models

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

How To Run Statistical Tests in Excel

ITSM-R Reference Manual

Time Series Analysis

430 Statistics and Financial Mathematics for Business

TIME SERIES ANALYSIS

The importance of graphing the data: Anscombe s regression examples

3.1 Stationary Processes and Mean Reversion

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2015, Mr. Ruey S. Tsay. Solutions to Midterm

A Short Introduction to Eviews

Predicting The Outcome Of NASCAR Races: The Role Of Driver Experience Mary Allender, University of Portland

Forecasting of Paddy Production in Sri Lanka: A Time Series Analysis using ARIMA Model

Effects of bank mergers and acquisitions on small business lending in Nigeria

Intertemporal Effects of Online Advertising Channels on Customers

Exploring Changes in the Labor Market of Health Care Service Workers in Texas and the Rio Grande Valley I. Introduction

A Short Tour of the Predictive Modeling Process

USING SEASONAL AND CYCLICAL COMPONENTS IN LEAST SQUARES FORECASTING MODELS

Individual Growth Analysis Using PROC MIXED Maribeth Johnson, Medical College of Georgia, Augusta, GA

Premaster Statistics Tutorial 4 Full solutions

Issues in Modeling and Adjusting Calendar Effects in Economic Time Series

Chapter 2 Regression Analysis and Forecasting Models

The SAS Time Series Forecasting System

The role of the banking sector in enhancing extractive industries in Sudan

Austrian GDP Flash Estimates: A Description of Methods

Module 6: Introduction to Time Series Forecasting

College Readiness LINKING STUDY

Forecasting Analytics. Group members: - Arpita - Kapil - Kaushik - Ridhima - Ushhan

Parking slots in Europe: Results review and new model proposal. Phase 2: EPA s model improvement and design of a new survey

Predicting Indian GDP. And its relation with FMCG Sales

Section A. Index. Section A. Planning, Budgeting and Forecasting Section A.2 Forecasting techniques Page 1 of 11. EduPristine CMA - Part I

(More Practice With Trend Forecasts)

Project Finance: Determinants of the Bank Loan Spread

Systat: Statistical Visualization Software

Random effects and nested models with SAS

2. Descriptive statistics in EViews

The North Carolina Health Data Explorer

THE DEREGULATION OF FOREIGN EXCHANGE MARKET AND ITS IMPACT ON THE GROWTH OF THE NIGERIAN ECONOMY

Stat 412/512 CASE INFLUENCE STATISTICS. Charlotte Wickham. stat512.cwick.co.nz. Feb

ANALYSIS OF THE LIFE INSURANCE MARKET IN THE REPUBLIC OF MACEDONIA

Logs Transformation in a Regression Equation

Chapter 10. Key Ideas Correlation, Correlation Coefficient (r),

Chapter 13 Introduction to Linear Regression and Correlation Analysis

2. Simple Linear Regression

Multiple Linear Regression in Data Mining

2. Filling Data Gaps, Data validation & Descriptive Statistics

Investigating Quarterly Trading Day Effects

The Future of Property Forecasting

Chapter Seven. Multiple regression An introduction to multiple regression Performing a multiple regression on SPSS

Transcription:

Econ 427, Spring 2010 Problem Set 2 suggested answers Ch 6. Problems and Complements: 2. (p. 108) a. To use a dummy variables regression as the basis for a seasonally-adjusted series, first estimate the model with terms as needed, and seasonal dummies. The residuals from this regression will have been purged of seasonal factors, but also of the constant and trend terms. You would then add back in the series mean and trend terms. That should give you a series with the same mean, trend, and cyclical behavior as the original series, but without the seasonality. b. Here we replicate the housing starts model with 12 monthly seasonal dummies from the textbook (there is no significant trend). Dependent Variable: HSTARTS Date: 02/15/10 Time: 17:20 Sample: 1946M01 1993M12 Included observations: 576 Coefficient Std. Error t-statistic Prob. DM1 86.50417 4.029055 21.47009 0.0000 DM2 89.50417 4.029055 22.21468 0.0000 DM3 122.8833 4.029055 30.49929 0.0000 DM4 142.1687 4.029055 35.28588 0.0000 DM5 147.5000 4.029055 36.60908 0.0000 DM6 145.9979 4.029055 36.23627 0.0000 DM7 139.1125 4.029055 34.52733 0.0000 DM8 138.4167 4.029055 34.35462 0.0000 DM9 130.5625 4.029055 32.40524 0.0000 DM10 134.0917 4.029055 33.28117 0.0000 DM11 111.8333 4.029055 27.75671 0.0000 DM12 92.15833 4.029055 22.87344 0.0000 R-squared 0.383780 Mean dependent var 123.3944 Adjusted R-squared 0.371762 S.D. dependent var 35.21775 S.E. of regression 27.91411 Akaike info criterion 9.516755 Sum squared resid 439467.5 Schwarz criterion 9.607507 Log likelihood -2728.825 Hannan-Quinn criter. 9.552147 Durbin-Watson stat 0.154140 In this case, the only thing that needs to be added back to the residuals is the mean of the dependent variable. So the seasonally-adjusted series can be obtained from: series hstartssa = resid + 123.3944.

2 The seasonally adjusted series has the same mean and cyclical path but does not have the sharp annual swing. This is clearer in the second figure that shows only the last several years of the sample. c. A brief overview of the Census X-11 procedure is at http://www.statsoftinc.com/textbook/sttimser.html#x. There is also a fairly detailed description in the full Eviews manual that is in the Docs directory on your CD. (But the procedure itself is not included in the student version of the software.) The X-11 procedure allows for more than just the simple linear additive trend that you have tried. It also tests for outliers, etc. There is a newer Census X-12 ARIMA model that is now used more widely. 6. (p. 109) a. Here are linear, quadratic and exponential models. I have estimated the exponential model rather than the similar log-linear model to facilitate comparisons.

3 Date: 02/23/03 Time: 20:31 C 13702.08 524.2944 26.13432 0.0000 TIME 38.61834 3.360241 11.49273 0.0000 R-squared 0.329316 Mean dependent var 18915.55 Adjusted R-squared 0.326822 S.D. dependent var 5274.313 S.E. of regression 4327.437 Akaike info criterion 19.59069 Sum squared resid 5.04E+09 Schwarz criterion 19.61727 Log likelihood -2652.539 F-statistic 132.0829 Durbin-Watson stat 1.260251 Prob(F-statistic) 0.000000 Date: 02/23/03 Time: 20:31 C 12904.17 781.5426 16.51115 0.0000 TIME 56.41562 13.37270 4.218715 0.0000 TIME^2-0.065916 0.047945-1.374829 0.1703 R-squared 0.334013 Mean dependent var 18915.55 Adjusted R-squared 0.329043 S.D. dependent var 5274.313 S.E. of regression 4320.294 Akaike info criterion 19.59104 Sum squared resid 5.00E+09 Schwarz criterion 19.63092 Log likelihood -2651.586 F-statistic 67.20504 Durbin-Watson stat 1.269116 Prob(F-statistic) 0.000000 Date: 02/23/03 Time: 20:32 Convergence achieved after 45 iterations HITS=C(1)*EXP(C(2)*TIME ) Coefficient Std. Error t-statistic Prob. C(1) 14271.74 456.5735 31.25836 0.0000 C(2) 0.001999 0.000182 11.01016 0.0000 R-squared 0.322391 Mean dependent var 18915.55 Adjusted R-squared 0.319872 S.D. dependent var 5274.313 S.E. of regression 4349.719 Akaike info criterion 19.60096 Sum squared resid 5.09E+09 Schwarz criterion 19.62755 Log likelihood -2653.930 Durbin-Watson stat 1.247390

4 Notice that there are not huge differences in adjusted R 2, AIC or SIC criteria, although AIC and SIC pick the linear model. The quadratic model has a slightly higher adjusted R 2, but the AIC and SIC criteria are telling us it is not worth the added parameter. And when they are so close in in-sample performance, we would probably opt for the smaller model anyway. b. Here is the linear model with a dummy variable to take out the three days with extraordinarily high numbers of hits. (The dummy variable has 1 in 4/30/98-5/2/98, and zeros for all other periods.) Notice that while it improves the fit substantially it does not markedly change the other coefficients. That makes sense since (visually) the model seemed to be capturing the trend fairly well in the original linear model. Date: 02/23/03 Time: 20:37 C 13282.00 380.2302 34.93146 0.0000 TIME 39.39197 2.431370 16.20155 0.0000 DUMNEW 28512.97 1817.892 15.68463 0.0000 R-squared 0.650310 Mean dependent var 18915.55 Adjusted R-squared 0.647700 S.D. dependent var 5274.313 S.E. of regression 3130.560 Akaike info criterion 18.94682 Sum squared resid 2.63E+09 Schwarz criterion 18.98670 Log likelihood -2564.294 F-statistic 249.1965 Durbin-Watson stat 1.943985 Prob(F-statistic) 0.000000

5 c. Including the day-of-the-week effects in the linear model gives: Date: 02/23/03 Time: 20:50 C 13342.38 599.9094 22.24066 0.0000 TIME 39.38135 2.425037 16.23948 0.0000 DUMNEW 28457.40 1826.439 15.58081 0.0000 WD1 976.3725 708.5659 1.377956 0.1694 WD2-473.1114 708.5753-0.667694 0.5049 WD3-418.5919 713.1935-0.586926 0.5578 WD4-503.0259 713.1904-0.705318 0.4812 WD5-387.8783 707.0321-0.548601 0.5837 WD6 377.2531 707.0196 0.533582 0.5941 R-squared 0.659985 Mean dependent var 18915.55 Adjusted R-squared 0.649603 S.D. dependent var 5274.313 S.E. of regression 3122.096 Akaike info criterion 18.96304 Sum squared resid 2.55E+09 Schwarz criterion 19.08267 Log likelihood -2560.492 F-statistic 63.56926 Durbin-Watson stat 1.940700 Prob(F-statistic) 0.000000 Interestingly, none of the day dummies are significantly different from zero, so we conclude that there are no important day-of-the-week effects in this data series. (You could test this formally as you did in the first question, above.) So we don t need to include these terms in our model. d. On the basis of the preceding analysis I would chose the simple linear trend model with DUMNEW and no seasonal factors. e. To forecast through the end of the year, you need the dummies defined out that far. If you did not originally set up your workfile through year end, you can do so using the proc structure/resize page menu item. You can then regenerate the time series and the dumnew (if you are including that). You would also need to extend the day-of-the-week dummies if you wanted to include them.

6 Extra Problem: Go online and download a monthly or quarterly time series for the U.S. economy. Using all but he most recent year of data for your time series, select a forecasting model. You should allow for both trend and seasonal factors, and you should consider alternative types of trend modeling. Comment on your model's residual correlation, normality, equation fit, etc. Use your model to forecast over the most recent year. Create a graph of forecast and actuals, with error bands, similar to Fig. 5.9 on page 115. Some specific things that I was looking for here include: (a) that you document the source of your data series, (b) that you reported several alternative models and explained how you chose among them, (c) that you made appropriate decisions about the inclusion or exclusion of variables, such as seasonal dummies, and (d) that you carefully graphed and evaluated your selected model s out-of-sample performance. Note: If you want to be able to perform true out-of-sample forecast evaluation, you must exclude that period from your estimation sample period. Otherwise, you will be biasing your results in favor of your model, since least squares tried to fit the data of the sample period.