Presentation is loading. Please wait.

Presentation is loading. Please wait.

Finance 30210: Managerial Economics

Similar presentations


Presentation on theme: "Finance 30210: Managerial Economics"— Presentation transcript:

1 Finance 30210: Managerial Economics
Demand Estimation and Forecasting

2 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?

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

4 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 Standard Deviation Temperature Mean We generally assume a Normal Distribution which can be characterized by a mean (average) and standard deviation (measure of dispersion)

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

6 Can’t we do a little better than this?
Annual Temperature in South Bend has a mean of 59 degrees and a standard deviation of 18 degrees. Probability 95 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) Temperature 23 41 59 77 95 Can’t we do a little better than this?

7 Conditioning on month gives us a more accurate probabilities!
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 95 degrees falls a little more than one standard deviation away (there approximately a 16% chance that the temperature is 95 or greater) Temperature 70 77 84 91 95 98 Conditioning on month gives us a more accurate probabilities!

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

9 The Truth Temperature ~
We can follow the same process for the temperature in South Bend The Truth 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.

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

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

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

13 The Truth How much should a six year old car be worth?
We could also use this to forecast: The Truth 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.

14 Searching for the truth….
You believe that there is a relationship between age and value, but you don’t know what it is…. Collect data on values and age 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!!

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

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

17 Regression Statistics
R Squared 0.36 Standard Error 2250 Percentage of value variance explained by age Error Term Mean = 0 Std. Dev = $2,250

18 We can now forecast the value of a 6 year old car
Value = $12,354 - $854 * (Age) + error 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)

19 Value +95% Forecast Interval -95% Age 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

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

21 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 “Are a function of” Observable Demographics Pat Buchanan’s Votes

22 The Data: Demographic Data By County County Black (%) Age 65 (%)
Hispanic (%) College (%) Income (000s) Buchanan Votes Total Votes Alachua 21.8 9.4 4.7 34.6 26.5 262 84,966 Baker 16.8 7.7 1.5 5.7 27.6 73 8,128 What variables do you think should affect Pat Buchanan’s Vote total? # of Buchanan votes % of County that is college educated # of votes gained/lost for each percentage point increase in college educated population

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

24 Lets try something a little different…
County College (%) Buchanan Votes Log of Buchanan Votes Alachua 34.6 262 5.57 Baker 5.7 73 4.29 Lets try something a little different… Log of Buchanan votes % of County that is college educated Percentage increase/decease in votes for each percentage point increase in college educated population

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

26 How about this… County College (%) Buchanan Votes Log of College (%)
Alachua 34.6 262 3.54 Baker 5.7 73 1.74 # of Buchanan votes Log of % of County that is college educated Gain/ Loss in votes for each percentage increase in college educated population

27 Results Parameter a b Value -424 252 Standard Error 139 54 T-Statistic
-3.05 4.6 R-Square = .25 25% of the variation in Buchanan’s votes across counties is explained by college education The distribution for ‘b’ has a mean of 252 and a standard deviation of 54 Each percentage increase in college educated (i.e. from 30% to 30.3%) raises Buchanan’s vote total by 252 votes .09 There is a 95% chance that the value for ‘b’ lies between 360 and 144 Plug in Values for College % to get vote predictions County College (%) Predicted Votes Actual Votes Error Alachua 34.6 469 262 207 Baker 5.7 15 73 -58

28 One More… County College (%) Buchanan Votes Log of College (%)
Log of Buchanan Votes Alachua 34.6 262 3.54 5.57 Baker 5.7 73 1.74 4.29 Log of Buchanan votes Log of % of County that is college educated Percentage gain/Loss in votes for each percentage increase in college educated population

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

30 It turns out the regression with the best fit looks like this. County
Black (%) Age 65 (%) Hispanic (%) College (%) Income (000s) Buchanan Votes Total Votes Alachua 21.8 9.4 4.7 34.6 26.5 262 84,966 Baker 16.8 7.7 1.5 5.7 27.6 73 8,128 Error term Buchanan Votes *100 Total Votes Parameters to be estimated

