lecture 2. generalized linear econometric model and methods of its construction

26
LECTURE LECTURE 2 2 . . GENERALIZED LINEAR GENERALIZED LINEAR ECONOMETRIC MODEL ECONOMETRIC MODEL AND METHODS OF AND METHODS OF ITS CONSTRUCTION ITS CONSTRUCTION

Upload: chester-wilfrid-stewart

Post on 13-Jan-2016

237 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

LECTURELECTURE 22.. GENERALIZED GENERALIZED LINEAR LINEAR ECONOMETRIC ECONOMETRIC MODEL AND MODEL AND METHODS OF ITS METHODS OF ITS CONSTRUCTIONCONSTRUCTION

Page 2: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

PlanPlan2.1 The Simple Linear Model

2.2 The empirical model of multidimensional linear regression.

2.3 Ordinary Least Squares.

2.4 OLS estimation operator.

2.5 Preconditions of using OLS – Gaus-Markov conditions.

2.6Nonlinear Model Construction on the Basis of Linear Models.

Page 3: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

2.1 2.1 The Simple Linear ModelThe Simple Linear Model ,.,,..,,...,,| 2121 mm XXXaXXX

,......

,......

,......,......

22110

22110

2222221102

1112211101

nmmnjjnnn

immijjiii

mmjj

mmjj

xaxaxaxaay

xaxaxaxaay

xaxaxaxaayxaxaxaxaay

Theoretical linear multiple regression

where y – variable to be explained (dependent variable) or rehresant; х1, x2,...,хm – independent explaning variables or regressors; a1, a2,..., am – model parameters (theoretic, nonstatistic data);

Page 4: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

Matrix form of an algebraic linear equation system

,aXY

.,

......1

......1

......1

......1

,

1

0

21

21

222221

111211

2

1

m

j

nmnjnn

imijii

mj

mj

n

i

a

a

a

a

a

xxxx

xxxx

xxxx

xxxx

X

y

y

y

y

Y

Page 5: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

,...

,...

,...

,...

*3

*32

*21

*1

*0

33*

33*332

*231

*1

*03

22*

23*322

*221

*1

*02

11*

13*312

*211

*1

*01

nnmmnnnn

mm

mm

mm

exxxxy

exxxxy

exxxxy

exxxxy

In general terms, the empirical model is written as:

2.2 2.2 Empirical model of Empirical model of multiple linear regression.multiple linear regression.

Page 6: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

,eXy

.,,

......1

......1

......1

......1

,

2

1

1

0

21

21

222221

111211

2

1

n

i

m

j

nmnjnn

imijii

mj

mj

n

i

e

e

e

e

e

xxxx

xxxx

xxxx

xxxx

X

y

y

y

y

Y

The empirical model, which is a prototype of a theoretical model.

where e – random component of the regression equation.

Page 7: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

exy 10 nyyyy ,...,, 21 nxxxx ,...,, 21 neeee ,...,, 21

Pair linear regression:

where

2.3 Ordinary Least Squares. 2.3 Ordinary Least Squares.

statistic

xaay 10 theoretic

Page 8: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

Example : relationship between the volume of bank loans and the cost of advertising

X

Y

0

1

2

3

Figure 2.1 - The relationship between the volume of bank loans and the cost of advertising

yst

i

Page 9: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

nixaayyye oththsti ,1,1

The deviation of the theoretical values from the actual

n

iii

n

ii aafxaaye

110

210

1

