BS2247 Introduction to Econometrics Lecture 1: Basic Mathematical - - PowerPoint PPT Presentation

bs2247 introduction to econometrics lecture 1 basic
SMART_READER_LITE
LIVE PREVIEW

BS2247 Introduction to Econometrics Lecture 1: Basic Mathematical - - PowerPoint PPT Presentation

BS2247 Introduction to Econometrics Lecture 1: Basic Mathematical Review Dr. Kai Sun Aston Business School 1 / 22 Welcome to BS2247: Introduction to Econometrics I What is Econometrics? Econometrics = Economics + Statistics Econometrics is


slide-1
SLIDE 1

BS2247 Introduction to Econometrics Lecture 1: Basic Mathematical Review

  • Dr. Kai Sun

Aston Business School

1 / 22

slide-2
SLIDE 2

Welcome to BS2247: Introduction to Econometrics I

What is Econometrics? Econometrics = Economics + Statistics “Econometrics is based upon the development of statistical methods for estimating economic relationships, testing economic theories, and evaluating and implementing government and business policy.”

2 / 22

slide-3
SLIDE 3

Why study Econometrics?

◮ It allows one to test economic theory or to estimate a

relationship with real world data

◮ The real world data are non-experimental, or observational ◮ We can use econometrics to evaluate the effectiveness of a

program. Say we are interested in knowing if a publicly funded job training program can increase people’s wage.

3 / 22

slide-4
SLIDE 4

Why study Econometrics?

◮ It allows one to test economic theory or to estimate a

relationship with real world data

◮ The real world data are non-experimental, or observational ◮ We can use econometrics to evaluate the effectiveness of a

program. Say we are interested in knowing if a publicly funded job training program can increase people’s wage.

3 / 22

slide-5
SLIDE 5

Why study Econometrics?

◮ It allows one to test economic theory or to estimate a

relationship with real world data

◮ The real world data are non-experimental, or observational ◮ We can use econometrics to evaluate the effectiveness of a

program. Say we are interested in knowing if a publicly funded job training program can increase people’s wage.

3 / 22

slide-6
SLIDE 6

Types of Data

◮ Cross-sectional

Each observation is an individual, firm, etc. with information at a point in time (e.g., British people’s annual wage in 2012)

◮ Time series

Each observation is for a particular time period (e.g., UK GDP from 2001 to 2010)

4 / 22

slide-7
SLIDE 7

Types of Data

◮ Cross-sectional

Each observation is an individual, firm, etc. with information at a point in time (e.g., British people’s annual wage in 2012)

◮ Time series

Each observation is for a particular time period (e.g., UK GDP from 2001 to 2010)

4 / 22

slide-8
SLIDE 8

Types of Data

◮ Panel

A combination of cross-sectional and time series data. It carries information about how individual observations vary

  • ver time.

e.g., British people’s annual wage from 2001 to 2010. This course will focus on using the cross-sectional data.

5 / 22

slide-9
SLIDE 9

Types of Data

◮ Panel

A combination of cross-sectional and time series data. It carries information about how individual observations vary

  • ver time.

e.g., British people’s annual wage from 2001 to 2010. This course will focus on using the cross-sectional data.

5 / 22

slide-10
SLIDE 10

Correlation vs. Causality

◮ Econometric models aim to estimate causal, or ceteris paribus,

relationships. ceteris paribus: holding everything else constant.

◮ For example, simply knowing the correlation between

education and wage is not enough. Policy makers are more interested in knowing how an increase in education causes wage to increase, ceteris paribus.

◮ When examining the impact of education on wage, we should

hold constant other factors, such as experience, gender, race, etc., that can potentially affect wage.

6 / 22

slide-11
SLIDE 11

Correlation vs. Causality

◮ Econometric models aim to estimate causal, or ceteris paribus,

relationships. ceteris paribus: holding everything else constant.

◮ For example, simply knowing the correlation between