31 Now, we can make a forecast!
Variable Coefficient Standard Error t - statistic Intercept 2.146 .396 5.48 Black (%) -.0132 .0057 -2.88 Age 65 (%) -.0415 -5.93 Hispanic (%) -.0349 .0050 -6.08 College (%) -.0193 .0068 -1.99 Income (000s) -.0658 .00113 -4.58 The Results: R Squared = .73 Now, we can make a forecast! County Black (%) Age 65 (%) Hispanic (%) College (%) Income (000s) Buchanan Votes Total Votes Alachua 21.8 9.4 4.7 34.6 26.5 262 84,966 Baker 16.8 7.7 1.5 5.7 27.6 73 8,128 County Predicted Votes Actual Votes Error Alachua 520 262 258 Baker 55 73 -18

32 County Black (%) Age 65 (%) Hispanic (%) College (%) Income (000s) Buchanan Votes Total Votes Palm Beach 21.8 23.6 9.8 22.1 33.5 3,407 431,621 This would be our prediction for Pat Buchanan’s vote total!

33 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 LN(%Votes) – 2*(.2556) *(.2556) = = There is a 95% chance that the log of Buchanan’s vote percentage lies in this range

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

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

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

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

38 Suppose that we have the following data for sales in 200 different Indiana cities
City Price Average Income (Thousands) Competitor’s Price Advertising Expenditures (Thousands) Total Sales Granger 1.02 21.934 1.48 2.367 9,809 Mishawaka 2.56 35.796 2.53 26.922 130,835 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)

39 Regression Statistics
That is, we have estimated the following equation Regression Results Variable Coefficient Standard Error t Stat Intercept 155,042 18,133 8.55 Price (X) -46,087 7214 -6.39 Regression Statistics R Squared .17 Standard Error 48,074 Every dollar increase in price lowers sales by 46,087 units.

40 Values For South Bend Price of Pepsi $1.37 $1.37 91,903

41 Adding logs changes the interpretation of the coefficients
As we did earlier, we can experiment with different functional forms by using logs City Price Average Income (Thousands) Competitor’s Price Advertising Expenditures (Thousands) Total Sales Granger 1.02 21.934 1.48 2.367 9,809 Mishawaka 2.56 35.796 2.53 26.922 130,835 Adding logs changes the interpretation of the coefficients Change in quantity demanded per percentage change in price (to be estimated)

42 Regression Statistics
That is, we have estimated the following equation Regression Results Variable Coefficient Standard Error t Stat Intercept 133,133 14,892 8.93 Price (X) -103,973 16,407 -6.33 Regression Statistics R Squared .17 Standard Error 48,140 Every 1% increase in price lowers sales by 103,973 units.

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

44 Adding logs changes the interpretation of the coefficients
As we did earlier, we can experiment with different functional forms by using logs City Price Average Income (Thousands) Competitor’s Price Advertising Expenditures (Thousands) Total Sales Granger 1.02 21.934 1.48 2.367 9,809 Mishawaka 2.56 35.796 2.53 26.922 130,835 Adding logs changes the interpretation of the coefficients Percentage change in quantity demanded per $ change in price (to be estimated)

45 Regression Statistics
That is, we have estimated the following equation Regression Results Variable Coefficient Standard Error t Stat Intercept 13 .34 38.1 Price (X) -1.22 .13 -8.98 Regression Statistics R Squared .28 Standard Error .90 Every $1 increase in price lowers sales by 1.22%.

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

47 Adding logs changes the interpretation of the coefficients
As we did earlier, we can experiment with different functional forms by using logs City Price Average Income (Thousands) Competitor’s Price Advertising Expenditures (Thousands) Total Sales Granger 1.02 21.934 1.48 2.367 9,809 Mishawaka 2.56 35.796 2.53 26.922 130,835 Adding logs changes the interpretation of the coefficients Percentage change in quantity demanded per percentage change in price (to be estimated)

