Sei sulla pagina 1di 28

Lecture 4

The Simple Linear Regression Model I:


Specification and Estimation

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 1
Lecture Outline
 An Economic Model
 An Econometric Model
 The Nature of Regression Analysis
 Estimating the Regression Parameters
 Assumptions of OLS

 Suggested Reading:
• Chapter 2, 3 & 4.1, 4.2: Hill, R.C., Griffiths W.E. and Lim, G.C.
Principles of Econometrics, fourth edition, Wiley, 2012 (pp. 39-110)
• Chapter 1-3: Gujarati, D.N. and Porter D.C. Basic econometrics, 5th
ed., McGraw-Hill, 2009 (pp. 34-117)
• Chapter 1 & 2: Dougherty, Christopher. Introduction to
econometrics. 4th ed. Oxford University Press, 2011 (pp.83-147)

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 2
 Before we move on,
 Random variable
 Conditional probability
 Population parameters (Fixed values)
 Sample statistics (Random variables)
 Expected value rules
 Variance and covariance rules
 Estimator and estimate
 Properties of an estimator

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 3
4.1 An Economic Model
 As business decision makers we are usually more
interested in studying relationships between variables
– Economic theory tells us that expenditure on economic
goods depends on income
Expendidure  f (Income)
– Consequently Expenditure is defined as the ‘‘dependent
variable’’ and Income as the “independent’’ or
‘‘explanatory’’ variable
– The dependent variable is denoted as y and the
independent variable is denoted as x.
y=Expenditure; x=Income

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 4
4.1 An Economic Model
 Suppose that we are interested only in food expenditure of
households with an income of $1,000 per week

Probability distribution of
food expenditure y given
income x = $1000

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 5
4.1 An Economic Model
 In econometrics, we recognise that real-world expenditures
are random variables, and we want to use data to learn
about the relationship

Probability distributions
of food expenditures y
given incomes x = $1000
and x = $2000

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 6
4.2 An Econometric Model
Expenditure and income of 40 sample households

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 7
4.2 An Econometric Model
 To investigate the relationship between expenditure and
income we must build an economic model and then a
corresponding econometric model
 This econometric model is also called a regression model
– The simple regression function is written as
E  y | x   μ y| x  β1  β2 x

where β1 is the intercept and β2 is the slope and they are


population parameters
• Regression analysis is largely concerned with estimating and/or
predicting the (population) mean value of the dependent
variable on the basis of the known or fixed values of the
explanatory variable(s).

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 8
4.2 An Econometric Model
The econometric model: a linear relationship

E ( y | x) dE ( y | x)
The slope of the regression line β 2  x

dx

dE(y|x)/dx denotes the derivative of the expected value of y


given an x value
N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 9
4.2 An Econometric Model
• The model E  y | x   μ y| x  β1  β2 x describes economic
behaviour in the population of our interest
• If we were to sample household expenditures at other levels of
income the regression function describes the mean value of
household expenditure for each level of income

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 10
4.2 An Econometric Model
4.2.1 Introducing the Error Term
Any observation on the dependent variable y can be decomposed
into two parts: a systematic component and a random component
called a “random error term”.

The relationship among y, e and


the true regression line

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 11
4.2 An Econometric Model
4.2.1 Introducing the Error Term
• The random error term is defined as
e  y  E  y | x   y  β1  β2 x
• Rearranging gives
y  β1  β 2 x  e
where y is the dependent variable and x is the independent
variable
• The expected value of the error term, given x, is

E (e | x)  E ( y | x)  β1  β2 x  0

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 12
4.2 An Econometric Model
4.2.1 Introducing the Error Term
• The random error term is defined as
e  y  E  y | x   y  β1  β2 x
• Any other economic factors that affect expenditures on food
are “collected” in the error term.
• The error term e is a “storage bin” for unobservable and/or
unimportant factors affecting the dependent variable
• The error term e captures any approximation error that arises
because the linear functional form we have assumed
• The error term captures any elements of random behaviour that
may be present in each individual.

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 13
4.2 An Econometric Model
4.2.1 Introducing the Error Term
Probability density functions for e and y

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 14
4.3 The Nature of Regression Analysis
4.3.1 Statistical versus Deterministic Relationships
• Regression analysis concerned with the statistical, not functional or
deterministic, dependence among variables
• In statistical relationships deal with random or stochastic variables,
that is, variables that have probability distributions.
• The dependence of family food expenditure on income, family size,
location, and taste, for example, is statistical in nature in the sense
that the explanatory variables, although certainly important, will not
enable the economist to predict food expenditure exactly because
of errors involved in measuring these variables as well as a host of
other factors (variables) that collectively affect the expenditure but
may be difficult to identify individually.
• Thus, there is bound to be some “intrinsic” or random variability in
the dependent-variable crop yield that cannot be fully explained no
matter how many explanatory variables we consider.

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 15
4.3 The Nature of Regression Analysis
4.3.2 Regression versus Correlation
• Closely related to but conceptually very much different,
• The primary objective of correlation analysis is to measure the
strength or degree of linear association between two variables.
• Regression analysis tries to estimate or predict the average value of
one variable on the basis of the fixed values of other variables.
• Regression and correlation have some fundamental differences.
• In regression analysis the dependent variable is assumed to be
statistical, random, or stochastic, that is, to have a probability
distribution. The explanatory variables, on the other hand, are assumed
to have fixed values (in repeated sampling),
• In correlation analysis, there is no distinction between the dependent
and explanatory variables and both variables are assumed to be
random.

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 16
4.3 The Nature of Regression Analysis
4.3.2 Regression versus Causation
• Although regression analysis deals with the dependence of one variable on other
variables, it does not necessarily imply causation.