education and wage is not enough. Policy makers are more interested in knowing how an increase in education causes wage to increase, ceteris paribus.

◮ When examining the impact of education on wage, we should

hold constant other factors, such as experience, gender, race, etc., that can potentially affect wage.

6 / 22

slide-12
SLIDE 12

Correlation vs. Causality

◮ Econometric models aim to estimate causal, or ceteris paribus,

relationships. ceteris paribus: holding everything else constant.

◮ For example, simply knowing the correlation between

education and wage is not enough. Policy makers are more interested in knowing how an increase in education causes wage to increase, ceteris paribus.

◮ When examining the impact of education on wage, we should

hold constant other factors, such as experience, gender, race, etc., that can potentially affect wage.

6 / 22

slide-13
SLIDE 13

Example: Returns to Education

A typical econometric model: wage = β0 + β1educ + β2experience + · · · + u

◮ The estimate of β1, is the return to education ◮ · · · includes other factors that can affect wage. ◮ u is the error term, which includes unobserved factors, like

personality

7 / 22

slide-14
SLIDE 14

To estimate β1, we must have necessary statistics knowledge.

◮ The first two lectures will cover some basic statistics. ◮ For the rest of the lectures, we will refer to these basics from

time to time.

◮ Course logistics (homework, tutorial, office hours, etc.)

8 / 22

slide-15
SLIDE 15

Summation and Average

Summation operator Define a sequence of n numbers {x1, . . . , xn} n

i=1 xi = x1 + x2 + . . . + xn

n

i=1 c = nc, where c is a constant

n

i=1 cxi = c n i=1 xi

Example: we have a sequence of 4 numbers: {x1 = 4, x2 = 12, x3 = 2, x4 = 6}. Let c = 5. 4

i=1 xi = 4 + 12 + 2 + 6 = 24

4

i=1 5 = 5 + 5 + 5 + 5 = 4 × 5 = 20

4

i=1 5xi = 5 4 i=1 xi = 5 × 24 = 120

9 / 22

slide-16
SLIDE 16

Summation and Average

Summation operator Define a sequence of n numbers {x1, . . . , xn} n

i=1 xi = x1 + x2 + . . . + xn

n

i=1 c = nc, where c is a constant

n

i=1 cxi = c n i=1 xi

Example: we have a sequence of 4 numbers: {x1 = 4, x2 = 12, x3 = 2, x4 = 6}. Let c = 5. 4

i=1 xi = 4 + 12 + 2 + 6 = 24

4

i=1 5 = 5 + 5 + 5 + 5 = 4 × 5 = 20

4

i=1 5xi = 5 4 i=1 xi = 5 × 24 = 120

9 / 22

slide-17
SLIDE 17

Define a sequence of n pair of numbers {(x1, y1), . . . , (xn, yn)} n

i=1(axi + byi) = n i=1 axi + n i=1 byi = a n i=1 xi + b n i=1 yi

Common mistakes: n

i=1 xi yi = n

i=1 xi

n

i=1 yi (Example: 4

5 + 12 14 = 4+12 5+14)

n

i=1 x2 i = (n i=1 xi)2 (Example: 42 + 122 = (4 + 12)2) n

i=1 xiyi

n

i=1 x2 i

=

n

i=1 yi

n

i=1 xi (Example: 4×5+12×14

42+122

= 5+14

4+12)

10 / 22

slide-18
SLIDE 18

Define a sequence of n pair of numbers {(x1, y1), . . . , (xn, yn)} n

i=1(axi + byi) = n i=1 axi + n i=1 byi = a n i=1 xi + b n i=1 yi

Common mistakes: n

i=1 xi yi = n

i=1 xi

n

i=1 yi (Example: 4

5 + 12 14 = 4+12 5+14)

n

i=1 x2 i = (n i=1 xi)2 (Example: 42 + 122 = (4 + 12)2) n

i=1 xiyi