48 Regression Statistics
That is, we have estimated the following equation Regression Results Variable Coefficient Standard Error t Stat Intercept 12.3 .28 42.9 Price (X) -2.60 .31 -8.21 Regression Statistics R Squared .25 Standard Error .93 Every 1% increase in price lowers sales by 2.6%.

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

50 We can add as many variables as we want in whatever combination
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 Variable Coefficient Standard Error t Stat Intercept 5.98 1.29 4.63 Price -1.29 .12 -10.79 Log of Income 1.46 .34 4.29 Log of Competitor’s Price 2.00 5.80 R Squared: .46

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

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

53 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

54 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

55 Time Period Quantity (millions of kilowatt hours) 2003:1 11 2003:2 15 2003:3 12 2003:4 14 2004:1 2004:2 17 2004:3 13 2004:4 16 2005:1 2005:2 18 2005:3 2005:4 2006:1 2006:2 20 2006:3 2006:4 19 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:

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

57 A linear trend takes the following form:
Estimated value for time zero Estimated quarterly growth (in millions of kilowatt hours) 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

58 Regression Statistics
Regression Results Variable Coefficient Standard Error t Stat Intercept 11.9 .953 12.5 Time Trend .394 .099 4.00 Regression Statistics R Squared .53 Standard Error 1.82 Observations 16 Lets forecast electricity usage at the mean time period (t = 8)

59 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

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

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

62 One seasonal adjustment process is to adjust each quarter by the average of actual to predicted
Time Period Actual Predicted Ratio Adjusted 2003:1 11 12.29 .89 12.29(.87)=10.90 2003:2 15 12.68 1.18 12.68(1.16) = 14.77 2003:3 12 13.08 .91 13.08(.91) = 11.86 2003:4 14 13.47 1.03 13.47(1.04) = 14.04 2004:1 13.87 .87 13.87(.87) = 12.30 2004:2 17 14.26 1.19 14.26(1.16) = 16.61 2004:3 13 14.66 .88 14.66(.91) = 13.29 2004:4 16 15.05 1.06 15.05(1.04) = 15.68 2005:1 15.44 15.44(.87) = 13.70 2005:2 18 15.84 1.14 15.84(1.16) = 18.45 2005:3 16.23 .92 16.23(.91) = 14.72 2005:4 16.63 1.02 16.63(1.04) = 17.33 2006:1 17.02 17.02(.87) = 15.10 2006:2 20 17.41 17.41(1.16) = 20.28 2006:3 17.81 17.81(.91) = 16.15 2006:4 19 18.20 1.04 18.20(1.04) = 18.96 Average Ratios Q1 = .87 Q2 = 1.16 Q3 = .91 Q4 = 1.04 For each observation: Calculate the ratio of actual to predicted Average the ratios by quarter Use the average ration to adjust each predicted value

63 Sum of squared forecast errors
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 Time Period Actual Adjusted Error 2003:1 11 10.90 -0.1 2003:2 15 14.77 -0.23 2003:3 12 11.86 -0.14 2003:4 14 14.04 0.04 2004:1 12.30 0.3 2004:2 17 16.61 -0.39 2004:3 13 13.29 0.29 2004:4 16 15.68 -0.32 2005:1 13.70 -0.3 2005:2 18 18.45 0.45 2005:3 14.72 -0.28 2005:4 17.33 0.33 2006:1 15.10 0.1 2006:2 20 20.28 0.28 2006:3 16.15 0.15 2006:4 19 18.96 -0.04 Sum of squared forecast errors Number of Observations

64 Looks pretty good…

65 Recall our prediction for period 76 ( Year 2022 Q4)

66 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

67 Regression Statistics
Regression Results Variable Coefficient Standard Error t Stat Intercept 12.75 .226 56.38 Time Trend .375 .0168 22.2 D1 -2.375 .219 -10.83 D2 1.75 .215 8.1 D3 -2.125 .213 -9.93 Regression Statistics R Squared .99 Standard Error .30 Observations 16 Note the much better fit!!

