Presentation is loading. Please wait.

Presentation is loading. Please wait.

Economics of the Firm Consumer Demand Analysis. Demand relationships are based off of the theory of consumer choice. We can characterize the average consumer.

Similar presentations


Presentation on theme: "Economics of the Firm Consumer Demand Analysis. Demand relationships are based off of the theory of consumer choice. We can characterize the average consumer."— Presentation transcript:

1 Economics of the Firm Consumer Demand Analysis

2 Demand relationships are based off of the theory of consumer choice. We can characterize the average consumer by their utility function. “Utility” is a function of lemonade and hot dogs Consumers make choices on what to buy that satisfy two criteria: Their decision on what to buy generates maximum utility Their decision on what to buy generates is affordable These decisions can be represented by a demand curve

3 Example: Suppose that you have $10 to spend. Hot Dogs cost $4 apiece and glasses of lemonade cost $2 apiece. # Hot DogsMU (Hot Dogs) # LemonadeMU (Lemonade) 1914 2823 3731.5 4641 555.5 This point satisfies both conditions and, hence, is one point of the demand curve

4 Now, suppose that the price of hot dogs rises to $6 (Lemonade still costs $2 and you still have $10 to spend) # Hot DogsMU (Hot Dogs) # LemonadeMU (Lemonade) 1914 2823 3731.5 4641 555.5 Your decision at the margin has been affected. You need to buy less hot dogs and more lemonade (Substitution effect) You can’t afford what you used to be able to afford – you need to buy less of something! (Income effect)

5 Now, suppose that the price of hot dogs rises to $6 (Lemonade still costs $2 and you still have $10 to spend) # Hot DogsMU (Hot Dogs) # LemonadeMU (Lemonade) 1914 2823 3731.5 4641 555.5 This point satisfies both conditions and, hence, is one point of the demand curve

6 Demand curves slope downwards – this reflects the negative relationship between price and quantity. Elasticity of Demand measures this effect quantitatively Quantity Price $4.00 2 $6.00 1

7 Arc Elasticity vs. Price Elasticity At the heart of this issue is this: “How do you calculate a percentage change? Suppose that a variable changes from 100 to 125. What is the percentage increase? - OR - Note: This discrepancy wouldn’t be a big deal if these two points weren’t so far apart!

8 Consider the following demand curve: Quantity Price $10.00 40 $12.00 32 Arc Elasticity

9 Consider the following demand curve: Quantity Price $10.00 40 $12.00 32 Point Elasticity

10 If demand is linear, the slope is a constant, but the elasticity is not!! Quantity Price $10.00 40 $18.00 8 $2.00 72

11 If demand is linear, the slope is a constant, but the elasticity is not!! Quantity Price $10.00 40 $18.00 8 $2.00 72 Low prices = Low Elasticities High prices = High Elasticities Unit Elasticity

12 If you are interested in maximizing revenues, you are looking for the spot on the demand curve where elasticity equals 1. Revenues Price

13 Now, suppose that the price of a hot dog is $4, Lemonade costs $2, but you have $20 to spend. # Hot DogsMU (Hot Dogs) # LemonadeMU (Lemonade) 1914 2823 3731.5 4641 555.5 Your decision at the margin is unaffected, but you have some income left over (this is a pure income effect)

14 Now, suppose that the price of a hot dog is $4, Lemonade costs $2, but you have $20 to spend. # Hot DogsMU (Hot Dogs) # LemonadeMU (Lemonade) 1914 2823 3731.5 4641 555.5 This point satisfies both conditions and, hence, is one point of the demand curve

15 For any fixed price, demand (typically) responds positively to increases in income. Income Elasticity measures this effect quantitatively Quantity Price $4.00 24

16 Cross price elasticity refers to the impact on demand of another price changing Quantity Price $4.00 26 Note: These numbers aren’t coming from the previous example!! A positive cross price elasticity refers to a substitute while a negative cross price elasticity refers to a compliment

17 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 predict demand for Pepsi in South Bend by looking at selected statistics for South bend

18 Estimating Cross Sectional Demand Curves Lets begin by estimating a basic demand curve – quantity demanded is a function of price. Next, we need to assume a functional form. For simplicity, lets start with a linear model