n

i=1 x2 i

=

n

i=1 yi

n

i=1 xi (Example: 4×5+12×14

42+122

= 5+14

4+12)

10 / 22

slide-19
SLIDE 19

From summation to average (i.e., mean) The average of the sequence (or sample) is ¯ x = 1

n

n

i=1 xi

  • r

n

i=1 xi = n¯

x Example: ¯ x = 1

4

4

i=1 xi = 1 4(4 + 12 + 2 + 6) = 6

4

i=1 xi = 4¯

x = 4 × 6 = 24

11 / 22

slide-20
SLIDE 20

From summation to average (i.e., mean) The average of the sequence (or sample) is ¯ x = 1

n

n

i=1 xi

  • r

n

i=1 xi = n¯

x Example: ¯ x = 1

4

4

i=1 xi = 1 4(4 + 12 + 2 + 6) = 6

4

i=1 xi = 4¯

x = 4 × 6 = 24

11 / 22

slide-21
SLIDE 21

Deviation from the mean

di = xi − ¯ x Properties: n

i=1 di = 0

n

i=1(xi − ¯

x)2 = n

i=1 x2 i − n(¯

x)2 n

i=1(xi − ¯

x)2 = n

i=1 xi(xi − ¯

x) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xiyi − n¯

x¯ y n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xi(yi − ¯

y) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 yi(xi − ¯

x)

12 / 22

slide-22
SLIDE 22

Deviation from the mean

di = xi − ¯ x Properties: n

i=1 di = 0

n

i=1(xi − ¯

x)2 = n

i=1 x2 i − n(¯

x)2 n

i=1(xi − ¯

x)2 = n

i=1 xi(xi − ¯

x) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xiyi − n¯

x¯ y n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xi(yi − ¯

y) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 yi(xi − ¯

x)

12 / 22

slide-23
SLIDE 23

Deviation from the mean

di = xi − ¯ x Properties: n

i=1 di = 0

n

i=1(xi − ¯

x)2 = n

i=1 x2 i − n(¯

x)2 n

i=1(xi − ¯

x)2 = n

i=1 xi(xi − ¯

x) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xiyi − n¯

x¯ y n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xi(yi − ¯

y) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 yi(xi − ¯

x)

12 / 22

slide-24
SLIDE 24

Deviation from the mean

di = xi − ¯ x Properties: n

i=1 di = 0

n

i=1(xi − ¯

x)2 = n

i=1 x2 i − n(¯

x)2 n

i=1(xi − ¯

x)2 = n

i=1 xi(xi − ¯

x) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xiyi − n¯

x¯ y n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xi(yi − ¯

y) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 yi(xi − ¯

x)

12 / 22

slide-25
SLIDE 25

Deviation from the mean

di = xi − ¯ x Properties: n

i=1 di = 0

n

i=1(xi − ¯

x)2 = n

i=1 x2 i − n(¯

x)2 n

i=1(xi − ¯

x)2 = n

i=1 xi(xi − ¯

x) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xiyi − n¯

x¯ y n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xi(yi − ¯

y) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 yi(xi − ¯

x)

12 / 22

slide-26
SLIDE 26

Deviation from the mean

di = xi − ¯ x Properties: n

i=1 di = 0

n

i=1(xi − ¯

x)2 = n

i=1 x2 i − n(¯

x)2 n

i=1(xi − ¯

x)2 = n

i=1 xi(xi − ¯

x) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xiyi − n¯

x¯ y n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xi(yi − ¯

y) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 yi(xi − ¯

x)

12 / 22

slide-27
SLIDE 27

Deviation from the mean

di = xi − ¯ x Properties: n

i=1 di = 0

n

i=1(xi − ¯

x)2 = n

i=1 x2 i − n(¯

x)2 n

i=1(xi − ¯

x)2 = n

i=1 xi(xi − ¯

x) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xiyi − n¯