68 Ratio Method Dummy Variables Time Period Actual Ratio Method
2003:1 11 10.90 10.75 2003:2 15 14.77 15.25 2003:3 12 11.86 11.75 2003:4 14 14.04 14.25 2004:1 12.30 12.25 2004:2 17 16.61 16.75 2004:3 13 13.29 13.25 2004:4 16 15.68 15.75 2005:1 13.70 13.75 2005:2 18 18.45 18.25 2005:3 14.72 14.75 2005:4 17.33 17.25 2006:1 15.10 2006:2 20 20.28 19.75 2006:3 16.15 16.25 2006:4 19 18.96 18.75 Ratio Method Dummy Variables

69 A plot confirms the similarity of the methods

70 Recall our prediction for period 76 ( Year 2022 Q4)

71 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

72 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

73 Regression Statistics
Regression Results Variable Coefficient Standard Error t Stat Intercept 2.49 .063 39.6 Time Trend .026 .006 4.06 Regression Statistics R Squared .54 Standard Error .1197 Observations 16 Lets forecast electricity usage at the mean time period (t = 8) BE CAREFUL….THESE NUMBERS ARE LOGS !!!

74 The natural log of forecasted demand is 2. 698
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

75 Again, here is a plot of our forecasts with the error bands

76 Errors is growth rates compound quickly!!

77 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?

78 Regression Results Variable Coefficient Standard Error t Stat
Let’s suppose we assume a linear trend. Then we are estimating the following linear regression: monthly growth in dollars per gallon Price at time t Price at April 1993 Number of months from April 1993 Regression Results Variable Coefficient Standard Error t Stat Intercept .67 .05 12.19 Time Trend .010 .0004 23.19 R Squared= .72

79 Regression Results Variable Coefficient Standard Error t Stat
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 Variable Coefficient Standard Error t Stat Intercept .58 .07 8.28 Time Trend .01 .0004 23.7 D1 -.03 .075 -.43 D2 .15 .074 2.06 D3 .16 2.20 R Squared= .74

80 Regression coefficient
If we wanted to remove the seasonal component, we could by subtracting the seasonal dummy off each gas price Seasonalizing Date Price Regression coefficient Seasonalized data 1993 – 04 1.05 .15 .90 1.06 .16 90 .98 -.03 1.01 1.00 .85 2nd Quarter 3rd Quarter 4th Quarter 1st Quarter 2nd Quarter

81 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 Variable Coefficient Standard Error t Stat Intercept .587 .05 11.06 Time Trend .010 .0004 23.92 Seasonalized Price Series Regression Results Variable Coefficient Standard Error t Stat Intercept .587 .07 8.28 Time Trend .010 .0004 23.7 D1 .075 D2 .074 D3

82 Business Cycle Component Predicted Price (From regression)
The regression we have in place gives us the trend plus the seasonal component of the data Predicted 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 Date Actual Price Predicted Price (From regression) 1.050 .752 .297 1.071 .763 .308 1.075 773 .301 1.064 .797 .267 1.048 .807 .240

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

84 Regression Results Variable Coefficient Standard Error t Stat
Data Breakdown Date Actual Price Trend Seasonal Business Cycle 1.050 .58 .15 .320 1.071 .59 .331 1.075 .60 .325 1.064 .61 .16 .294 1.048 .62 .268 Regression Results Variable Coefficient Standard Error t Stat Intercept .58 .07 8.28 Time Trend .01 .0004 23.7 D1 -.03 .075 -.43 D2 .15 .074 2.06 D3 .16 2.20

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

86 Regression Results Variable Coefficient Standard Error t Stat
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 Monthly growth rate Regression Results Variable Coefficient Standard Error t Stat Intercept -.14 .03 -4.64 Time Trend .005 .0001 29.9 D1 -.02 .032 -.59 D2 .06 2.07 D3 .07 2.19 R Squared= .81

