demand estimation

55
Copyright 2007 by Oxford University Press, Inc. PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 1 1

Upload: sultan-shah

Post on 06-Aug-2015

35 views

Category:

Documents


1 download

DESCRIPTION

Econometrics

TRANSCRIPT

Page 1: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 1 1

Page 2: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 2

Page 3: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 3

Marketing Research Approaches to Demand Estimation

• Consumer Surveys– data from survey questions

• Observational Research– data from observed behavior

• Consumer Clinics– data from laboratory experiments

• Market Experiments– data from real market tests

Page 4: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 4

Page 5: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 5

Page 6: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 6

Scatter Diagram

Regression Analysis

Year X Y

1 10 44

2 9 40

3 11 42

4 12 46

5 11 48

6 12 52

7 13 54

8 13 58

9 14 56

10 15 60

Page 7: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 7

Page 8: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 8

Regression Analysis

• Regression Line: Line of Best Fit

• Regression Line: Minimizes the sum of the squared vertical deviations (et) of each point from the regression line.

• Ordinary Least Squares (OLS) Method

Page 9: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 9

Page 10: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 10

Ordinary Least Squares (OLS)

Model: t t tY a bX e

ˆˆ ˆt tY a bX

ˆt t te Y Y

Page 11: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 11

Ordinary Least Squares (OLS)

Objective: Determine the slope and intercept that minimize the sum of the squared errors.

2 2 2

1 1 1

ˆˆ ˆ( ) ( )n n n

t t t t tt t t

e Y Y Y a bX

Page 12: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 12

Ordinary Least Squares (OLS)

Estimation Procedure

1

2

1

( )( )ˆ

( )

n

t tt

n

tt

X X Y Yb

X X

ˆa Y bX

Page 13: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 13

Ordinary Least Squares (OLS)

Estimation Example

1 10 44 -2 -6 122 9 40 -3 -10 303 11 42 -1 -8 84 12 46 0 -4 05 11 48 -1 -2 26 12 52 0 2 07 13 54 1 4 48 13 58 1 8 89 14 56 2 6 12

10 15 60 3 10 30120 500 106

4910101149

30

Time tX tY tX X tY Y ( )( )t tX X Y Y 2( )tX X

10n

1

12012

10

nt

t

XX

n

1

50050

10

nt

t

YY

n

1

120n

tt

X

1

500n

tt

Y

2

1

( ) 30n

tt

X X

1

( )( ) 106n

t tt

X X Y Y

106ˆ 3.53330

b

ˆ 50 (3.533)(12) 7.60a

Page 14: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 14

Ordinary Least Squares (OLS)Estimation Example

10n1

12012

10

nt

t

XX

n

1

50050

10

nt

t

YY

n

1

120n

tt

X

1

500n

tt

Y

2

1

( ) 30n

tt

X X

1

( )( ) 106n

t tt

X X Y Y

106ˆ 3.53330

b

ˆ 50 (3.533)(12) 7.60a

Page 15: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 15

Tests of Significance

Standard Error of the Slope Estimate

2 2

ˆ 2 2

ˆ( )

( ) ( ) ( ) ( )t t

bt t

Y Y es

n k X X n k X X

Page 16: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 16

Tests of Significance

Example Calculation

2 2

1 1

ˆ( ) 65.4830n n

t t tt t

e Y Y

2

1

( ) 30n

tt

X X

2

ˆ 2

ˆ( ) 65.48300.52

( ) ( ) (10 2)(30)t

bt

Y Ys

n k X X

1 10 44 42.90

2 9 40 39.37

3 11 42 46.43

4 12 46 49.96

5 11 48 46.43

6 12 52 49.96

7 13 54 53.49

8 13 58 53.49

9 14 56 57.02

10 15 60 60.55

1.10 1.2100 4

0.63 0.3969 9

-4.43 19.6249 1

-3.96 15.6816 0

1.57 2.4649 1

2.04 4.1616 0

0.51 0.2601 1

4.51 20.3401 1

-1.02 1.0404 4

-0.55 0.3025 9

65.4830 30

Time tX tY tY ˆt t te Y Y 2 2ˆ( )t t te Y Y 2( )tX X

Page 17: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 17

Tests of Significance

Example Calculation

2

ˆ 2

ˆ( ) 65.48300.52

( ) ( ) (10 2)(30)t

bt

Y Ys