“A statistical relationship, however strong and however suggestive, can never


establish causal connection: our ideas of causation must come from outside
statistics, ultimately from some theory or other.”

In the expenditure-income example, there is no statistical reason to assume that


income does not depends on expenditure. The fact that we treat expenditure as
dependent on income (among other things) is due to non-statistical considerations:
Common sense suggests that the relationship cannot be reversed, for we cannot
control income by varying food expenditure.

A statistical relationship in itself cannot logically imply causation. To ascribe causality,


we need a priori or theoretical considerations. Thus, we have to rely on economic
theory in saying that consumption expenditure depends on real income.

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 17
4.4 Estimating the Regression Parameters
4.4.1 Estimates for the Food Expenditure Function

Food Expenditure and Income Data [food (POE 4th ed.) from gretl]
File>>Open data>>Sample file…>>POE 4th ed.>>food
N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 18
4.4 Estimating the Regression Parameters
4.4.1 Estimates for the Food Expenditure Function

Food Expenditure and Income Data [food (POE 4th ed.) from gretl]
N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 19
4.4 Estimating the Regression Parameters
4.4.1 Estimates for the Food Expenditure Function
Model…>>Ordinary least squares…

A convenient way to report the values for b1 and b2 is to write out


the estimated or fitted regression line:
yˆ i  83.42  10.21xi
N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 20
4.4 Estimating the Regression Parameters
4.4.1 Estimates for the Food Expenditure Function

The fitted regression line

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 21
4.4 Estimating the Regression Parameters
4.4.2 Interpreting the Estimates
 The value b2 = 10.21 is an estimate of 2,
the amount by which weekly expenditure
on food per household increases when
household weekly income increases by
$100.
 Thus, we estimate that if income goes up
by $100, expected weekly expenditure on
food will increase by approximately $10.21
 The intercept estimate b1 = 83.42 is an
estimate of the weekly food expenditure
on food for a household with zero income

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 22
4.4 Estimating the Regression Parameters
4.4.3 Prediction
 Suppose that we wanted to predict weekly food
expenditure for a household with a weekly income of
$2000. This prediction is carried out by substituting x = 20
into our estimated equation to obtain:

yˆ  83.42  10.21xi  83.42  10.21(20)  287.61

 We predict that a household with a weekly income of


$2000 will spend $287.61 per week on food
 Work example: Predict weekly food expenditure for a
weekly income of $1000.

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 23
4.4 Estimating the Regression Parameters
4.4.4 Least Square Principles
 We want to estimate
population parameters β1
and β2 from
y  β1  β 2 x  e

 The fitted regression line is:


yˆi  b1  b2 xi

 The least squares residual is:


eˆi  yi  yˆi  yi  b1  b2 xi Be mindful of differences in
notations in different textbooks.

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 24
4.4 Estimating the Regression Parameters
4.4.4 Least Square Principles
 Least squares estimates for the
unknown parameters β1 and β2
are obtained my minimizing the
sum of squares function:

Minimiseå êi2 = å(yi - b1 - b2 xi )2


å(xi - x )(yi - y )
b2 =
å(xi - x )2
å XiYi - nXY
b2 = See Appendix 2A (p83-84) in Hill et el. (2012)
å Xi2 - nX 2 Appendix 3A.1 (p.92) Gujarati and Porter (2009)

b1  y  b2 x

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 25
4.4 Estimating the Regression Parameters
4.4.4 Least Square Principles
1 2 3 4 3*4 5
xi yi xi  x   yi  y  xi  x 2 yˆ  b1  b2 xi ê
2 4 -2 -1 2 4
3 3 -1 -2 2 1
5 4 1 -1 -1 1
6 7 2 2 4 4
5 4 1 -1 -1 1
4 7 0 2 0 0
4 6 0 1 0 0
3 5 -1 0 0 1
x =4 y =5 ∑=6 ∑=12
å(xi - x )(yi - y )
b2 = = b1  y  b2 x 
å(xi - x ) 2

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 26
4.5 Econometric Method
Assumptions of the Simple Linear Regression
SR1:The value of y, for each value of x, is is given by the linear
regression: y  β1  β 2 x  e

SR2: The expected value of the random error e is: E (ei )  0

SR3: The variance of the random error e is: var(ei )   2  var( yi )


SR4: The covariance between any pair of random errors, ei
and ej is: cov( ei , e j )  cov( yi , y j )  0

SR5: The variable x is not random, and must take at least two
different values

SR6: Optional e ~ N (0,σ 2


)
N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 27
Summary
After this lecture, you should be able to:
• differentiate between an economic model and an
econometric model
• explain the meaning of random error term

• Identify and explain the keys assumption of simple linear
regression
• understand the underlying concept of the least square
method in regression analysis
• interpret the estimated regression coefficients

N12205 (BUSI2053) Introductory Econometrics Lecture 4: The Simple Linear Regression I Page 28

Potrebbero piacerti anche