87 Regression coefficient Log of Seasonalized data
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 Date Price Log of Price Regression coefficient Log of Seasonalized data Seasonalized Price 1993 – 04 1.05 .049 .06 -.019 .98 1.06 .062 .07 -.010 .99 -.013 -.02 .006 1.00 .005 -.062 .94 2nd Quarter 3rd Quarter 4th Quarter 1st Quarter 2nd Quarter Example:

88 Business Cycle Component Predicted Log Price (From regression)
The regression we have in place gives us the trend plus the seasonal component of the data Predicted Log of Price Seasonal Trend 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 Date Actual Price Predicted Log Price (From regression) Predicted Price 1.050 -.069 .93 .12 1.071 -.063 .94 .13 1.075 -.057 1993 – 07 1.064 -.047 .95 .11 1.048 -.041 .96 .09

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

90 In either case, we could make a forecast for gasoline prices next year
In either case, we could make a forecast for gasoline prices next year. Lets say, April 2011. Forecasting Data Date Time Period Quarter April 2011 217 2 OR By the way, the actual price in April 2011 was $3.80

91 There doesn’t seem to be any discernable trend here…
Quarter Market Share 1 20 2 22 3 23 4 24 5 18 6 7 19 8 17 9 10 11 12 There doesn’t seem to be any discernable trend here… Consider a new forecasting problem. You are asked to forecast a company’s market share for the 13th quarter.

92 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. Quarter Market Share MA(3) MA(5) 1 20 2 22 3 23 4 24 21.67 5 18 6 21.4 7 19 8 17 9 19.67 20.2 10 19.33 19.8 11 20.67 20.8 12 21 A moving average of length N is equal to the average value over the previous N periods

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

94 Calculating forecasts is straightforward…
MA(3) Quarter Market Share MA(3) MA(5) 1 20 2 22 3 23 4 24 21.67 5 18 6 21.4 7 19 8 17 9 19.67 20.2 10 19.33 19.8 11 20.67 20.8 12 21 MA(5) So, how do we choose N??

95 Total = 78.3534 Total = 62.48 Quarter Market Share MA(3) Squared Error
1 20 2 22 3 23 4 24 21.67 5.4289 5 18 25 6 1.7689 21.4 2.56 7 19 7.1289 9 8 17 19.36 19.67 20.2 3.24 10 19.33 19.8 10.24 11 20.67 20.8 7.84 12 21 Total = Total = 62.48

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

97 Usually, the initial forecast is chosen to equal the sample average
For exponential smoothing, we need to choose a value for the weighting formula as well as an initial forecast Quarter Market Share W=.3 W=.5 1 20 21.0 2 22 20.7 20.5 3 23 21.1 21.3 4 24 21.7 22.2 5 18 22.4 23.1 6 20.6 7 19 21.8 8 17 20.9 20.4 9 19.7 18.7 10 11 21.2 12 20.2 19.9 Usually, the initial forecast is chosen to equal the sample average

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

99 Calculating forecasts is straightforward…
Quarter Market Share W=.3 W=.5 1 20 21.0 2 22 20.7 20.5 3 23 21.1 21.3 4 24 21.7 22.2 5 18 22.4 23.1 6 20.6 7 19 21.8 8 17 20.9 20.4 9 19.7 18.7 10 11 21.2 12 20.2 19.9 W=.5 So, how do we choose W??

100 Total = 87.19 Total = 101.5 Quarter Market Share W = .3 Squared Error
20 21.0 2 22 20.7 1.69 20.5 2.25 3 23 21.1 3.61 21.3 2.89 4 24 21.7 5.29 22.2 3.24 5 18 22.4 19.36 23.1 26.01 6 20.6 5.76 7 19 7.29 21.8 7.84 8 17 20.9 15.21 20.4 11.56 9 19.7 18.7 10.89 10 6.76 11 21.2 10.24 13.69 12 20.2 19.9 9.61 Total = 87.19 Total = 101.5


Download ppt "Finance 30210: Managerial Economics"

Similar presentations


Ads by Google