x¯ y n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 xi(yi − ¯

y) n

i=1(xi − ¯

x)(yi − ¯ y) = n

i=1 yi(xi − ¯

x)

12 / 22

slide-28
SLIDE 28

Proportionate/Percentage/Percentage-point change

Proportionate change Exact: (x2 − x1)/x1 Approximate: ln x2 − ln x1 Percentage change: Proportionate change ×100 Exact: [(x2 − x1)/x1] × 100 Approximate: (ln x2 − ln x1) × 100 Percentage point change: change in the percentages

13 / 22

slide-29
SLIDE 29

Example Question: A person’s income increases from $30,000 per year to $36,000 per year. Calculate exact and approximate proportionate change and percentage change. Answer: Exact proportionate change = 36000−30000

30000

= 0.2 Approximate proportionate change = ln 36000 − ln 30000 = 0.18 Exact percentage change = 0.2 × 100 = 20 Approximate percentage change = 0.18 × 100 = 18

14 / 22

slide-30
SLIDE 30

Example Question: A person’s income increases from $30,000 per year to $36,000 per year. Calculate exact and approximate proportionate change and percentage change. Answer: Exact proportionate change = 36000−30000

30000

= 0.2 Approximate proportionate change = ln 36000 − ln 30000 = 0.18 Exact percentage change = 0.2 × 100 = 20 Approximate percentage change = 0.18 × 100 = 18

14 / 22

slide-31
SLIDE 31

A rule-of-thumb that economists always use

∆ ln x = 1 = ⇒ %∆x = 100 That is, that the natural logarithm of x changes by 1 unit implies that x changes by 100%. To understand this, think like this: If proportionate change is 1, then percentage change is 100.

15 / 22

slide-32
SLIDE 32

Application of the rule-of-thumb

Model 1 (log-log): ln y = β0 + β1 ln x + u Interpret β1:

  • when ln x increases by 1 unit, ln y increases by β1 units =

  • when x increases by 100%, y increases by β1 × 100% =

  • when x increases by 1%, y increases by β1%

16 / 22

slide-33
SLIDE 33

Application of the rule-of-thumb

Model 2 (log-level): ln y = β0 + β1x + u Interpret β1:

  • when x increases by 1 unit, ln y increases by β1 units =

  • when x increases by 1 unit, y increases by β1 × 100%

17 / 22

slide-34
SLIDE 34

Application of the rule-of-thumb

Model 3 (level-log): y = β0 + β1 ln x + u Interpret β1:

  • when ln x increases by 1 unit, y increases by β1 units =

  • when x increases by 100%, y increases by β1 units =

  • when x increases by 1%, y increases by β1/100 units

18 / 22

slide-35
SLIDE 35

Functions in econometric models

  • 1. Linear functions

(a) y = β0 + β1x + u ∆y = β1∆x = ⇒ β1 = ∆y

∆x is the marginal effect of x on y.

(b) y = β0 + β1x1 + β2x2 + u ∆y = β1∆x1 + β2∆x2 = ⇒ β1 = ∆y

∆x1 if ∆x2 = 0

19 / 22

slide-36
SLIDE 36

Functions in econometric models

  • 2. Quadratic functions

y = β0 + β1x + β2x2 + u Important properties: (a) U-shaped if β2 > 0 (b) Inverse U-shaped if β2 < 0 Need a little bit calculus to calculate the marginal effect of x:

∆y ∆x = β1 + 2β2x

20 / 22

slide-37
SLIDE 37

Functions in econometric models

  • 3. Logarithm functions

y = ln x + u (x > 0) Properties of natural logarithm: (a) ln(x1x2) = ln x1 + ln x2 (b) ln x1

x2 = ln x1 − ln x2

(c) ln xc = c ln x

21 / 22

slide-38
SLIDE 38

Reading

Appendix A, Introductory Econometrics - A Modern Approach, 4th Edition, J. Wooldridge

22 / 22