Presentation is loading. Please wait.

Presentation is loading. Please wait.

Estimating Demand Outline Where do demand functions come from? Sources of information for demand estimation Cross-sectional versus time series data Estimating.

Similar presentations


Presentation on theme: "Estimating Demand Outline Where do demand functions come from? Sources of information for demand estimation Cross-sectional versus time series data Estimating."— Presentation transcript:

1

2 Estimating Demand Outline Where do demand functions come from? Sources of information for demand estimation Cross-sectional versus time series data Estimating a demand specification using the ordinary least squares (OLS) method. Goodness of fit statistics.

3 The goal of forecasting To transform available data into equations that provide the best possible forecasts of economic variables—e.g., sales revenues and costs of production—that are crucial for management.

4 Demand for air travel Houston to Orlando Q = 25 + 3Y + P O – 2P Recall that our demand function was estimated as follows: [4.1] Where Q is the number of seats sold; Y is a regional income index; P 0 is the fare charged by a rival airline, and P is the airline’s own fare. Now we will explain how we estimated this demand equation

5 Questions managers should ask about a forecasting equations 1.What is the “best” equation that can be obtained (estimated) from the available data? 2.What does the equation not explain? 3.What can be said about the likelihood and magnitude of forecast errors? 4.What are the profit consequences of forecast errors?

6 How do get the data to estimate demand forecasting equations? Customer surveys and interviews. Controlled market studies. Uncontrolled market data.

7 Campbell’s soup estimates demand functions from data obtained from a survey of more than 100,000 consumers

8 Survey pitfalls Sample bias Response bias Response accuracy Cost

9 Time -series data: historical data--i.e., the data sample consists of a series of daily, monthly, quarterly, or annual data for variables such as prices, income, employment, output, car sales, stock market indices, exchange rates, and so on. Cross-sectional data: All observations in the sample are taken from the same point in time and represent different individual entities (such as households, houses, etc.) Types of data

10 Time series data: Daily observations, Korean Won per dollar

11 Student IDSexAgeHeightWeight 777672431M216’1”178 lbs. 231098765M285’11”205 lbs. 111000111F195’8”121 lbs. 898069845F225’4”98 lbs. 000341234M206’2”183 lbs Example of cross sectional data

12 Estimating demand equations using regression analysis Regression analysis is a statistical technique that allows us to quantify the relationship between a dependent variable and one or more independent or “explanatory” variables.

13 Y X 0 X and Y are not perfectly correlated. However, there is on average a positive relationship between Y and X X1X1 X2X2 Regression theory

14 11 Y1Y1 E(Y|X 1 ) Y X0X1X1 E(Y |X i ) =  0 +  1 X i  1 = Y 1 - E(Y|X 1 ) We assume that expected conditional values of Y associated with alternative values of X fall on a line.

15 Our model is specified as follows: Q = f (P) where Q is ticket sales and P is the fare Specifying a single variable model Q is the dependent variable—that is, we think that variations in Q can be explained by variations in P, the “explanatory” variable.

16  0 and  1 are called parameters or population parameters.  We estimate these parameters using the data we have available Estimating the single variable model [1] [2] Since the data points are unlikely to fall exactly on a line, (1) must be modified to include a disturbance term (ε i )

17 Estimated Simple Linear Regression Equation n The estimated simple linear regression equation is the estimated value of y for a given x value. is the estimated value of y for a given x value. b 1 is the slope of the line. b 1 is the slope of the line. b 0 is the y intercept of the line. b 0 is the y intercept of the line. The graph is called the estimated regression line. The graph is called the estimated regression line.

18 Estimation Process Regression Model y =  0 +  1 x +  Regression Equation E ( y ) =  0 +  1 x Unknown Parameters  0,  1 Sample Data: x y x 1 y 1...... x n y n b 0 and b 1 provide estimates of  0 and  1 Estimated Regression Equation Sample Statistics b 0, b 1

19 Least Squares Method Least Squares Criterion where: y i = observed value of the dependent variable for the i th observation for the i th observation^ y i = estimated value of the dependent variable for the i th observation for the i th observation

20 Slope for the Estimated Regression Equation Least Squares Method

21 n y -Intercept for the Estimated Regression Equation Least Squares Method where: x i = value of independent variable for i th observation observation n = total number of observations _ y = mean value for dependent variable _ x = mean value for independent variable y i = value of dependent variable for i th observation observation

22 Line of best fit The line of best fit is the one that minimizes the squared sum of the vertical distances of the sample points from the line

23 1.Specification 2.Estimation 3.Evaluation 4.Forecasting The 4 steps of demand estimation using regression

24 Table 4-2 Ticket Prices and Ticket Sales along an Air Route

25 Simple linear regression begins by plotting Q-P values on a scatter diagram to determine if there exists an approximate linear relationship:

26

27 Scatter plot diagram with possible line of best fit Average One-way Fare 7 6 5 4 3 2 $20 20 20 20 20 20 Demand curve: Q = 330- P 50 0 100150 Number of Seats Sold per Flight

28 Note that we use X to denote the explanatory variable and Y is the dependent variable. So in our example Sales ( Q ) is the “ Y ” variable and Fares ( P ) is the “ X ” variable. Q = Y P = X

29 Computing the OLS estimators We estimated the equation using the statistical software package SPSS. It generated the following output:

30 Reading the SPSS Output From this table we see that our estimate of  0 is 478.7 and our estimate of  1 is –1.63. Thus our forecasting equation is given by:

31 Step 3: Evaluation Now we will evaluate the forecasting equation using standard goodness of fit statistics, including: 1.The standard errors of the estimates. 2.The t-statistics of the estimates of the coefficients. 3.The standard error of the regression (s) 4.The coefficient of determination (R 2 )

32 We assume that the regression coefficients are normally distributed variables. The standard error (or standard deviation) of the estimates is a measure of the dispersion of the estimates around their mean value. As a general principle, the smaller the standard error, the better the estimates (in terms of yielding accurate forecasts of the dependent variable). Standard errors of the estimates

33 The following rule-of-thumb is useful: The standard error of the regression coefficient should be less than half of the size of the corresponding regression coefficient.

34 Note that: Let denote the standard error of our estimate of  1 Thus we have: Where: and k is the number of estimated coefficients Computing the standard error of  1

35 By reference to the SPSS output, we see that the standard error of our estimate of  1 is 0.367, whereas the (absolute value)our estimate of  1 is 1.63 Hence our estimate is about 4 ½ times the size of its standard error.

36 The SPSS output tells us that the t statistic for the the fare coefficient (P) is –4.453 The t test is a way of comparing the error suggested by the null hypothesis to the standard error of the estimate.

37 ß To test for the significance of our estimate of  1, we set the following null hypothesis, H 0, and the alternative hypothesis, H 1 ßH 0 :  1  0 ßH 1 :  1 < 0 ßThe t distribution is used to test for statistical significance of the estimate: The t test

38  The coefficient of determination, R 2, is defined as the proportion of the total variation in the dependent variable (Y) "explained" by the regression of Y on the independent variable (X). The total variation in Y or the total sum of squares (TSS) is defined as:  The explained variation in the dependent variable(Y) is called the regression sum of squares (RSS) and is given by: Note: Coefficient of determination (R 2 )

39 What remains is the unexplained variation in the dependent variable or the error sum of squares (ESS) We can say the following: TSS = RSS + ESS, or Total variation = Explained variation + Unexplained variation R 2 is defined as:

40 We see from the SPSS model summary table that R 2 for this model is.586

41  Note that: 0  R 2  1  If R 2 = 0, all the sample points lie on a horizontal line or in a circle  If R 2 = 1, the sample points all lie on the regression line  In our case, R 2  0.586, meaning that 58.6 percent of the variation in the dependent variable (consumption) is explained by the regression. Notes on R 2

42 This is not a particularly good fit based on R 2 since 41.4 percent of the variation in the dependent variable is unexplained.

43  The standard error of the regression (s) is given by: Standard error of the regression

44  The model summary tells us that s = 18.6  Regression is based on the assumption that the error term is normally distributed, so that 68.7% of the actual values of the dependent variable (seats sold) should be within one standard error (  $18.6 in our example) of their fitted value.  Also, 95.45% of the observed values of seats sold should be within 2 standard errors of their fitted values (  37.2).

45 Step 4: Forecasting Recall the equation obtained from the regression results is : Our first step is to perform an “in-sample” forecast.

46 At the most basic level, forecasting consists of inserting forecasted values of the explanatory variable P (fare) into the forecasting equation to obtain forecasted values of the dependent variable Q (passenger seats sold).

47 In-Sample Forecast of Airline Sales

48

49 Our ability to generate accurate forecasts of the dependent variable depends on two factors: Do we have good forecasts of the explanatory variable? Does our model exhibit structural stability, i.e., will the causal relationship between Q and P expressed in our forecasting equation hold up over time? After all, the estimated coefficients are average values for a specific time interval (1987-2001). While the past may be a serviceable guide to the future in the case of purely physical phenomena, the same principle does not necessarily hold in the realm of social phenomena (to which economy belongs). Can we make a good forecast?

50 Single Variable Regression Using Excel We will estimate an equation and use it to predict home prices in two cities. Our data set is on the next slide

51 CityIncomeHome Price Akron, OH74.1114.9 Atlanta, GA82.4126.9 Birmingham, AL71.2130.9 Bismark, ND62.892.8 Cleveland, OH79.2135.8 Columbia, SC66.8116.7 Denver, CO82.6161.9 Detroit, MI85.3145 Fort Lauderdale, FL75.8145.3 Hartford, CT89.1162.1 Lancaster, PA75.2125.9 Madison, WI78.8145.2 Naples, FL100173.6 Nashville, TN77.3125.9 Philadelphia, PA87151.5 Savannah, GA67.8108.1 Toledo, OH71.2101.1 Washington, DC97.4191.9 Income (Y) is average family income in 2003 Home Price (HP) is the average price of a new or existing home in 2003.

52 Model Specification

53

54 Regression Statistics Multiple R0.906983447 R Square0.822618973 Adjusted R Square0.811532659 Standard Error11.22878416 Observations18 Coefficients Standard Errort Stat Intercept-48.1103772421.58459326-2.228922114 Income2.3325047690.2707801168.614017895 ANOVA dfSS Regression1 9355.71550 2 Residual16 2017.36949 8 Total1711373.085 Excel Output

55 CityIncomePredicted HP Meridian, MS59,600 $ 138,819.89 Palo Alto, CA121,000 $ 281,881.89 Equation and prediction


Download ppt "Estimating Demand Outline Where do demand functions come from? Sources of information for demand estimation Cross-sectional versus time series data Estimating."

Similar presentations


Ads by Google