Demand Estimation and Forecasting Finance 30210: Managerial Economics.

Slides:



Advertisements
Similar presentations
Managerial Economics in a Global Economy
Advertisements

Lesson 10: Linear Regression and Correlation
Forecasting OPS 370.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 12 l Multiple Regression: Predicting One Factor from Several Others.
Economics of the Firm Consumer Demand Analysis. Today’s Plan: Motivation Refresher on Probability and Statistics Refresher on Regression analysis Example.
4-1 Operations Management Forecasting Chapter 4 - Part 2.
Econ 140 Lecture 121 Prediction and Fit Lecture 12.
Chapter 12 Simple Regression
Chapter 12 - Forecasting Forecasting is important in the business decision-making process in which a current choice or decision has future implications:
Chapter 12 Multiple Regression
Data Sources The most sophisticated forecasting model will fail if it is applied to unreliable data Data should be reliable and accurate Data should be.
Forecasting.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 11 th Edition.
Chapter 3 homework Numbers 6, 7, 12 Review session: Monday 6:30-7:30 Thomas 324.
Part II – TIME SERIES ANALYSIS C2 Simple Time Series Methods & Moving Averages © Angel A. Juan & Carles Serrat - UPC 2007/2008.
Economics of the Firm Some Introductory Material.
Unit 2 – Measures of Risk and Return The purpose of this unit is for the student to understand, be able to compute, and interpret basic statistical measures.
Ch. 14: The Multiple Regression Model building
Finance 30210: Managerial Economics Demand Forecasting.
Lecture 17 Interaction Plots Simple Linear Regression (Chapter ) Homework 4 due Friday. JMP instructions for question are actually for.
Introduction to Linear Regression.  You have seen how to find the equation of a line that connects two points.
Introduction to Regression Analysis, Chapter 13,
Slides 13b: Time-Series Models; Measuring Forecast Error
So are how the computer determines the size of the intercept and the slope respectively in an OLS regression The OLS equations give a nice, clear intuitive.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 13-1 Chapter 13 Introduction to Multiple Regression Statistics for Managers.
Correlation and Linear Regression
Inference for regression - Simple linear regression
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 12-1 Chapter 12 Simple Linear Regression Statistics for Managers Using.
Correlation and Linear Regression
Non-continuous Relationships If the relationship between the dependent variable and an independent variable is non-continuous a slope dummy variable can.
Lecture 3-3 Summarizing r relationships among variables © 1.
Chapter 14 Introduction to Multiple Regression
Forecasting Techniques: Single Equation Regressions Su, Chapter 10, section III.
Correlation and Linear Regression. Evaluating Relations Between Interval Level Variables Up to now you have learned to evaluate differences between the.
Sample-Based Epidemiology Concepts Infant Mortality in the USA (1991) Infant Mortality in the USA (1991) UnmarriedMarriedTotal Deaths16,71218,78435,496.
DSc 3120 Generalized Modeling Techniques with Applications Part II. Forecasting.
Time Series Analysis and Forecasting
Copyright © 2011 Pearson Education, Inc. The Simple Regression Model Chapter 21.
Managerial Economics Demand Estimation & Forecasting.
Copyright © 2005 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Managerial Economics Thomas Maurice eighth edition Chapter 4.
Chapter 6 Business and Economic Forecasting Root-mean-squared Forecast Error zUsed to determine how reliable a forecasting technique is. zE = (Y i -
Time series Decomposition Farideh Dehkordi-Vakil.
10B11PD311 Economics REGRESSION ANALYSIS. 10B11PD311 Economics Regression Techniques and Demand Estimation Some important questions before a firm are.
4-1 Operations Management Forecasting Chapter 4 - Part 2.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 21 The Simple Regression Model.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
Basic Review of Statistics By this point in your college career, the BB students should have taken STAT 171 and perhaps DS 303/ ECON 387 (core requirements.
Welcome to MM305 Unit 5 Seminar Prof Greg Forecasting.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 14-1 Chapter 14 Introduction to Multiple Regression Statistics for Managers using Microsoft.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 10 th Edition.
Introduction to Multiple Regression Lecture 11. The Multiple Regression Model Idea: Examine the linear relationship between 1 dependent (Y) & 2 or more.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 14-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
1 1 Chapter 6 Forecasting n Quantitative Approaches to Forecasting n The Components of a Time Series n Measures of Forecast Accuracy n Using Smoothing.
FORECASTIN G Qualitative Analysis ~ Quantitative Analysis.
Economics of the Firm Consumer Demand Analysis. Demand relationships are based off of the theory of consumer choice. We can characterize the average consumer.
Introduction Sample surveys involve chance error. Here we will study how to find the likely size of the chance error in a percentage, for simple random.
Demand Management and Forecasting Chapter 11 Portions Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
Forecast 2 Linear trend Forecast error Seasonal demand.
Chapter 11 – With Woodruff Modications Demand Management and Forecasting Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Chapter 4: Basic Estimation Techniques
Chapter 14 Introduction to Multiple Regression
Chapter 4 Basic Estimation Techniques
Finance 30210: Managerial Economics
Basic Estimation Techniques
Basic Estimation Techniques
Demand Estimation and Forecasting
Forecasting Qualitative Analysis Quantitative Analysis.
Some Introductory Material
Forecasting Plays an important role in many industries
Presentation transcript:

Demand Estimation and Forecasting Finance 30210: Managerial Economics

What are the odds that a fair coin flip results in a head? What are the odds that the toss of a fair die results in a 5? What are the odds that tomorrow’s temperature is 95 degrees?

The answer to all these questions come from a probability distribution Head Tail 1/2 Probability 16 1/6 Probability 2345 A probability distribution is a collection of probabilities describing the odds of any particular event

The distribution for temperature in south bend is a bit more complicated because there are so many possible outcomes, but the concept is the same Probability Temperature We generally assume a Normal Distribution which can be characterized by a mean (average) and standard deviation (measure of dispersion) Mean Standard Deviation

Probability Temperature Without some math, we can’t find the probability of a specific outcome, but we can easily divide up the distribution MeanMean+1SDMean+2SDMean -1SDMean-2SD 2.5% 13.5%34% 13.5%

Annual Temperature in South Bend has a mean of 59 degrees and a standard deviation of 18 degrees. Probability Temperature degrees is 2 standard deviations to the right – there is a 2.5% chance the temperature is 95 or greater (97.5% chance it is cooler than 95) Can’t we do a little better than this?

Conditional distributions give us probabilities conditional on some observable information – the temperature in South Bend conditional on the month of July has a mean of 84 with a standard deviation of 7. Probability Temperature degrees falls a little more than one standard deviation away (there approximately a 16% chance that the temperature is 95 or greater) 95 Conditioning on month gives us a more accurate probabilities!

We know that there should be a “true” probability distribution that governs the outcome of a coin toss (assuming a fair coin) Suppose that we were to flip a coin over and over again and after each flip, we calculate the percentage of heads & tails That is, if we collect “enough” data, we can eventually learn the truth! (Sample Statistic)(True Probability)

We can follow the same process for the temperature in South Bend Temperature ~ We could find this distribution by collecting temperature data for south bend Sample Mean (Average) Sample Variance Note: Standard Deviation is the square root of the variance.

Mean = 1 Variance = 4 Std. Dev. = 2 Probability distributions are scalable 3 X = Mean = 3 Variance = 36 (3*3*4) Std. Dev. = 6 Some useful properties of probability distributions

Mean = 1 Variance = 1 Std. Dev. = 1 Probability distributions are additive + Mean = 2 Variance = 9 Std. Dev. = 3 COV = 2 = Mean = 3 Variance = 14 ( *2) Std. Dev. = 3.7

Mean = 8 Variance = 4 Std. Dev. = 2 Mean = $ 12,000 Variance = 4,000,000 Std. Dev. = $ 2,000 Suppose we know that the value of a car is determined by its age Value = $20,000 - $1,000 (Age) Car Age Value

We could also use this to forecast: Value = $20,000 - $1,000 (Age) How much should a six year old car be worth ? Value = $20,000 - $1,000 (6) = $14,000 Note: There is NO uncertainty in this prediction.

Searching for the truth…. You believe that there is a relationship between age and value, but you don’t know what it is…. 1.Collect data on values and age 2.Estimate the relationship between them Note that while the true distribution of age is N(8,4), our collected sample will not be N(8,4). This sampling error will create errors in our estimates!!

Value = a + b * (Age) + error We want to choose ‘a’ and ‘b’ to minimize the error! a Slope = b

Regression Results VariableCoefficientsStandard Errort Stat Intercept12, Age Value = $12,354 - $854 * (Age) + error We have our estimate of “the truth” Intercept (a) Mean = $12,354 Std. Dev. = $653 Age (b) Mean = -$854 Std. Dev. = $80 T-Stats bigger than 2 in absolute value are considered statistically significant!

Regression Statistics R Squared0.36 Standard Error2250 Error Term Mean = 0 Std. Dev = $2,250 Percentage of value variance explained by age

We can now forecast the value of a 6 year old car Value = $12,354 - $854 * (Age) + error 6 Mean = $12,354 Std. Dev. = $653 Mean = $854 Std. Dev. = $ 80 Mean = $0 Std. Dev. = $2,250 (Recall, The Average Car age is 8 years)

+95% -95% Age Value Note that your forecast error will always be smallest at the sample mean! Also, your forecast gets worse at an increasing rate as you depart from the mean Forecast Interval

What are the odds that Pat Buchanan received 3,407 votes from Palm Beach County in 2000?

The Strategy: Estimate a relationship for Pat Buchanan’s votes using every county EXCEPT Palm Beach Using Palm Beach data, forecast Pat Buchanan’s vote total for Palm Beach Pat Buchanan’s Votes “Are a function of” Observable Demographics

The Data: Demographic Data By County CountyBlack (%) Age 65 (%) Hispanic (%) College (%) Income (000s) Buchanan Votes Total Votes Alachua ,966 Baker ,128 What variables do you think should affect Pat Buchanan’s Vote total? % of County that is college educated # of votes gained/lost for each percentage point increase in college educated population # of Buchanan votes

Parameterab Value Standard Error T-Statistic Results R-Square =.19 The distribution for ‘b’ has a mean of 15 and a standard deviation of 4 15 There is a 95% chance that the value for ‘b’ lies between 23 and 7 CountyCollege (%) Predicted Votes Actual Votes Error Alachua Baker Plug in Values for College % to get vote predictions 19% of the variation in Buchanan’s votes across counties is explained by college education Each percentage point increase in college educated (i.e. from 10% to 11%) raises Buchanan’s vote total by 15

CountyCollege (%)Buchanan Votes Log of Buchanan Votes Alachua Baker Lets try something a little different… % of County that is college educated Percentage increase/decease in votes for each percentage point increase in college educated population Log of Buchanan votes

Parameterab Value Standard Error T-Statistic Results R-Square =.31 The distribution for ‘b’ has a mean of.09 and a standard deviation of There is a 95% chance that the value for ‘b’ lies between.13 and.05 CountyCollege (%) Predicted Votes Actual Votes Error Alachua Baker Plug in Values for College % to get vote predictions 31% of the variation in Buchanan’s votes across counties is explained by college education Each percentage point increase in college educated (i.e. from 10% to 11%) raises Buchanan’s vote total by.09%

CountyCollege (%)Buchanan Votes Log of College (%) Alachua Baker How about this… Log of % of County that is college educated Gain/ Loss in votes for each percentage increase in college educated population # of Buchanan votes

Parameterab Value Standard Error13954 T-Statistic Results R-Square =.25 The distribution for ‘b’ has a mean of 252 and a standard deviation of There is a 95% chance that the value for ‘b’ lies between 360 and 144 CountyCollege (%) Predicted Votes Actual Votes Error Alachua Baker Plug in Values for College % to get vote predictions 25% of the variation in Buchanan’s votes across counties is explained by college education Each percentage increase in college educated (i.e. from 30% to 30.3%) raises Buchanan’s vote total by 252 votes

CountyCollege (%) Buchanan Votes Log of College (%)Log of Buchanan Votes Alachua Baker One More… Log of % of County that is college educated Percentage gain/Loss in votes for each percentage increase in college educated population Log of Buchanan votes

Parameterab Value Standard Error T-Statistic Results R-Square =.40 The distribution for ‘b’ has a mean of 1.61 and a standard deviation of There is a 95% chance that the value for ‘b’ lies between 2 and 1.13 CountyCollege (%) Predicted Votes Actual Votes Error Alachua Baker Plug in Values for College % to get vote predictions 40% of the variation in Buchanan’s votes across counties is explained by college education Each percentage increase in college educated (i.e. from 30% to 30.3%) raises Buchanan’s vote total by 1.61%

It turns out the regression with the best fit looks like this. CountyBlack (%) Age 65 (%) Hispanic (%) College (%) Income (000s) Buchanan Votes Total Votes Alachua ,966 Baker ,128 Parameters to be estimated Error term Buchanan Votes Total Votes *100

The Results: VariableCoefficientStandard Errort - statistic Intercept Black (%) Age 65 (%) Hispanic (%) College (%) Income (000s) Now, we can make a forecast! R Squared =.73 CountyPredicted Votes Actual Votes Error Alachua Baker CountyBlack (%)Age 65 (%)Hispanic (%)College (%)Income (000s) Buchanan Votes Total Votes Alachua ,966 Baker ,128

CountyBlack (%) Age 65 (%) Hispanic (%) College (%) Income (000s) Buchanan Votes Total Votes Palm Beach ,407431,621 This would be our prediction for Pat Buchanan’s vote total!

Probability LN(%Votes) There is a 95% chance that the log of Buchanan’s vote percentage lies in this range – 2*(.2556) *(.2556) = = We know that the log of Buchanan’s vote percentage is distributed normally with a mean of and with a standard deviation of.2556

Probability % of Votes There is a 95% chance that Buchanan’s vote percentage lies in this range Next, lets convert the Logs to vote percentages

Probability Votes There is a 95% chance that Buchanan’s total vote lies in this range Finally, we can convert to actual votes 3,407 votes turns out to be 7 standard deviations away from our forecast!!!

We know that the quantity of some good or service demanded should be related to some basic variables Quantity Price Quantity Demanded Price Income Other “Demand Shifters” “ Is a function of”

Time Demand Factors t t+1t-1 Cross Sectional estimation holds the time period constant and estimates the variation in demand resulting from variation in the demand factors For example: can we estimate demand for Pepsi in South Bend by looking at selected statistics for South bend

CityPriceAverage Income (Thousands) Competitor’s Price Advertising Expenditures (Thousands) Total Sales Granger ,809 Mishawaka ,835 Suppose that we have the following data for sales in 200 different Indiana cities Lets begin by estimating a basic demand curve – quantity demanded is a linear function of price. Change in quantity demanded per $ change in price (to be estimated)

Regression Results VariableCoefficientStandard Errort Stat Intercept155,04218, Price (X)-46, That is, we have estimated the following equation Regression Statistics R Squared.17 Standard Error48,074 Every dollar increase in price lowers sales by 46,087 units.

Values For South Bend Price of Pepsi$ ,903

CityPriceAverage Income (Thousands) Competitor’s Price Advertising Expenditures (Thousands) Total Sales Granger ,809 Mishawaka ,835 As we did earlier, we can experiment with different functional forms by using logs Adding logs changes the interpretation of the coefficients Change in quantity demanded per percentage change in price (to be estimated)

Regression Results VariableCoefficientStandard Errort Stat Intercept133,13314, Price (X)-103,97316, That is, we have estimated the following equation Regression Statistics R Squared.17 Standard Error48,140 Every 1% increase in price lowers sales by 103,973 units.

Values For South Bend Price of Pepsi$1.37 Log of Price.31 $ ,402

CityPriceAverage Income (Thousands) Competitor’s Price Advertising Expenditures (Thousands) Total Sales Granger ,809 Mishawaka ,835 As we did earlier, we can experiment with different functional forms by using logs Percentage change in quantity demanded per $ change in price (to be estimated) Adding logs changes the interpretation of the coefficients

Regression Results VariableCoefficientStandard Errort Stat Intercept Price (X) That is, we have estimated the following equation Regression Statistics R Squared.28 Standard Error.90 Every $1 increase in price lowers sales by 1.22%.

Values For South Bend Price of Pepsi$ ,283 We can now use this estimated demand curve along with price in South Bend to estimate demand in South Bend

CityPriceAverage Income (Thousands) Competitor’s Price Advertising Expenditures (Thousands) Total Sales Granger ,809 Mishawaka ,835 As we did earlier, we can experiment with different functional forms by using logs Percentage change in quantity demanded per percentage change in price (to be estimated) Adding logs changes the interpretation of the coefficients

Regression Results VariableCoefficientStandard Errort Stat Intercept Price (X) That is, we have estimated the following equation Regression Statistics R Squared.25 Standard Error.93 Every 1% increase in price lowers sales by 2.6%.

Values For South Bend Price of Pepsi$1.37 Log of Price.31 $ ,402

We can add as many variables as we want in whatever combination. The goal is to look for the best fit. % change in Sales per $ change in price % change in Sales per % change in income % change in Sales per % change in competitor’s price Regression Results VariableCoefficientStandard Errort Stat Intercept Price Log of Income Log of Competitor’s Price R Squared:.46

Values For South Bend Price of Pepsi$1.37 Log of Income3.81 Log of Competitor’s Price.80 $ ,142 Now we can make a prediction and calculate elasticities

Time Demand Factors t t+1t-1 We could use a cross sectional regression to forecast quantity demanded out into the future, but it would take a lot of information! Estimate a demand curve using data at some point in time Use the estimated demand curve and forecasts of data to forecast quantity demanded

Time Demand Factors t t+1t-1 Time Series estimation ignores the demand factors and estimates the variation in demand over time For example: can we predict demand for Pepsi in South Bend next year by looking at how demand varies across time

Time series estimation ignores the demand factors and looks at variations in demand over time. Essentially, we want to separate demand changes into various frequencies Trend: Long term movements in demand (i.e. demand for movie tickets grows by an average of 6% per year) Business Cycle: Movements in demand related to the state of the economy (i.e. demand for movie tickets grows by more than 6% during economic expansions and less than 6% during recessions) Seasonal: Movements in demand related to time of year. (i.e. demand for movie tickets is highest in the summer and around Christmas

Suppose that you work for a local power company. You have been asked to forecast energy demand for the upcoming year. You have data over the previous 4 years: Time PeriodQuantity (millions of kilowatt hours) 2003: : : : : : : : : : : : : : : :419

First, let’s plot the data…what do you see? This data seems to have a linear trend

A linear trend takes the following form: Forecasted value at time t (note: time periods are quarters and time zero is 2003:1) Time period: t = 0 is 2003:1 and periods are quarters Estimated value for time zero Estimated quarterly growth (in millions of kilowatt hours)

Regression Results VariableCoefficientStandard Errort Stat Intercept Time Trend Regression Statistics R Squared.53 Standard Error 1.82 Observations16 Lets forecast electricity usage at the mean time period (t = 8)

Here’s a plot of our regression line with our error bands…again, note that the forecast error will be lowest at the mean time period T = 8

Sample We can use this linear trend model to predict as far out as we want, but note that the error involved gets worse!

Lets take another look at the data…it seems that there is a regular pattern… Q2 There appears to be a seasonal cycle…

Time PeriodActualPredictedRatioAdjusted 2003: (.87)= : (1.16) = : (.91) = : (1.04) = : (.87) = : (1.16) = : (.91) = : (1.04) = : (.87) = : (1.16) = : (.91) = : (1.04) = : (.87) = : (1.16) = : (.91) = : (1.04) = Average Ratios Q1 =.87 Q2 = 1.16 Q3 =.91 Q4 = 1.04 One seasonal adjustment process is to adjust each quarter by the average of actual to predicted For each observation: Calculate the ratio of actual to predicted Average the ratios by quarter Use the average ration to adjust each predicted value

Time PeriodActualAdjustedError 2003: : : : : : : : : : : : : : : : With the seasonal adjustment, we don’t have any statistics to judge goodness of fit. One method of evaluating a forecast is to calculate the root mean squared error Number of Observations Sum of squared forecast errors

Looks pretty good…

Recall our prediction for period 76 ( Year 2022 Q4)

We could also account for seasonal variation by using dummy variables Note: we only need three quarter dummies. If the observation is from quarter 4, then

Regression Results VariableCoefficientStandard Errort Stat Intercept Time Trend D D D Regression Statistics R Squared.99 Standard Error.30 Observations16 Note the much better fit!!

Time PeriodActualRatio MethodDummy Variables 2003: : : : : : : : : : : : : : : : Ratio Method Dummy Variables

A plot confirms the similarity of the methods

Recall our prediction for period 76 ( Year 2022 Q4)

Recall, our trend line took the form… This parameter is measuring quarterly change in electricity demand in millions of kilowatt hours. Often times, its more realistic to assume that demand grows by a constant percentage rather that a constant quantity. For example, if we knew that electricity demand grew by G% per quarter, then our forecasting equation would take the form

If we wish to estimate this equation, we have a little work to do… Note: this growth rate is in decimal form If we convert our data to natural logs, we get the following linear relationship that can be estimated

Regression Results VariableCoefficientStandard Errort Stat Intercept Time Trend Regression Statistics R Squared.54 Standard Error.1197 Observations16 Lets forecast electricity usage at the mean time period (t = 8) BE CAREFUL….THESE NUMBERS ARE LOGS !!!

The natural log of forecasted demand is Therefore, to get the actual demand forecast, use the exponential function Likewise, with the error bands…a 95% confidence interval is +/- 2 SD

Again, here is a plot of our forecasts with the error bands T = 8

Errors is growth rates compound quickly!!

Let’s try one…suppose that we are interested in forecasting gasoline prices. We have the following historical data. (the data is monthly from April 1993 – June 2010) Does a linear (constant cents per gallon growth per year) look reasonable?

Let’s suppose we assume a linear trend. Then we are estimating the following linear regression: Price at time t Price at April 1993Number of months from April 1993 monthly growth in dollars per gallon Regression Results VariableCoefficientStandard Errort Stat Intercept Time Trend R Squared=.72

We can check for the presence of a seasonal cycle by adding seasonal dummy variables: dollars per gallon impact of quarter I relative to quarter 4 Regression Results VariableCoefficientStandard Errort Stat Intercept Time Trend D D D R Squared=.74

If we wanted to remove the seasonal component, we could by subtracting the seasonal dummy off each gas price Seasonalizing DatePrice Regression coefficient Seasonalized data 1993 – nd Quarter 3 rd Quarter 4 th Quarter 1 st Quarter 2 nd Quarter

Note: Once the seasonal component has been removed, all that should be left is trend, cycle, and noise. We could check this: Seasonalized Price Series Regression Results VariableCoefficientStandard Errort Stat Intercept Time Trend Seasonalized Price Series Regression Results VariableCoefficientStandard Errort Stat Intercept Time Trend D D D

The regression we have in place gives us the trend plus the seasonal component of the data TrendSeasonal If we subtract our predicted price (from the regression) from the actual price, we will have isolated the business cycle and noise Business Cycle Component DateActual Price Predicted Price (From regression) Business Cycle Component Predicted

We can plot this and compare it with business cycle dates Actual Price Predicted Price

Data Breakdown DateActual PriceTrendSeasonalBusiness Cycle Regression Results VariableCoefficientStandard Errort Stat Intercept Time Trend D D D

Perhaps an exponential trend would work better… An exponential trend would indicate constant percentage growth rather than cents per gallon.

We already know that there is a seasonal component, so we can start with dummy variables Percentage price impact of quarter I relative to quarter 4 Regression Results VariableCoefficientStandard Errort Stat Intercept Time Trend D D D R Squared=.81 Monthly growth rate

If we wanted to remove the seasonal component, we could by subtracting the seasonal dummy off each gas price, but now, the price is in logs Seasonalizing DatePriceLog of Price Regression coefficient Log of Seasonalized data Seasonalized Price 1993 – nd Quarter 3 rd Quarter 4 th Quarter 1 st Quarter 2 nd Quarter Example:

The regression we have in place gives us the trend plus the seasonal component of the data Trend Seasonal If we subtract our predicted price (from the regression) from the actual price, we will have isolated the business cycle and noise Business Cycle Component DateActual Price Predicted Log Price (From regression) Predicted Price Business Cycle Component – Predicted Log of Price

As you can see, very similar results Actual Price Predicted Price

In either case, we could make a forecast for gasoline prices next year. Lets say, April Forecasting Data DateTime PeriodQuarter April OR By the way, the actual price in April 2011 was $3.80

QuarterMarket Share Consider a new forecasting problem. You are asked to forecast a company’s market share for the 13 th quarter. There doesn’t seem to be any discernable trend here…

Smoothing techniques are often used when data exhibits no trend or seasonal/cyclical component. They are used to filter out short term noise in the data. QuarterMarket Share MA(3)MA(5) A moving average of length N is equal to the average value over the previous N periods

The longer the moving average, the smoother the forecasts are…

QuarterMarket Share MA(3)MA(5) Calculating forecasts is straightforward… MA(3) MA(5) So, how do we choose N??

QuarterMarket Share MA(3)Squared Error MA(5)Squared Error Total = Total = 62.48

Exponential smoothing involves a forecast equation that takes the following form Forecast for time t+1 Actual value at time t Forecast for time t Smoothing parameter Note: when w = 1, your forecast is equal to the previous value. When w = 0, your forecast is a constant.

QuarterMarket Share W=.3W= For exponential smoothing, we need to choose a value for the weighting formula as well as an initial forecast Usually, the initial forecast is chosen to equal the sample average

As was mentioned earlier, the smaller w will produce a smoother forecast

Calculating forecasts is straightforward… W=.3 W=.5 So, how do we choose W?? QuarterMarket Share W=.3W=

QuarterMarket Share W =.3Squared Error W=.5Squared Error Total = 87.19Total = 101.5