n k X X

2

1

( ) 30n

tt

X X

2 2

1 1

ˆ( ) 65.4830n n

t t tt t

e Y Y

Page 18: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 18

Tests of Significance

Calculation of the t Statistic

ˆ

ˆ 3.536.79

0.52b

bts

Degrees of Freedom = (n-k) = (10-2) = 8

Critical Value at 5% level =2.306

Page 19: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 19

Tests of Significance

Decomposition of Sum of Squares

2 2 2ˆ ˆ( ) ( ) ( )t t tY Y Y Y Y Y

Total Variation = Explained Variation + Unexplained Variation

Page 20: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 20

Page 21: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 21

Tests of Significance

Coefficient of Determination

22

2

ˆ( )

( )t

Y YExplainedVariationR

TotalVariation Y Y

2 373.840.85

440.00R

Page 22: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 22

Page 23: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 23

Tests of Significance

Coefficient of Correlation

2 ˆr R with the signof b

0.85 0.92r

1 1r

Page 24: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 24

Multiple Regression Analysis

Model: 1 1 2 2 ' 'k kY a b X b X b X

Page 25: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 25

Page 26: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 26

Page 27: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 27

Multiple Regression Analysis

Adjusted Coefficient of Determination

2 2 ( 1)1 (1 )

( )

nR R

n k

Page 28: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 28

Multiple Regression Analysis

Analysis of Variance and F Statistic

/( 1)

/( )

ExplainedVariation kF

UnexplainedVariation n k

2

2

/( 1)

(1 ) /( )

R kF

R n k

Page 29: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 29

Problems in Regression Analysis

• Multicollinearity: Two or more explanatory variables are highly correlated.

• Heteroskedasticity: Variance of error term is not independent of the Y variable.

• Autocorrelation: Consecutive error terms are correlated.

Page 30: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 30

Page 31: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 31

Durbin-Watson Statistic

Test for Autocorrelation

21

2

2

1

( )n

t tt

n

tt

e ed

e

If d = 2, autocorrelation is absent.

Page 32: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 32

Steps in Demand Estimation

• Model Specification: Identify Variables

• Collect Data

• Specify Functional Form

• Estimate Function

• Test the Results

Page 33: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 33

Functional Form Specifications

Linear Function:

Power Function:

0 1 2 3 4X X YQ a a P a I a N a P e

1 2( )( )b bX X YQ a P P

Estimation Format:

1 2ln ln ln lnX X YQ a b P b P

Page 34: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 34

Page 35: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 35

Page 36: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 36

Page 37: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 37

Chapter 4 Appendix

Page 38: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 38

Page 39: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 39

Page 40: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 40

Page 41: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 41

Getting Started

• Install the Analysis ToolPak add-in from the Excel installation media if it has not already been installed

• Attach the Analysis ToolPak add-in– From the menu, select Tools and then

Add-Ins...– When the Add-Ins dialog appears, select

Analysis ToolPak and then click OK.

Page 42: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 42

Page 43: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 43

Entering Data

• Data on each variable must be entered in a separate column

• Label the top of each column with a symbol or brief description to identify the variable

• Multiple regression analysis requires that all data on independent variables be in adjacent columns

Page 44: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 44

Example Data

Page 45: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 45

Running the Regression

• Select the Regression tool from the Analysis ToolPak dialog– From the menu, select Tools and then

Data Analysis...– On the Data Analysis dialog, scroll down

the list of Analysis Tools, select Regression, and then click OK

– The Regression tool dialog will then be displayed

Page 46: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 46

Page 47: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 47

Page 48: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 48

Select the Data Ranges

• Type in the data range for the Y variable or select the range on the worksheet

• Type in the data range for the X variable(s) or select the range on the worksheet

• If your ranges include the data labels (recommended) then check the labels option

Page 49: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 49

Page 50: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 50

Select an Output Option

• Output to a selected range– Selection is the upper left corner of the

output range

• Output to a new worksheet– Optionally enter a name for the worksheet

• Output to a new workbook

• And then click OK

Page 51: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 51

Page 52: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 52

Regression Output

Page 53: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 53

Multiple Regression Data

Page 54: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 54

Page 55: Demand Estimation

Copyright 2007 by Oxford University Press, Inc.PowerPoint Slides Prepared by Robert F. Brooker, Ph.D. Slide 55

Regression Output