Exercise 7.5 (p. 343) Consider the hotel occupancy data in Table 6.4 of Chapter 6 (p. 297)

Slides:



Advertisements
Similar presentations
Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would effect.
Advertisements

Decomposition Method.
© 2003 Anita Lee-Post Forecasting Part 3 By Anita Lee-Post By.
Applied Econometrics Second edition
UNLOCKING THE SECRETS HIDDEN IN YOUR DATA Part 3 Data Analysis.
Microsoft Office XP Microsoft Excel
Guide to Using Excel 2007 For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 8th Ed. Chapter 16: Analyzing.
CPSC 203 Introduction to Computers T97 TA: Jie (Jeff) Gao.
1 Chapter 7 My interest is in the future because I am going to spend the rest of my life there.— Charles F. Kettering Forecasting.
Guide to Using Excel For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 5th Ed. Chapter 15: Analyzing and.
1 BIS APPLICATION MANAGEMENT INFORMATION SYSTEM Advance forecasting Forecasting by identifying patterns in the past data Chapter outline: 1.Extrapolation.
Regression Analysis Using Excel. Econometrics Econometrics is simply the statistical analysis of economic phenomena Here, we just summarize some of the.
CHAPTER 5 TIME SERIES AND THEIR COMPONENTS (Page 165)
Spreadsheets and Non- Spatial Databases Unit 4: Module 15, Lecture 2- Advanced Microsoft Excel.
Time Series Analysis Autocorrelation Naive & Simple Averaging
Chapter 5 Time Series Analysis
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science, 3e by Cliff Ragsdale.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Exercise 7.1 a. Find and report the four seasonal factors for quarter 1, 2, 3 and 4 sn1 = 1.191, sn2 = 1.521, sn3 = 0.804, sn4 = b. What is the.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Statistical Forecasting Models
8/2/2015Slide 1 SPSS does not calculate confidence intervals for proportions. The Excel spreadsheet that I used to calculate the proportions can be downloaded.
September 2005Created by Polly Stuart1 Analysis of Time Series Data For AS90641 Part 1 Basics for Beginners.
Spreadsheet Problem Solving
Regression Basics For Business Analysis If you've ever wondered how two or more things relate to each other, or if you've ever had your boss ask you to.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Chapter 6 Forecasting n Quantitative Approaches to Forecasting n Components of a Time Series.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Marilyn K. Pelosi Theresa M. Sandifer Chapter 11 Regression.
Slides by John Loucks St. Edward’s University.
C opyright  2007 by Oxford University Press, Inc. PowerPoint Slides Prepared by Robert F. Brooker, Ph.D.Slide 1 1.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
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.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Forecasting Techniques: Single Equation Regressions Su, Chapter 10, section III.
CHAPTER 14 MULTIPLE REGRESSION
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science, 3e by Cliff Ragsdale.
Chapter 6 Forecasting n Quantitative Approaches to Forecasting n The Components of a Time Series n Measures of Forecast Accuracy n Using Smoothing Methods.
Chapter 7 Forecasting n Quantitative Approaches to Forecasting n The Components of a Time Series n Measures of Forecast Accuracy n Using Smoothing Methods.
DSc 3120 Generalized Modeling Techniques with Applications Part II. Forecasting.
C opyright  2007 by Oxford University Press, Inc. PowerPoint Slides Prepared by Robert F. Brooker, Ph.D.Slide 1 1.
Time series Decomposition Farideh Dehkordi-Vakil.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 20 Time Series Analysis and Forecasting.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Chapter 5 The Decomposition Method Components of a Time Series Trend - Tr t Seasonal - Sn t Cyclical - Cl t Irregular -  t.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.3.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Economics 173 Business Statistics Lecture 26 © Fall 2001, Professor J. Petry
Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would effect.
Chap 2: Presenting Data in Tables & Charts Excel Tutorial.
Regression Analysis in Microsoft Excel MS&T Physics 1135 and 2135 Labs.
Using SPSS Note: The use of another statistical package such as Minitab is similar to using SPSS.
Chapter 9 Minitab Recipe Cards. Contingency tests Enter the data from Example 9.1 in C1, C2 and C3.
Chapter 4 Minitab Recipe Cards. Correlation coefficients Enter the data from Example 4.1 in columns C1 and C2 of the worksheet.
Managerial Decision Modeling 6 th edition Cliff T. Ragsdale.
Input dataClick ToolsClick Data Analysis Click Regression Enter range of data from Column B in Input Y Range Enter range of data from Column A in Input.
Keller: Stats for Mgmt & Econ, 7th Ed
GO! with Microsoft Office 2016
*Bring Money for Yearbook!
PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 1
Principles and Worldwide Applications, 7th Edition
Statistical Analysis with Excel
John Loucks St. Edward’s University . SLIDES . BY.
Microsoft Office Illustrated
Performing What-if Analysis
Chapter 1 Minitab Recipe Card
STA 282 – Regression Analysis
Microsoft Excel 101.
Eviews Tutorial for Labor Economics Lei Lei
Chapter 13 Excel Extension: Now You Try!
Presentation transcript:

Exercise 7.5 (p. 343) Consider the hotel occupancy data in Table 6.4 of Chapter 6 (p. 297)

Analyze this data using the multiplicative decomposition method in an Excel spreadsheet. The book contains a CD-ROM with the data sets in different data formats.

Note! Data are given consecutively in column 1 (not tabled as in Table 6.4 of the book) Add a column with the time variable (month)

In column C, add the formulas for calculating CMAt Monthly data  Formula can be entered in cells C8:C163 (Row 1 is reserved for column labels)  Enter the following formula in cell C8 and copy it to cells C9:C163 “=(B2+2*(B3+B4+B5+B6+B7+B8+B9+B10+B11+B12+B13)+B14)/24”

Next step: Divide yt with CMAt for t = 7,…,162 (Spreadsheet formula is entered into cells D8:D163) This gives the rough seasonal components (y / CMA)

Now we need to estimate the seasonal component, i. e Now we need to estimate the seasonal component, i.e. the 12 seasonal indices Average the rough seasonal components for each calendar month Cell E8 corresponds with calendar month 7, i.e. July Enter the following formula in E8 “=(D8+D20+D32+D44+D56+D68+D80+D92+D104+D116+D128+D140+ D152)/13” Copy the formula to cells E9:E17 (August-April). For the cells E18:E19 (May and June), remove the last term in the sum of the formula and divide by 12.

The contents of cells E8:E19 are now close to the seasonal components. Fine adjust them by dividing with their average. In cell F8 enter the following formula =E8/(AVERAGE($E$8:$E$19)) and copy this to the cells F9:F19

Now, the seasonal components shall be “copied” to the rest of the relevant cells in column F. To make it more dynamic (allowing original observations to be changed) use formulas depending on the values calculated in F8:F19 In Cell F2, enter the formula =F14 (as month 1 is the same calendar month as month 13) In cell F3, enter formula =F15 and so on until cell F25 For the cells F26:F37 enter successively formulas =$F$2, =$F$3, =$F$4, =$F$5, =$F$6, =$F$7, =$F$8, =$F$9, =$F$10, =$F$11, =$F$12, =$F$13 The copy and paste these 12 cells further in the column

Now, deseasonalize the original observations by dividing them with the corresponding seasonal component In cell G2 enter =B2/F2 , copy and paste into all relevant cells of column G.

From deseasonalized data, the trend function can be estimated. If a linear trend is to be found, we simply use columns A and G, if a quadratic trend is to be found a new column with squares of the values in A must be created. Stick to the linear case here. In Excel, open the menu Tools (open it while a cell in the spreadsheet is active, not e.g. a chart) Select the alternative Data Analysis… If that alternative does not exist, select the alternative Add-Ins… and check the box for the Analysis ToolPak add-in, then Data Analysis will appear on the Tools menu.

