Lesson 1
Lesson 1
AAE 316
WISDOM MGOMEZULU
Email: [email protected]
MEANING OF
ECONOMETRICS
• define econometrics
• state the importance of econometrics
• list types of econometrics
• give examples of applications and use of
econometrics in real world
DEFINITION
• There are several aspects of the quantitative approach to
economics, and no single one of these aspects taken by
itself, should be confused with econometrics.
• Thus, econometrics is by no means the same as economic
statistics. Nor is it identical with what we call general
economic theory, although a considerable portion of this
theory has a definitely quantitative character.
• Nor should econometrics be taken as synonymous with the
application of mathematics to economics.
• Experience has shown that each of these three viewpoints,
that of statistics, economic theory, and mathematics, is a
necessary, but not by itself a sufficient, condition for a real
understanding of the quantitative relations in modern
economic life.
• It is however the unification of all three that is powerful.
And it is this unification that constitutes econometrics.
• Econometrics may be defined as the social science in
which the tools of economic theory, mathematics, and
statistical inference are applied to the analysis of economic
phenomena.
• A social science is, in its broadest sense, the study of
society and the manner in which people behave and
influence the world around us
• Economic phenomenon refers to observed situations or
problems that economists deal with. For example,
explaining changes in commodity prices. Econometrics is
concerned with the empirical determination of economic
laws.
• Econometrics can also be defined as a statistical and
mathematical methods to the analysis of economic data,
with a purpose of giving empirical content to economic
theories and verifying them or refuting them.
Random variable:
A variable whose value is unknown until it is observed.
The value of a random variable results from an experiment.
T T 0
T H 1
T H 1
H T 1
H H 2
1.1. Discrete Random Variable
Examples:
Gross national product (GNP)
money supply
interest rates
price of eggs
household income
expenditure on clothing
Dummy Variable
die x f(x)
one dot 1 1/6
two dots 2 1/6
three dots 3 1/6
four dots 4 1/6
five dots 5 1/6
six dots 6 1/6
A discrete random variable X has pdf, f(x), which is the
probability that X takes on the value x.
f(x) = P(X=x)
0.4
f(x) 0.3
0.2
0.1
0 1 2 3 X
number, X, on Dean’s List of three roommates
1.4 Probability Distribution of Continuous Random Variables
. .
$34,000 $55,000 X
P[X=a] = P[a<X<a]=0
b
P[a<X<b]=
a
f(x) dx
1. Empirically:
The expected value of a random variable,
X, is the average value of the random variable
in an infinite number of repetitions of the
experiment.
In other words, draw an infinite number of samples,
and average the values of X that you get.
2. Analytically:
The expected value of a discrete random
variable, X, is determined by weighting all
the possible values of X by the corresponding
probability density function values, f(x), and
summing them up.
In other words:
Analytical mean:
n
i =x
E[X] = 1 if(xi)
where n is the number of possible values of xi
(# of possible outcomes).
The expected value of X:
n
If c is constant, E[c] = c
n
var ( X) = [x
i=1
i - E(X)] f(xi ) 2
Random variable, Z = a + cX
var(Z) = var(a + cX)
= E [(a+cX) - E(a+cX)]2
= c2 var(X)
Y
Male (y=0) Female (y=1) Party Totals f(x)
Democrat (x=0) 200 (.20) 270 (.27) 470 (.47)
X Republican(x=1) 300 (.30) 100 (.10) 400 (.40)
Other (x=2) 60 (.06) 70 (.07) 130 (.13)
Gender Totals 560 (.56) 440 (.44) 1000
f(y)
Marginal pdf
marginal
pdf for Y: .56 f(Y=0) .44 f(Y=1)
Conditional pdf
f(x,y)
f(x|y) =
f(y)
f(x,y)
f(y|x) =
f(x)
Conditional
marginal
Y=0 Y=1 pdf for X:
X=0 .20 .27
f(Y=0|X=0)=.43 f(Y=1|X=0)=.57
.47 f(X=0)
f(X=0|Y=0)=.36 f(X=0|Y=1)=.61
X=1 .30 .10 .40 f(X=1)
f(Y=0|X=1)=.75 f(Y=1|X=1)=.25
f(X=1|Y=0)=.54 f(X=1|Y=1)=.23
X=2 .06 .07
f(Y=0|X=2)=.46 f(Y=1|X=2)=.54 .13 f(X=2)
f(X=2|Y=0)=.11 f(X=2|Y=1)=.16
marginal
pdf for Y: .56 f(Y=0) .44 f(Y=1)
Independence
marginal
pdf for Y: .56 f(Y=0) .44 f(Y=1)
1.8 Covariance and Correlation
E[X] = xif(xi)
For i=1,2, 3 and j=1 and 2
3 2
E ( XY ) xi y j f ( xi y j )
i 1 j 1
x1 y1 f ( x1 y1 ) x2 y1 f ( x2 y1 ) x3 y1 f ( x3 y1 )
x1 y2 f ( x1 y2 ) x2 y2 f ( x2 y2 ) x3 y2 f ( x3 y2 )
E(XY) = xi yj f(xi,yj)
Marginal
marginal
Y=0 Y=1 pdf for X:
marginal
pdf for Y: .56 f(Y=0) .44 f(Y=1)
E(XY) = (0)(0)(.2)+(0)(1)(.27)+(1)(0)(.3)+(1)(1)(.1)
+(2)(0)(.06)+(2)(1)(.07)=.24
E(X) = (0)(.47)+(1)(.40)+(2)(.13)=.66
E(Y)=(0)(.56)+(1)(.44)=.44
Cov(X,Y) = .24 - .29 = -.05
The magnitude of covariance is difficult to interpret
because it depends on the units of variables
marginal
pdf for Y: .56 f(Y=0) .44 f(Y=1)
Bias E ( X ) or E ( ˆ )
ˆ | ) 1
lim Prob
N
(|