280 The Basics of financial economeTrics
principle is applied to determine the parameters of a distribution. We will
again use our sample in Table 13.1 and assume that sample data y are random
draws from a normal distribution with mean μ and variance σ^2. Therefore,
the normal distribution computed on the sample data will have the form:
Py
y
()i =−i i ()−
=
1
2 2
110
2
2
σπμ
σexp,..., (13.12)As the data are assumed to be independent random draws, their likeli-
hood is the product
LPy
y
i
ii
i= ()=−
()−
==∏
110 2
2
1(^101)
σπ 2 2
μ
σ
∏∏ exp^ (13.13)
We can simplify the expression for the likelihood by taking its loga-
rithm. Because the logarithm is a monotonically growing function, those
parameters that maximize the likelihood also maximize the logarithm of
the likelihood and vice versa. The logarithm of the likelihood is called the
log-likelihood. Given that the logarithm of a product is the sum of the loga-
rithms, we can write
∏∑
∑
∑∑
∑
()()
()
()
()
==
=
σπ−
−μ
σ
=
σπ
−
−μ
σ=− π− σ−
σ−μ======LPyPyyyyloglog loglog1
2
exp
2log1
2 2
10log2 10log1
2
i
ii
ii
iii
ii
i1101102
2
110110 2
2
11022
110(13.14)
We can explicitly compute the log-likelihood of the sample data:loglL og log
..=− −
−
()− +−()+
10 210
1
2
07 13
222πσσμμ 111 17 1614 16222
2...
..
()− +−()+−()
+−()+−(
μμμμμ)) +−()+−()+−()
(^2217) ..μμ 21 2224. μ
This is the expression that needs to be maximized in order to determine the
parameters of the normal distribution that fit our sample data y. Maximiza-
tion can be achieved either analytically by equating to zero the derivatives