2 min),()(

Page 10: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

0),(

))((

;0),(

)(

1

10

1

1

210

0

10

0

1

2

a

aaf

a

xaay

a

aaf

a

e

n

iii

n

ii

n

iiii

n

ii

n

iii

n

ii

xaayxa

e

xaaya

e

110

1

1

2

110

0

1

2

0)(2)(

0)(2)(

Page 11: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

n

i

n

ii

n

iiii

n

i

n

iii

xaxaxy

xanay

1 1

21

10

1 110 ;

Lets solve a system of linear algebraic equations using the Kronecker-Capelli theorem.

We obtain a system of linear algebraic equations:

Page 12: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

n

i

n

iii

n

i

n

i

n

iii

ii

xn

x

n

yxyx

a

1

2

1

2

1

1 1

11

n

ii

n

iii

xxn

yxyxn

a

1

22

11 1

1

n

ii

n

ii y

nyx

nx

11

1;

1

where

The relation for the parameter α1 estimation:

To simplify the expression for α1 lets multiply numerator and denominator of this expression by 1 divided n. We obtain:

Page 13: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

01

101

210

00

1

2

n

iii

n

iii

n

ii

xaayxaayaa

e

n

iiiii eexaay

110

xaya

xn

aayn

n

ii

n

ii

10

110

1

011

To determine the parameter alpha lets return to the previous formula. We have:

The expression gives us, firstly, to confirm that the amount of error is zero. In fact,

secondly, dividing it into n we have an expression for determining

Page 14: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

xaayth 10

So we found a formula to determine the unknown parameters a0 and a1. We can write in the explicit form the regression equation y from x in which the parameters are calculated by the Ordinary least squares method, sometimes called the Ordinary least squares regression y from x. So, we have:

Page 15: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

Pair linear regressionPair linear regression

Dependent variable Independent variable1

the volume of bank reserves

the composition of the loan portfolio

2The volume of the bank costs

The volume of deposits

3change of rating of the bank

time factor

Page 16: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

EXAMPLE of a regression equation illustration

Table 1 - Research on effectiveness of advertising costs

Page 17: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

n

iix

nx

1

;105

501

1010340;322

66

)var(

),cov(

;664005

23301),cov(

;5

6101)var(

101

1

1

22

xayax

yxa

yxyxn

yx

xxn

x

n

iii

n

ii

n

iiy

ny

1

;405

2001

Received linear equation will look like: 103 xyth

To calculate the unknown parameters α0,α1 we consistently have to make the following calculations:

Page 18: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

2.2.4 OLS estimation operator4 OLS estimation operator

Page 19: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

2.5 Preconditions of using OLS – 2.5 Preconditions of using OLS – Gaus-Markov conditionsGaus-Markov conditions

1. The mathematical expectation of random deviations must be equal to zero.2. The variance of the random deviations must be a constant.3. Random deviations should be independent each from other.4. Random vector deviations must be independent from repressors.5. Components of a random vector should have a normal distribution law.6. There is no linear (correlation) relationship between repressors of matrix X.7. Econometric models are linear relative to its parameters.

Page 20: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

2.6 Nonlinear Model Construction on 2.6 Nonlinear Model Construction on the Basis of Linear Models.the Basis of Linear Models.

The influence of many factors on the variable to be explained can be described by a linear model:

where y –variable to be explained or rehresant;

х1, x2,...,хm – independent explanatory variables or regressors;

α1, α2,..., αm – model parameters, which waas counted using OLS

(practice, statistic data);

e – random component of the regression equation.

Page 21: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

mm axaxaxay ln...lnlnlnln 22110

For example, a power function

after logarithmation takes the form

mam

aa xxxay ...21210

Page 22: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

Exponential function

after logarithmation takes the linear form

mxm

xx aaaay ...21210

where lny – assessment of y; lna0 =α0– assessment of a0;

and after replacing ln хi = αi , i=1,2, …, m is linear relatively to parameters αi.

Page 23: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

Hyperbolic function

and Quadratic function

change of variables

leads to a linear form

or

Page 24: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

Table 2.1 - Reduction of nonlinear econometric models to the linear form

xx

1*

1*0

0*0

*

ln

ln

ln

aa

aa

yy

0*0

*

ln

ln

aa

yy

Page 25: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

Table 2.1 - Reduction of nonlinear econometric models to the linear form

xx

yy

/1

ln*

*

yy

1*

xx

yy

ln

1

*

*

xx

yy

1

1

*

*

Page 26: LECTURE 2. GENERALIZED LINEAR ECONOMETRIC MODEL AND METHODS OF ITS CONSTRUCTION

Thank you Thank you for your for your

attention!attention!