Scroll down to the alternative Regression and select that one. Enter the cells with the deseasonalized data here, i.e. cells G1:G169 (including column label) Enter the cells with the time variable(s) here, in our case cells A1:A169 (including column label) Check this box as labels are present (otherwise you may enter the ranges G2:G169 and A2:A169 in the Input Y and X Ranges above)

Enter a cell here that does not interfere with your previously entered columns or your prospectively entered columns (trend column, cyclical component etc.) Preferably: Enter a cell under your data columns, i.e. G171 Click OK, look at cell G171 and below!

Standard regression output Standard regression output. What we need here are the contents of cells H187 (intercept) and H188 (slope parameter).

Column H should now contain the estimated trend component. In cell H2 enter the formula =$H$187+$H$188*A2 (tr1 = 554.0933 + 2.003414  t ) Copy and paste into all relevant cells in column H

Next step is to filter out the combined cyclical and irregular component. This should be stored in column I. (cl  ir)t = yt* / trt  Enter the formula =G2/H2 in cell I2. Copy and paste into all relevant cells in column I.

To separate between the cyclical and the irregular component, moving averages need to be calculated. The moving averages constitute cl and the ratio between (cl  ir) and cl constitutes ir Excel has this function among the Data Analysis methods, but it is not consistent with the description in this course. Only 3-point moving averages are centred, the rest are skewed. To make 3-point centred moving averages, enter the following formula into cell J3: =average(I2:I4) Copy and paste into cells J4:J168 (Cell J169 like cell J2 will not have any value) Then enter the formula =I3/J3 into cell K3 , copy and paste into cells K4:K168 to produce ir. To make 5-point centred moving averages, enter the following formula into cell J4: =average(I2:I6) Copy and paste into cells L5:L167, calculate ir (=I4/L4) in cells M4:M167 Etc. In this case, calculate 3-, 5- 7- and 9-point moving averages.

To judge upon which of the moving averages that works best, calculate the standard deviation and the serial correlation coefficient for all estimated irregular components. Use e.g. rows 171 and 172 for these outputs. In cell K171 enter the formula =stdev(K2:K169) It doesn’t matter for this calculation that some cells are empty. Excel only calculates with active cells. This formula can therefore be copied to cells M171, O171 and Q171

In cell K172 enter the formula =correl(K2:K168,K3:K169) This calculates the correlation coefficient between the series of ir terms and the one-step lagged series of ir terms. Note that be benefit of that cell K169 is empty. Empty cells are treated as missing values in the Excel calculations. Copy and paste the formula into the cells M172, O172 and Q172. There are more empty cells in these columns, but that does not affect the result. Now we can see that the 3-point moving average gives the lowest standard deviation (0.042967) of the ir terms and the 5-point moving average gives the lowest serial correlation (in absolute value).

To help in the decision process, it could be wise to plot (cl  ir) together with cl for the two cases (use the “line” chart type in the Chart Wizard)). Gives a smoother impression

b. Use statistical software, such as SAS or MINITAB, to produce point forecasts and 95% prediction intervals for the deseasonalized hotel room averages in each month the 15th year. Copy the column of deseasonalized values (G) together with the time column (A) to the software (here to MINITAB). Perform a regression of deseasonalized values against time and ask for prediction in the 15 added time points.

c. Using the values from part (b), compute point and 95% prediction interval forecasts of the hotel room averages in each month of the 15th year. See page 339 in the textbook. The same error bound can be used in the prediction interval for y as those previously used for y* . In the Minitab worksheet, calculate the bounds as the differences between column C6 (PLIM2) and C4 (PFIT1) and the differences between C5 (PLIM1) and C4. Commands that can be used in Session Window if not Calculator is used

Forecasts Lower 95% Pred.limits Upper 95% Pred. Limits Now, the forecasts for y (hotel room averages) can be formed by multiplying the forecasted deseasonalized values (in column C4) with the estimated seasonal components from the Excel spreadsheet. Thus copy the first 12 seasonal components to MINITAB and then add the bounds to these forecasts. Forecasts Lower 95% Pred.limits Upper 95% Pred. Limits