19 Price Quantity Next, Collect Data on Prices and Sales

20 Regression Results VariableCoefficientStandard Errort Stat Intercept 47.9963.004 15.977 Price (X)-10.04.774-12.967 That is, we have estimated the following equation Regression Statistics R Squared.782 Standard Error 10.02 Observations250

21 Values Price of X$2.50 Average Price of X $5 (3.004)(0.774)(10.02) Our forecast of demand is normally distributed with a mean of 23 and a standard deviation of 9.90.

22 If we want to calculate the elasticity of our estimated demand curve, we need to specify a specific point. $2.50 23

23 Given our model of demand as a function of income, and prices, we could specify a variety of functional forms Linear Demand Curves Here, quantity demanded responds to dollar changes in price (i.e. a $1 increase in price lowers demand by 4 units.

24 Given our model of demand as a function of income, and prices, we could specify a variety of functional forms Semi Log Demand Curves Here, quantity demanded responds to percentage changes in price (i.e. a 1% increase in price lowers demand by 4 units.

25 Given our model of demand as a function of income, and prices, we could specify a variety of functional forms Semi Log Demand Curves Here, percentage change in quantity demanded responds to a dollar change in price (i.e. a $1 increase in price lowers demand by 4%.

26 Given our model of demand as a function of income, and prices, we could specify a variety of functional forms Log Demand Curves Here, percentage change in quantity demanded responds to a percentage change in price (i.e. a 1% increase in price lowers demand by 4%. Log Linear demands have constant elasticities!!

27 One Problem Suppose you observed the following data points. Could you estimate a demand curve? D

28 Estimating demand curves Market prices are the result of the interaction between demand and supply!! A problem with estimating demand curves is the simultaneity problem. D S

29 Estimating demand curves Case #1: Both supply and demand shifts!! D’’ S’ S S’’ D’ D D S’ S S’’ Case #2: All the points are due to supply shifts

30 An example… Supply Demand Equilibrium Suppose you get a random shock to demand The shock effects quantity demanded which (due to the equilibrium condition influences price! Therefore, price and the error term are correlated! A big problem !!

31 Suppose we solved for price and quantity by using the equilibrium condition

32 We could estimate the following equations The original parameters are related as follows: We can solve for the supply parameters, but not demand. Why?

33 S D D D By including a demand shifter (Income), we are able to identify demand shifts and, hence, trace out the supply curve!!

34 Time Demand Factors t t+1t-1 Time Series estimation holds the demand factors constant 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

35 Time series estimation leaves the demand factors constant 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

36 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:111 2003:215 2003:312 2003:414 2004:112 2004:217 2004:313 2004:416 2005:114 2005:218 2005:315 2005:417 2006:115 2006:220 2006:316 2006:419

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

38 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 kilowatt hours)

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

40 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

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

42 Time PeriodActualPredictedError 2003:11112.29-1.29 2003:21512.682.31 2003:31213.08-1.08 2003:41413.47.52 2004:11213.87-1.87 2004:21714.262.73 2004:31314.66-1.65 2004:41615.05.94 2005:11415.44-1.44 2005:21815.842.15 2005:31516.23-1.23 2005:41716.63.37 2006:11517.02-2.02 2006:22017.412.58 2006:31617.81-1.81 2006:41918.20.79 One method of evaluating a forecast is to calculate the root mean squared error Number of Observations Sum of squared forecast errors

43 Lets take another look at the data…it seems that there is a regular pattern… Q2 We are systematically under predicting usage in the second quarter

44 Time PeriodActualPredictedRatioAdjusted 2003:11112.29.8912.29(.87)=10.90 2003:21512.681.1812.68(1.16) = 14.77 2003:31213.08.9113.08(.91) = 11.86 2003:41413.471.0313.47(1.04) = 14.04 2004:11213.87.8713.87(.87) = 12.30 2004:21714.261.1914.26(1.16) = 16.61 2004:31314.66.8814.66(.91) = 13.29 2004:41615.051.0615.05(1.04) = 15.68 2005:11415.44.9115.44(.87) = 13.70 2005:21815.841.1415.84(1.16) = 18.45 2005:31516.23.9216.23(.91) = 14.72 2005:41716.631.0216.63(1.04) = 17.33 2006:11517.02.8817.02(.87) = 15.10 2006:22017.411.1417.41(1.16) = 20.28 2006:31617.81.8917.81(.91) = 16.15 2006:41918.201.0418.20(1.04) = 18.96 Average Ratios Q1 =.87 Q2 = 1.16 Q3 =.91 Q4 = 1.04 We can adjust for this seasonal component…

45 Now, we have a pretty good fit!!

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

47 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

48 Regression Results VariableCoefficientStandard Errort Stat Intercept12.75.22656.38 Time Trend.375.016822.2 D1-2.375.219-10.83 D21.75.2158.1 D3-2.125.213-9.93 Regression Statistics R Squared.99 Standard Error.30 Observations16 Note the much better fit!!

49 Time PeriodActualRatio MethodDummy Variables 2003:11110.9010.75 2003:21514.7715.25 2003:31211.8611.75 2003:41414.0414.25 2004:11212.3012.25 2004:21716.6116.75 2004:31313.2913.25 2004:41615.6815.75 2005:11413.7013.75 2005:21818.4518.25 2005:31514.7214.75 2005:41717.3317.25 2006:11515.1015.25 2006:22020.2819.75 2006:31616.1516.25 2006:41918.9618.75 Ratio Method Dummy Variables

50 A plot confirms the similarity of the methods

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

52 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

53 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

54 Regression Results VariableCoefficientStandard Errort Stat Intercept2.49.06339.6 Time Trend.026.0064.06 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 !!!

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

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

57 When plotted in logs, our period 76 ( year 2022 Q4) looks similar to the linear trend

58 Again, we need to convert back to levels for the forecast to be relevant!! Errors is growth rates compound quickly!!

59 QuarterMarket Share 120 222 323 424 518 623 719 817 922 1023 1118 1223 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…

60 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) 120 222 323 42421.67 51823 6 21.6721.4 71921.6722 8172021.4 92219.6720.2 102319.3319.8 111820.6720.8 12232119.8 A moving average of length N is equal to the average value over the previous N periods

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

62 QuarterMarket Share MA(3)MA(5) 120 222 323 42421.67 51823 6 21.6721.4 71921.6722 8172021.4 92219.6720.2 102319.3319.8 111820.6720.8 12232119.8 Calculating forecasts is straightforward… MA(3) MA(5) So, how do we choose N??

63 QuarterMarket Share MA(3)Squared Error MA(5)Squared Error 120 222 323 42421.675.4289 5182325 62321.671.768921.42.56 71921.677.1289229 81720921.419.36 92219.675.428920.23.24 102319.3313.468919.810.24 111820.677.128920.87.84 122321419.810.24 Total = 78.3534Total = 62.48

64 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.

65 QuarterMarket Share W=.3W=.5 12021.0 22220.720.5 32321.121.3 42421.722.2 51822.423.1 62321.120.6 71921.721.8 81720.920.4 92219.718.7 102320.4 111821.221.7 122320.219.9 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

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

67 Calculating forecasts is straightforward… W=.3 W=.5 So, how do we choose W?? QuarterMarket Share W=.3W=.5 12021.0 22220.720.5 32321.121.3 42421.722.2 51822.423.1 62321.120.6 71921.721.8 81720.920.4 92219.718.7 102320.4 111821.221.7 122320.219.9

68 QuarterMarket Share W =.3Squared Error W=.5Squared Error 12021.01 1 22220.71.6920.52.25 32321.13.6121.32.89 42421.75.2922.23.24 51822.419.3623.126.01 62321.13.6120.65.76 71921.77.2921.87.84 81720.915.2120.411.56 92219.75.2918.710.89 102320.46.7620.46.76 111821.210.2421.713.69 122320.27.8419.99.61 Total = 87.19Total = 101.5


Download ppt "Economics of the Firm Consumer Demand Analysis. Demand relationships are based off of the theory of consumer choice. We can characterize the average consumer."

Similar presentations


Ads by Google