EconometricsLectureNotes PDF
EconometricsLectureNotes PDF
net/publication/319629465
CITATIONS READS
0 10,134
1 author:
Vijayamohanan Pillai N
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Vijayamohanan Pillai N on 11 September 2017.
Continuous :
f ( x, y) ≥ 0
∞ ∞
∫∫
−∞−∞
f ( x , y ) dydx = 1
Monday, March 03, CDS MPhil Econometrics 1 Monday, March 03, CDS MPhil Econometrics 2
2014 Vijayamohan 2014 Vijayamohan
Continuous
fY ( y ) = ∑ f ( x , y )
x y
F ( x, y) = ∫∫
− ∞− ∞
f ( s , t )dtds x
2
d
[ F ( x , y )] = f ( x , y ) ∞
dxdy f X ( x) = ∫ f ( x, y )dy
−∞
Discrete ∞
x y f y ( y) = ∫ f ( x , y )dx
F ( x, y) = ∑∑
−∞ −∞
f ( s, t ) −∞
Monday, March 03, CDS MPhil Econometrics 3 Monday, March 03, CDS MPhil Econometrics 4
2014 Vijayamohan 2014 Vijayamohan
0 ≤ f ( x, y) ≤ 1 F ( x , y ) = P [( X ≤ x ) ∩ (Y ≤ y )]
X f(y)
Y X
1 2 3 4 f(y)
∑∑
x y
f ( x, y) = 1 Y
1 2 3 4
F ( x, y)
1 0.12 0.08 0.07 0.05 0.32 x y
1
Monday, March 03, 2014
f ( x, y) X f(y)
Continuous f X |Y ( x | Y = y ) = Y
Continuous fY ( y ) 1 2 3 4
E [ h ( x )] = ∫ h( x ) f ( x )dx E [ h ( x , y )] =
∞ ∞
∫ ∫ h( x , y ) f ( x , y )dxdy
1 0.12
2 0.08
0.08
0.15
0.07
0.21
0.05 0.32
0.13 0.57
−∞−∞ f X |Y ( x | Y = y ) f Y ( y ) = f ( x , y )
3 0.01 0.01 0.02 0.07 0.11
f(x) 0.21 0.24 0.3 0.25 1
Monday, March 03, CDS MPhil Econometrics 7 Monday, March 03, CDS MPhil Econometrics 8
2014 Vijayamohan 2014 Vijayamohan
Var( X ) = E[ X 2 ] − ( E[ X ])2
E(XY) = E(X)E(Y), X, Y independent RVs
Var( X | Y = y ) = E[ X 2 | Y = y] − ( E[ X | Y = y])2
E[ X 2 |Y = y] = ∫X f X |Y ( x | Y = y ) dx
2
E[ X | Y = y] = ∫ X . f X |Y ( x | Y = y ) dx
Monday, March 03, CDS MPhil Econometrics 11 Monday, March 03, CDS MPhil Econometrics 12
2014 Vijayamohan 2014 Vijayamohan
2
Monday, March 03, 2014
Monday, March 03, CDS MPhil Econometrics 13 Monday, March 03, CDS MPhil Econometrics 14
2014 Vijayamohan 2014 Vijayamohan
1. Cov(X,Y) = E(XY) – E(X)E(Y) = 0 the four values {(– 1, 0); (0, – 1); (1, 0); (0, 1)}.
{(– )}.
3
Monday, March 03, 2014
Cov ( X , Y )
ρ ( X , Y ) = ρ XY = Cov( X , Y ) aVar ( X )
σ XσY Corr ( X , Y ) = =
Var ( X )Var (Y ) Var ( X ) a 2Var ( X )
Cov ( X , Y ) = ρ XY σ X σ Y
4
3/3/2014
Vijayamohanan Pillai N
3 March 2014 Vijayamohan: CDS MPhil: 1 3 March 2014 Vijayamohan: CDS MPhil: 2
CDS M Phil Econometrics Vijayamohan
Econometrics Econometrics
CDS M Phil Econometrics Vijayamohan
X X
3 March 2014 Vijayamohan: CDS MPhil: 3 3 March 2014 Vijayamohan: CDS MPhil: 4
Econometrics Econometrics
X
X X
Y
Y Y
X
X X
3 March 2014 Vijayamohan: CDS MPhil: 5 3 March 2014 Vijayamohan: CDS MPhil: 6
Econometrics Econometrics
1
3/3/2014
3 March 2014 Vijayamohan: CDS MPhil: 7 3 March 2014 Vijayamohan: CDS MPhil: 8
Econometrics Econometrics
x1 x2 x3 x4
3 March 2014 Vijayamohan: CDS MPhil: 9 3 March 2014 Vijayamohan: CDS MPhil: 10
Econometrics Econometrics
Estimates of parameters :
computable functions of data and are
therefore statistics
statistics..
3 March 2014
3 March 2014 Vijayamohan: CDS MPhil:
Vijayamohan: CDS MPhil: 11 11 3 March 2014 Vijayamohan: CDS MPhil: 12
Econometrics
Econometrics Econometrics
2
3/3/2014
Parameter estimates are chosen to minimize The residual, û , is an estimate of the error
term, u
the residual sum of squares.
and is the difference between the fitted line
(sample regression function) and the sample
point
3 March 2014
3 March 2014 Vijayamohan: CDS MPhil:
Vijayamohan: CDS MPhil: 13 13 3 March 2014 Vijayamohan: CDS MPhil: 14
Econometrics
Econometrics Econometrics
• The sum of the OLS residuals is zero • Of the class of linear unbiased estimators,
the OLS estimators have the smallest
variance
• Thus, the sample average of the OLS
residuals is zero as well • Least squares estimators are BLUE
• The sample covariance between the • Best
regressors and the OLS residuals is zero • Linear
• Unbiased
• Estimators
• The OLS regression line always goes
s. t. certain assumptions
through the mean of the sample
3 March 2014 Vijayamohan: CDS MPhil: 15 3 March 2014 Vijayamohan: CDS MPhil: 16
Econometrics Econometrics
y4 .
{
y3 .}
y2 {
.
y1 .}
x1 x2 x3 x4
3 March 2014 Vijayamohan: CDS MPhil: 17 3 March 2014 Vijayamohan: CDS MPhil: 18
Econometrics Econometrics
3
3/3/2014
∑ (x i − x )(yi − y ) n
∑ (x − x) > 0
2
ˆ
β= i=1
; i
n
∑ (xi − x )
2 i=1
i=1
3 March 2014 Vijayamohan: CDS MPhil: 19 3 March 2014 Vijayamohan: CDS MPhil: 20
Econometrics Econometrics
yi = xi + ui
∴
E(ui) = 0, ∀i
3 March 2014 Vijayamohan: CDS MPhil: 21 3 March 2014 Vijayamohan: CDS MPhil: 22
Econometrics Econometrics
Simple Linear Regression Example Sample Data for House Price Model
House Price in Square Feet
• A real estate agent wishes to examine the Rs1000s (Y) (X)
relationship between the selling price of a 245 1400
312 1600
home and its size (measured in square feet)
279 1700
308 1875
• A random sample of 10 houses is selected 199 1100
– Dependent variable (Y) = house price in 219 1550
405 2350
Rs1000s
324 2450
– Independent variable (X) = square feet 319 1425
255 1700
3 March 2014 Vijayamohan: CDS MPhil: 23 3 March 2014 Vijayamohan: CDS MPhil: 24
Econometrics Econometrics
4
3/3/2014
400
Graphical Presentation Summary Statistics
House Price in Rs 1000s
350
300
250
200
(square feet)
2000 square feet is 317.85(Rs1,000s)
= Rs317,850
3 March 2014 Vijayamohan: CDS MPhil: 27 3 March 2014 Vijayamohan: CDS MPhil: 28
Econometrics Econometrics
350
300
250
200
150 Do not try to
TSS = ∑ (Yi − Y )2 RSS = ∑ (Yˆi − Y )2 ESS = ∑ (Yi ˆi )2
−Y
100
50 extrapolate
0
0 1000 2000 3000
beyond the range
of observed X’s
= +
Square Feet
3 March 2014 Vijayamohan: CDS MPhil: 29 3 March 2014 Vijayamohan: CDS MPhil: 30
Econometrics Econometrics
5
3/3/2014
R2 = 1 Y
Y
0 < R2 < 1
Perfect linear relationship
Weaker linear
between X and Y:
relationships between
X X and Y:
X
100% of the variation in Y Y
Y Some but not all of the
is explained by variation in Y is
explained by
variation in X
variation in X
X
X
3 March 2014 Vijayamohan: CDS MPhil: 35 3 March 2014 Vijayamohan: CDS MPhil: 36
Econometrics Econometrics
6
3/3/2014
3 March 2014 Vijayamohan: CDS MPhil: 37 3 March 2014 Vijayamohan: CDS MPhil: 38
Econometrics Econometrics
Y Y
X X
13665 .5652
= 1708 .19565 = σu = 41.33032
ˆ
8
3 March 2014 Vijayamohan: CDS MPhil: 39 3 March 2014 Vijayamohan: CDS MPhil: 40
Econometrics Econometrics
Test statistic t=
still appears, y ou may hav e to delete the image and
then insert it again.
SE( βˆ ) d.f. = n − 2
3 March 2014 Vijayamohan: CDS MPhil: 41 3 March 2014 Vijayamohan: CDS MPhil: 42
Econometrics Econometrics
7
3/3/2014
d.f. = 10-2 = 8
Decision: ? Reject H0
/2=.025 /2=.025
Do not reject H0
Conclusion: ?
There is sufficient
Reject H0 -tα/2 0 tα/2 Reject H0 evidence that square
-2.3060 2.3060 3.329 footage affects house
price
3 March 2014 Vijayamohan: CDS MPhil: 43 3 March 2014 Vijayamohan: CDS MPhil: 44
Econometrics Econometrics
RMS
hav e enough memory to open the image, or the image
F-test statistic:
may hav e been corrupted. Restart y our computer, and
F=
then open the file again. If the red x still appears, y ou
may hav e to delete the image and then insert it again.
EMS The image cannot be display ed. Your computer may not hav e enough memory to open the
3 March 2014 Vijayamohan: CDS MPhil: 45 3 March 2014 Vijayamohan: CDS MPhil: 46
Econometrics Econometrics
8
3/3/2014
Multiple Regression
Analysis
9
3/3/2014
Vijayamohanan Pillai N
3 March 2014 Vijayamohan: CDS MPhil: 1 3 March 2014 Vijayamohan: CDS MPhil: 2
CDS M Phil Econometrics Vijayamohan
Econometrics Econometrics
CDS M Phil Econometrics Vijayamohan
y i = β1 + β 2 x i 2 + β 3 x i 3 + ... + β k x ik + ui
3 March 2014 Vijayamohan: CDS MPhil: Econometrics 3 3 March 2014 Vijayamohan: CDS MPhil: 4
Econometrics
yi = β1 + β2 xi2 + β3xi3 + ... + βk xik + ui y1 x11 x12 ... x1k β1 u1
y x x22 ... x2k β2 u2
i = 1, …, n y = 2 = 21 +
... ... ... ... ... ... ...
y1 = β1x11 + β2 x12 + β3 x13 + ... + βk x1k + u1
yn xn1 xn2 ... xnk βk un
3 March 2014 Vijayamohan: CDS MPhil: 5 3 March 2014 Vijayamohan: CDS MPhil: 6
Econometrics Econometrics
1
3/3/2014
3 March 2014 Vijayamohan: CDS MPhil: 11 3 March 2014 Vijayamohan: CDS MPhil: 12
Econometrics Econometrics
2
3/3/2014
3 March 2014 Vijayamohan: CDS MPhil: 13 3 March 2014 Vijayamohan: CDS MPhil: 14
Econometrics Econometrics
y
f(y|x) f(y|x)
. .
Homoscedasticity
.
Heteroscedasticity
x1 x2 x x1 x2 x3 x
3 March 2014 Vijayamohan: CDS MPhil: 15 3 March 2014 Vijayamohan: CDS MPhil: 16
Econometrics Econometrics
No exact linear relationships among the variables No exact linear relationships among the variables
(no perfect multicollinearity). (no perfect multicollinearity).
Non--singular X
Non
3 March 2014 Vijayamohan: CDS MPhil: 17 3 March 2014 Vijayamohan: CDS MPhil: 18
Econometrics Econometrics
3
3/3/2014
u ~ N (0, σ 2 I n )
OLS aims to minimise the difference between
useful for the purposes of statistical inference an observed value of yi and its predicted value.
but not necessary for analysing the properties of ⇒ the error û = y − ŷ be the least.
the estimators. ŷ = Xˆ
β
3 March 2014 Vijayamohan: CDS MPhil: 19 3 March 2014 Vijayamohan: CDS MPhil: 20
Econometrics Econometrics
Specifically, the problem is to find an A necessary condition for a minimum is that the first-
estimator that minimises the error sum of order conditions equal zero.
squares:
∂û′ û
= 2X′Xˆ
β − 2X′y = 0
û′ û = (y − ŷ)′ (y − ŷ) ∂ˆβ
= y ′y + ˆ
β′X ′Xˆ β′X ′y
β − 2ˆ Therefore, rearrange to give the normal equation
(X′X)ˆ
β = X′y
β = (X ′X)−1 X ′y
ˆ
3 March 2014 Vijayamohan: CDS MPhil: 21 3 March 2014 Vijayamohan: CDS MPhil: 22
Econometrics Econometrics
3 March 2014 Vijayamohan: CDS MPhil: 23 3 March 2014 Vijayamohan: CDS MPhil: 24
Econometrics Econometrics
4
3/3/2014
Statistical Properties of Least Squares Estimator Statistical Properties of Least Squares Estimator
= β + (X ′X)−1 X ′u
then
β) = E[(X ′X) −1 X ′uu′X(X ′X) −1 ]
Var(ˆ
E(ˆ
β) = β Property of unbiasedness β) = σ2 (X ′X)−1
Var(ˆ
Statistical Properties of Least Squares Estimator Statistical Properties of Least Squares Estimator
Unbiased Estimator of σ2
Variance of β̂
β) = σ2 (X ′X)−1
Var(ˆ
β) = σ2 (X ′X)−1
Var(ˆ
For statistical inference we require an estimate of
3 March 2014 Vijayamohan: CDS MPhil: 27 3 March 2014 Vijayamohan: CDS MPhil: 28
Econometrics Econometrics
5
3/3/2014
3 March 2014 Vijayamohan: CDS MPhil: 31 3 March 2014 Vijayamohan: CDS MPhil: 32
Econometrics Econometrics
we know that the expected value is In order to make meaningful inference the
variable must be normally distributed.
E(ˆ
β) = β
One of the assumptions introduced above was:
u ~ N(0, σ2In )
And we know that a suitable β) = σ2(X′X)−1
Var(ˆ
estimate of the variance of This means that u has a multivariate normal
the slope parameter is β) = s2(X′X)−1
Var(ˆ distribution.
n
(If it is not, then n must be large – i.e. becomes
∑ û2i normally distributed by virtue of the central limit
2 2 i =1
σ =s =
ˆ theorem.
n−k
3 March 2014 Vijayamohan: CDS MPhil: Econometrics 35 3 March 2014 Vijayamohan: CDS MPhil: 36
Econometrics
6
3/3/2014
3 March 2014 Vijayamohan: CDS MPhil: 37 3 March 2014 Vijayamohan: CDS MPhil: 38
Econometrics Econometrics
where ((X ′X)−1 )kk is the (k,k) element of (XTX)-1 This generates the t-ratio
3 March 2014 Vijayamohan: CDS MPhil: 39 3 March 2014 Vijayamohan: CDS MPhil: 40
Econometrics Econometrics
3 March 2014 Vijayamohan: CDS MPhil: 41 3 March 2014 Vijayamohan: CDS MPhil: 42
Econometrics Econometrics
7
3/3/2014
(a) H0 : β2 + β3 = 1
(b) H0 : β3 = β 4
SE(.) = [0.003192 + 0.002342 +2(–3.718 x 10–6 )]1/2
= 0.002866 (c) H0 : β2 = β3 = β4 = ... = βk = 0
95% critical value:
− 0.0086 + 0.00331 t(203 – 5) = 1.96
t= = −1.845
0.002866
3 March 2014 Vijayamohan: CDS MPhil: 43 3 March 2014 Vijayamohan: CDS MPhil: 44
Econometrics Econometrics
Testing Linear Restrictions: The F Test Testing Linear Restrictions: The F Test
The t-distribution can be used to test a single null F-Test of Entire Equation (“Testing the Joint
hypothesis Significance of the Explanatory Variables”)
If we want to conduct a “joint” test then we can no H0: β2 = β3=…= βk= 0 Equivalently: H0: R2 = 0
longer use the t distribution
H1: H0 not true (at least one of the β is nonzero)
For example, suppose we want to test whether all the
explanatory variables in the model are significantly
Cannot say: “if the coefficients are individually
different from zero
insignificant this means they must be jointly
insignificant”
3 March 2014 Vijayamohan: CDS MPhil: 45 3 March 2014 Vijayamohan: CDS MPhil: 46
Econometrics Econometrics
8
3/3/2014
y = [X 2
ˆβ
X 3 ] 2 + û
Thus the unrestricted H0: β3= 0
H0: β3= 0
ˆ
β 3 regression is: H1: H0 not true
⇒ X 2ˆ
β 2 + X 3ˆ
β 3 + û H1: H0 not true ˆβ
y = [X 2 X 3 ] 2 + û
ˆ
β 3
To find the change in the fit of a multiple regression y = X 2ˆ
β 2 + X 3ˆ
β 3 + û
when an additional variable x3 is added to a model
that already contains K – 1 variables: And the restricted y = [X ˆ
β
2 X 3 ] 2 + û *
regression: 0
J = 1 linear restriction
y = X 2ˆ
β 2 + û *
3 March 2014 Vijayamohan: CDS MPhil: 49 3 March 2014 Vijayamohan: CDS MPhil: 50
Econometrics Econometrics
1 1
ln y = α + β1 ln L + β2 ln K + β3 (ln L)2 + β4 (ln K)2 + β5 ln L ln K + u
An Example: Production Function 2 2
3 March 2014 Vijayamohan: CDS MPhil: 53 3 March 2014 Vijayamohan: CDS MPhil: 54
Econometrics Econometrics
9
3/3/2014
(û*Tû* − ûTû) / J
F=
ûTû /(n − k)
(0.85163 − 0.67993) / 3
F= = 1.768
0.67993 /21
(0.603 + 0.3757 − 1)
•F-test with J = 1 and K = 3 t= = −0.3402
[0.01586 + 0.00728 − 2(0.00961)]1 / 2
(0.603 + 0.3757 − 1)2 = – (F1/2)
F= = 0.1157 = t2
0.01586 + 0.00728 − 2(0.00961)
• Critical value: ‘rule of thumb’
• Critical value: F(1,24) = 4.26 Conclusion? Conclusion?
3 March 2014 Vijayamohan: CDS MPhil: 58
57 Econometrics
3 March 2014 Vijayamohan: CDS MPhil: Econometrics
Test of Structural Break: The Chow test Test of Structural Break: The Chow test
300
250
10
3/3/2014
Test of Structural Break: The Chow test Test of Structural Break: The Chow test
200
300
Steps
1. Run the two sub-period regressions and the full-
150
250
period regression
Savings
Savings
Full-period: St = a0 + b0Yt n = 26 (n1 + n2)
100
200
Sub-period 1: St = a1 + b1Yt n1 = 12
Sub-period 2: St = a2 + b2Yt n2 = 14
150
50
500 1000 1500 2000 2500 2000 3000 4000 5000 6000
Income Income
2. The pooled regression = restricted regression,
1982 – 1995 obtained under the restrictions that a1 = a2 (= a0)
1970 – 1981
and b1 = b2 (= b0).
300
250
(assumed)
150 100
3 March 2014 Vijayamohan: CDS MPhil: 61 3 March 2014 Vijayamohan: CDS MPhil: 62
50
Test of Structural Break: The Chow test Test of Structural Break: The Chow test
Steps Steps
1. Run the two sub-period regressions and the full- Sub-period 1: St = a1 + b1Yt n1 = 12
period regression Sub-period 2: St = a2 + b2Yt n2 = 14
Full-period: St = a0 + b0Yt n = 26 (n1 + n2)
Sub-period 1: St = a1 + b1Yt n1 = 12 4. The sub-period regressions = unrestricted
Sub-period 2: St = a2 + b2Yt n2 = 14 regressions.
4. The sub-period regressions = unrestricted 5. Get the unrestricted ESS from them: (û′û)
regressions. : ESSUR = ESS1 + ESS2.
3 March 2014 Vijayamohan: CDS MPhil: 63 3 March 2014 Vijayamohan: CDS MPhil: 64
Econometrics Econometrics
Test of Structural Break: The Chow test Test of Structural Break: The Chow test
Pooled Regression Result: 1970 – 1995 Sub-period 1: 1970 – 1981
3 March 2014 Vijayamohan: CDS MPhil: Econometrics 65 3 March 2014 Vijayamohan: CDS MPhil: Econometrics 66
11
3/3/2014
Test of Structural Break: The Chow test Test of Structural Break: The Chow test
Sub-period 2: 1982 – 1995
(û*Tû* − ûTû) / k k = j; n – 2k = (n1 – k) + (n2 – k)
F=
ûTû /(n − 2k)
(23248.3 − 11790.254) /2
F= = 10.69
11790.254 /22
12
Monday, March 03, 2014
Vijayamohanan Pillai N
Monday, March 03, 2014 CDS MPhil Econometrics 1 Monday, March 03, CDS MPhil Econometrics 2
Vijayamohan 2014 Vijayamohan
Monday, March 03, CDS MPhil Econometrics 5 Monday, March 03, CDS MPhil Econometrics 6
2014 Vijayamohan 2014 Vijayamohan
1
Monday, March 03, 2014
Monday, March 03, CDS MPhil Econometrics 7 Monday, March 03, CDS MPhil Econometrics 8
2014 Vijayamohan 2014 Vijayamohan
dy yβ
=
dx x2
AW Phillips (1958) Economica Vol 15: 283-299
• Slope is positive for positive x
of money wages
Rate of change
d2 y β2 2 β
The natural rate of = y 4 − 3 eα
dx2 x x
%
unemployment
0
Unemployment rate % Point of inflexion at x = β/2.
-α
β/2
Monday, March 03, CDS MPhil Econometrics 11 Monday, March 03, CDS MPhil Econometrics 12
2014 Vijayamohan 2014 Vijayamohan
2
Monday, March 03, 2014
Monday, March 03, CDS MPhil Econometrics 15 Monday, March 03, CDS MPhil Econometrics 16
2014 Vijayamohan 2014 Vijayamohan
Monday, March 03, CDS MPhil Econometrics 17 Monday, March 03, CDS MPhil Econometrics 18
2014 Vijayamohan 2014 Vijayamohan
3
Monday, March 03, 2014
(1+r)t
At = A0(1+r
Annual rate of change:
given two consecutive years, t = 1 and 0:
Given At, A0 and t,
Change: ∆A = A1 – A0
How to obtain r, Rate of change: ∆A/A0 = (A1 – A0)/A0
average annual compound growth rate?
A1
= −1
A0
r = (At/A0)(1/t) – 1; or Given t years, average annual growth rate
At
ln( At / A0 ) −1
r = exp ( At − A0 ) / A0 A0
−1 ==
t t t
Monday, March 03, CDS MPhil Econometrics 21 Monday, March 03, CDS MPhil Econometrics 22
2014 Vijayamohan 2014 Vijayamohan
Example Example
Year Index Annual Year Index Annual
Average annual growth rates –
For 2001:
growth growth Simple and Compound:
rate r = (110 – 100)/100 = 0.1 or 10%; rate
2000 100 2000 100
No. of years, t = 2004 – 2000 = 4.
For 2002:
(180 − 100 ) / 100 0.8
2001 110 0.1 r = (125 – 110)/110 = 0.136 or 2001 110 0.1
Simple r = = = 0 .2
4 4
13.6%; or 20%
2002 125 0.136 2002 125 0.136
For 2003:
1
r = (150 – 125)/125 = 0.2 or 20%; 180 4
2003 150 0.2 2003 150 0.2 Compound r = −1
For 2004:
100
2004 180 0.2 r = (180 – 150)/150 = 0.2 or 20% 2004 180 0.2 = 1.158 – 1 = 0.158 or 15.8%
Monday, March 03, CDS MPhil Econometrics 23 Monday, March 03, CDS MPhil Econometrics 24
2014 Vijayamohan 2014 Vijayamohan
4
Monday, March 03, 2014
The compound and average annual growth rate The compound and average annual growth rate
time..
time
Economic variables in their growth almost
invariably obey the law of
180
Say, inflation is 10% a year.
So far time taken as discrete:
discrete
160
140
100
growth: At = A0(1+r)t
Compound growth
In d e x
60
40
…………….
0
0 1 2 3 4 5 With continuous time:
time
Index 100 110 121 133.1 146.41 161.051
Year
Monday, March 03, CDS MPhil Econometrics 27 Monday, March 03, CDS MPhil Econometrics 28
2014 Vijayamohan 2014 Vijayamohan
5
Monday, March 03, 2014
Monday, March 03, CDS MPhil Econometrics 31 Monday, March 03, CDS MPhil Econometrics 32
2014 Vijayamohan 2014 Vijayamohan
Monday, March 03, CDS MPhil Econometrics 35 Monday, March 03, CDS MPhil Econometrics 36
2014 Vijayamohan 2014 Vijayamohan
6
Monday, March 03, 2014
An Exponential story:
story: Rice on a Chessboard An Exponential story:
story: Rice on a Chessboard
Monday, March 03, CDS MPhil Econometrics 41 Monday, March 03, CDS MPhil Econometrics 42
2014 Vijayamohan 2014 Vijayamohan
7
Monday, March 03, 2014
Limitations Limitations
For instance, a population growth
Even when exponential growth
rate of 2% per year may seem small,
seems slow in the short run,
Monday, March 03, CDS MPhil Econometrics 45 Monday, March 03, CDS MPhil Econometrics 46
2014 Vijayamohan 2014 Vijayamohan
Monday, March 03, CDS MPhil Econometrics 47 Monday, March 03, CDS MPhil Econometrics 48
2014 Vijayamohan 2014 Vijayamohan
8
Monday, March 03, 2014
2 = ert; = 0.693147/ln(1.0171)
= 0.693147/0.016955 = 40.88 years.
Taking natural log and rewriting,
Doubling time for female population:
t = ln(2)/r = 0.693147/r. = 0.693147/ln(1.0192) = 36.45 years.
Monday, March 03, CDS MPhil Econometrics 51 Monday, March 03, CDS MPhil Econometrics 52
2014 Vijayamohan 2014 Vijayamohan
Monday, March 03, CDS MPhil Econometrics 53 Monday, March 03, CDS MPhil Econometrics 54
2014 Vijayamohan 2014 Vijayamohan
9
Monday, March 03, 2014
Monday, March 03, CDS MPhil Econometrics 55 Monday, March 03, CDS MPhil Econometrics 56
2014 Vijayamohan 2014 Vijayamohan
(i) the logarithmic transformation of the (ii) the logarithmic transformation of the
equation y(t) = y(0)ert ,
exponential growth equation, equation yt = yo (1 + r)t ,
compound growth equation,
with a = ln yo and b = ln(1 + r).
with a = ln y(0) and b = r, the parameters to be
estimated.
If b* is the least-squares estimate of b, the
If b* is the least-squares estimate of b, the same average annual growth rate, r, is obtained as
gives the average annual exponential growth [exp(b*) – 1].
rate, r,
Remember Compound growth rate =
and is multiplied by 100 for expression as a
percentage. Exp(exponential
Exp(exponential growth rate) – 1.
Monday, March 03, CDS MPhil Econometrics 57 Monday, March 03, CDS MPhil Econometrics 58
2014 Vijayamohan 2014 Vijayamohan
Estimating
Growth rate of
real state domestic product (SDP) of
Kerala
for 1960-
1960-61 – 1999-
1999-2000:
Monday, March 03, CDS MPhil Econometrics 59 Monday, March 03, CDS MPhil Econometrics 60
2014 Vijayamohan 2014 Vijayamohan
10
Monday, March 03, 2014
Growth rate of real state domestic product (SDP) of Growth rate of real state domestic product (SDP) of
Kerala for 1960-
1960-61 – 1999-
1999-2000 Kerala for 1960-
1960-61 – 1999-
1999-2000
NSDP Kerala
NSDP Kerala
3e6
3e6
ln SDP = 13.432 + 0.0352155 time 2.5e6
Note the graph: 2.5e6
2e6
(476) (29.4) 2e6
A break, kink, around 1987-88.
1.5e6
R2 = 0.9578 F(1, 38) = 862.4; n = 40.1.5e6 1e6
1e6
1960 1965 1970 1975 1980 1985 1990 1995 2000
1960 1965 1970 1975 1980 1985 1990 1995 2000
Post-1987-88: higher growth rate.
15.00 LNSDP Kerala
14.75 Exponential growth rate: 0.0352 Two sub-period growth rates possible
14.50
or 3.52% per year.
year.
14.25 by estimating them separately,
14.00
Compound growth rate:
13.75
exp
exp(0.0352
(0.0352)) – 1 = 1.03584 – 1 = ln Yt = a1 + b1t + u1t;
13.50
1960 1965 1970 1975 1980 1985 1990 1995 2000
0.03584 or 3.58% per year.
year.
ln Yt = a2 + b2t + u2t; or,
t=k
Monday, March 03, CDS MPhil Econometrics 61 Monday, March 03, CDS MPhil Econometrics 62
2014 Vijayamohan 2014 Vijayamohan
3e6
2e6
1e6
t=k
Monday, March 03, CDS MPhil Econometrics 63 Monday, March 03, CDS MPhil Econometrics 64
2014 Vijayamohan 2014 Vijayamohan
Discontinuous sub-
sub-period growth rates for Kerala: Discontinuous sub-
sub-period growth rates for Kerala:
1960--61 – 1999-
1960 1999-2000 with kink in 1987-
1987-88 1960--61 – 1999-
1960 1999-2000 with kink in 1987-
1987-88
NSDP Kerala
3e6
2.5e6
2e6
1.5e6
1e6
ln SDPt = 13.505D
13.505D1 + 12.54D
12.54D2 + 0.02939D
0.02939D1t
+ 0.061995D
0.061995D2t
(16)
R2 = 0.9857; F(3,36) = 825.4;
825.4; n = 40.
Monday, March 03, CDS MPhil Econometrics 65 Monday, March 03, CDS MPhil Econometrics 66
2014 Vijayamohan 2014 Vijayamohan
11
Monday, March 03, 2014
a1+b1k = a2 + b2k
ln Yt = a1 + b1 (D1t + D2k) + b2 (D2t – D2k) + ut;
Ref:
The OLS estimates of b1 and b2 give the
James K Boyce t=k
exponential growth rates for the two sub-
Kinked Exponential Models for Growth Rate
periods.
Estimation
There is a kink between the two trend lines, Oxford Bulletin of Economics and Statistics, 1986,
whenever b1 estimate ≠ b2 estimate. vol. 48, issue 4, pages 385-91
Monday, March 03, CDS MPhil Econometrics 69 Monday, March 03, CDS MPhil Econometrics 70
2014 Vijayamohan 2014 Vijayamohan
Estimating
Kinked Exponential
Growth rates of
real state domestic product (SDP) of
Kerala
for 1960-
1960-61 – 1999-
1999-2000:
12
Monday, March 03, 2014
3e6
2.5e6
2e6
1.5e6
1e6
(675) (25.3)
(19.9)
13
CDS M Phil Econometrics
Non--Normality,
Non
Multicollinearity,
Multicollinearity,
OLS Specification Error
Violation of
Assumptions
Vijayamohanan Pillai N
Assumption Violations:
Violations: Residual Analysis
•Problems with X:
•The explanatory variables and the • The residual for observation i, ei, = the
disturbance term are correlated difference between its observed and
predicted value
ei = Yi − Ŷi
•There is high linear dependence between
two or more explanatory variables • Check the assumptions of regression
by examining the residuals
•Incorrect model – e.g. exclusion of
relevant variables; inclusion of irrelevant
variables; incorrect functional form • Graphical Analysis of Residuals
3/3/2014 5
CDS M Phil Econometrics Vijayamohan CDS M Phil Econometrics Vijayamohan 6
1
Residual Analysis or Residual Analysis for
Model Adequacy Tests e i = Yi − Ŷi
Linearity
Model adequacy diagnosis: An important stage,
Y Y
before hypothesis testing in forecast modelling
residuals
residuals
(‘explained’) model. x x
X
o Note that this refers to the true residuals.
residuals
X
o E(u) > or < 0.
• Therefore the ^
a
intercept is biased. a + μe
• The slope, b, is
unbiased.
2
(2) Non-normally distributed Non-normally distributed errors
errors : Definition : Implications
• The residuals are not NID(0, σ) o The model is to some degree misspecified.
misspecified.
Normality Tests
Assumption Value Probability Decision(5%) o A collection of truly stochastic
Skewness 5.1766 0.000000 Rejected disturbances should have a normal
Kurtosis 4.6390 0.000004 Rejected
Histogram of Residuals of rate90 distribution:
35.0
17.5
the sum of their distributions tends to be a
8.8 normal distribution.
0.0
-1000.0 -250.0 500.0 1250.0 2000.0
CDS M Phil Econometrics Vijayamohan CDS M Phil Econometrics Vijayamohan
Residuals of rate90 13 14
3
Non-Normality Tests: Non-Normality Tests:
Residual Analysis for Normality Residual Analysis for Normality
The plotted
Percent Percent
100 100 points in the
The plotted
upper tail lie
points lie
above the
above the
comparison
comparison
line and
line on both
0 0 those in the
tails of the
lower tail
-3 -2 -1 0 1 2 3 distribution -3 -2 -1 0 1 2 3
Residual Residual
below the
line
CDS M Phil Econometrics Vijayamohan 19 CDS M Phil Econometrics Vijayamohan 20
4
Residual vs. Predictor Plot Residual vs. Fit Plot
100
100
Non-normality Tests :
Non-normality Tests :
An Example
An Example
50
50
Residuals
Residuals
0
0
Non-
Non-
-50
-50
1000 1500 2000 2500
Square feet 200 250 300 350 400
Fitted values
StatIsitics:
Non-normality Tests :
.015
-50 0
Residuals
50 100
Shapiro-Francia normality
Non-
tests
0.75
Normal F[(resid-m)/s]
An Example
0.50
0.25
0.00
Non-
Graphics :
Distributional graphs : Normal probability plot
CDS M Phil Econometrics Vijayamohan 29 CDS M Phil Econometrics Vijayamohan 30
5
Non-
Non-normally distributed errors: Multicollinearity:: Definition
Multicollinearity
Remedies
• Try to modify your theory. • Multicollinearity : the condition where the
independent variables are related to each other.
• Omitted variable? Causation is not implied by multicollinearity.
• Outlier needing specification? • As any two (or more) variables become more and
more closely correlated, the condition worsens, and
• Modify your functional form by taking ‘approaches singularity’.
some variance transforming step such • Since the X's are supposed to be fixed, this a sample
problem.
as
• Since multicollinearity is almost always present, it is
• square root, exponentiation, logs, etc. a problem of degree, not merely existence.
Multicollinearity:: Implications
Multicollinearity Multicollinearity:: Implications
Multicollinearity
(x ′x) = ∑ 1 ∑ x1x2
x2
• In matrix format,
• Y = Xβ
Xβ + U ∑ x2 x1 ∑ x22
β = (x ′x)−1(x′y)
ˆ
1 ∑ x2
2
− ∑ x1x2 ∑ x1y
(x ′x)−1 = (x′y) =
−1 D − ∑ x1x2 ∑ x12 ∑ x2 y
Var(ˆ
β) = u (x ′x)
σ2
• Where D = |(x
|(xTx)|
CDS M Phil Econometrics Vijayamohan 33 CDS M Phil Econometrics Vijayamohan 34
Multicollinearity:: Implications
Multicollinearity Multicollinearity:: Implications
Multicollinearity
β1 =
ˆ ∑ x1y ∑ x22 − ∑ x2 y ∑ x1x2 var( ˆ
β1 ) =
1 σ2
u
6
Multicollinearity:: Implications
Multicollinearity Multicollinearity:: Implications
Multicollinearity
o B) Perfect Multicollinearity
Consider the following cases
Given X = (x1, x2,…,
,…,x
xk)
A) No multicollinearity
xi : the i-th column of X with n observations.
X1 ⊥ X2 : Orthogonal ⇒ Cov(X1, X2) = R1.22 = 0.
The regression would appear to be identical If Xi is a perfect linear combination of one or
to separate bivariate regressions: both more other variables Xj,
coefficients and variances
x1c1 + x2c2 + ...x k c k = 0
ˆ
β1 =
∑ x1y ∑ x22 − ∑ x2 y ∑ x1x2 ˆ
β1 =
∑ x1 y
∑ x12 ∑ x22 − (∑ x1x2 )2 ∑ x12 where the constants (c
(ci) are not all zero,
then X'X is singular : |X'X| = 0.
1 σ2
u σ2
var( ˆ
β1 ) = var( ˆ
β1 ) = u The matrix does not have full rank.
2
(1 − R 1 .2 ) ∑ x 12 ∑ x12
CDS M Phil Econometrics Vijayamohan 37 CDS M Phil Econometrics Vijayamohan 38
Multicollinearity:: Implications
Multicollinearity Multicollinearity:: Implications
Multicollinearity
ˆ
β1 =
∑ x1y ∑ x22 − ∑ x2 y ∑ x1x2 x1c1 + x 2 c 2 + ...x k c k =& 0
∑ x12 ∑ x22 − (∑ x1x2 )2
CDS M Phil Econometrics Vijayamohan 39 CDS M Phil Econometrics Vijayamohan 40
Multicollinearity:: Implications
Multicollinearity Multicollinearity:: Implications
Multicollinearity
7
Multicollinearity:: Implications
Multicollinearity Multicollinearity:: Implications
Multicollinearity
Multicollinearity:: Implications
Multicollinearity Multicollinearity:: Implications
Multicollinearity
1 σ2
var( ˆ
βk ) = u
• If the independent variables are highly
(1 − R2
k.) ∑ x 2k correlated, var( ˆ
β k ) inflated
Ceteris paribus,
• ⇒ t ratio's are lower
The correlation of Xk with the other variables ↑, • ⇒ insignificant β̂ k
Multicollinearity: Multicollinearity:
Tests/Indicators Tests/Indicators
Some diagnostic statistics:
Nonexperimental data
never orthogonal (R2k. = 0) 1. Klein’s Rule of Thumb (Lawrence Klein: 1980)
8
Interpreting VIFs Interpreting VIFs
Multicollinearity: Multicollinearity:
Tests/Indicators
Tests/Indicators (cont.)
• Also Tolerance: How large a VIF value has to be
1 2 to be “large enough”?
TOLk = = (1 − Rk.)
VIF
Belsley (1991) suggests :
• If the tolerance equals 1, the variables
are unrelated.
1. Eigen values of X’X
• If TOLj = 0, then they are perfectly 2. Condition index (CI) and
correlated.
3. Condition number (CN)
Multicollinearity: Multicollinearity:
Tests/Indicators Tests/Indicators
Given the eigenvalues λ1 > λ2 > λ3 > …. Largest CI = 5 – 10 ⇒ no problem
Largest CI = 30 – 100 ⇒ problematic
CIj = (λ1/ λj); j = 1, 2, 3, ….. Largest CI = 1000 – 3000 ⇒ severe problem
See
Stata/SPSS reports sqrt of CIj 1. DA Belsley, 1991 Conditioning Diagnostics:
Collinearity and weak data in Regression, Wiley
2. DA Belsley, E Kuh and RE Welsch 1980 Regression
CN = sqrt(Max eigenvalue/ Min eigenvalue) Diagnostics: Identifying Influential Data and
Sources of Collinearity, Wiley
Or CN = sqrt(Max CIj). 3. Norman R Draper and Harry Smith 2003 Applied
Regression Analysis 3rd Ed. Wiley
CDS M Phil Econometrics Vijayamohan 53 CDS M Phil Econometrics Vijayamohan 54
9
Multicollinearity: Tests/Indicators
Multicollinearity: Multicollinearity: Tests/Indicators
Multicollinearity:
An Example An Example
Multicollinearity: Tests/Indicators
Multicollinearity:
For Condition Index and Number
An Example
Download the collin command
Multicollinearity:: Tests/Indicators
An Example
Multicollinearity
Sqrt(λ1/ λ1)
Sqrt(λ1/ λ2)
Sqrt(λ1/ λ3)
10
Multicollinearity: Causes Multicollinearity:: Remedies
Multicollinearity
11
Omitted Variable Bias Omitted Variable Bias
(cont) ~
β =
∑ (x i1 − x1 )y i
∑ (xi1 − x1 )2
1
~
β1 =
∑ (xi1 − x1 )yi
But y = β0 + β1x1 + β2 x2 + u,
∑ (xi1 − x1 )2 ~ ∑ (xi1 − x1 )xi2 + ∑ (xi1 − x1 )ui
β = β1 + β2
So the numerator becomes ∑ (xi1 − x1)2 ∑ (xi1 − x1)2
since E(ui) = 0, taking expectatio ns we have
∑ (x i1 − x1 )(β0 + β1x i1 + β2 xi2 + ui ) =
β1 ∑ (x i1 − x1 ) + β2 ∑ (x i1 − x1 )x i2 + ∑ (x i1 − x1 )ui
2 ~
E( β1 ) = β1 + β2
∑ (xi1 − x1 )xi2
∑ (xi1 − x1)2
67 68
~ ~ ~ ~ ∑ (xi1 − x1 )xi2 ∑ 2
x1 (1 − 2
R1 .2 ) ∑ x 12
x2 = δ0 + δ1x1 then δ1 =
∑ (xi1 − x1)2 Thus ~
( )
Var β1 < Var ˆ
β1 ( )
~ ~ unless x1 and x2 are uncorrelated
so E( β1) = β1 + β2 δ1
70
CDS M Phil Econometrics Vijayamohan 69 CDS M Phil Econometrics Vijayamohan
12
Inclusion of Irrelevant Variable: 3. Functional Form Mis-
Mis-specification
Inclusion/overfitting
Inclusion/ overfitting bias
β
E(b1) = β = 1 A third type of mis-specification
0 occurs when we adopt an incorrect
functional form.
However, the estimates are inefficient: that
is to say, including irrelevant variables For example, we estimate a linear
raises the standard errors of our regression model whereas the "true"
coefficient estimates.
regression model is log-linear.
13
Ramsey’s regression specification
Specification Error Tests error test (RESET) – An Example
14
3/3/2014
and
Heteroskedasticity:: Definition
Heteroskedasticity
E (ui2 ) = σ i2
Heteroskedasticity:: Definition
Heteroskedasticity
Example of Heteroskedasticity
• This often gives the plots of the
f(y|x) residuals by the dependent variable
or appropriate independent variables
a characteristic fan or funnel shape.
. 180
. 120
100
80
60
Series1
40
20
0
0 50 100 150
x1 x2 x3 x
3-Mar-14 3-Mar-14 CDS M Phil Econometrics 6
5 Vijayamohan
CDS M Phil Econometrics Vijayamohan
1
3/3/2014
Y
Y
x x
residuals
residuals
x x
3-Mar-14
CDS M Phil 7 3-Mar-14 CDS M Phil Econometrics 8
Econometrics Vijayamohan
Vijayamohan
Heteroskedasticity
Heteroskedasticity
E (u12 ) E (u1u2 ) L E (u1un ) σ 12 0 L 0
With nonspherical errors (e.g. E (uu T ) =
E (u2 u1 ) E (u22 ) L E (u2un ) 0 σ 22 L 0
=
M M O M M M O M
heteroskedasticity and/or autocorrelation)
L E (un2 )
E (unu1 ) E (un u2 ) 0 0 L σ n2
Var (u ) = E (uu′) = σ 2 I
ω11 0 L 0
0 ω 0
no longer applies. L
=σ2
= σ 2Ω = Σ
22
M M O M
E ( uu ′ ) = σ 2 Ω 0 0 L ω nn
Autocorrelation Heteroskedasticity
E (u12 ) E (u1u2 ) L E (u1un ) Given our model, y = Xβ + u
where X is a non-stochastic matrix with full
E (u2u1 ) E (u22 ) L E (u2un )
E (uuT ) = column rank
M M O M
E(u) = 0 and E(uu′) = σ2 Ω = Σ
E (unu1 ) E (unu2 ) L E (un2 )
ρ1 L ρ n −1
The OLS estimator of β is
1
L ρ n −2
2 ρ1 β = β + (X ′X ) − 1 X ′u
ˆ
1
=σ
M M O M = σ 2Ω = Σ
E(ˆ
β) = β
ρ n −1 ρ n −2 L 1
So OLSE is still unbiased
3-Mar-14 CDS M Phil Econometrics 11 3-Mar-14 CDS M Phil Econometrics 12
Vijayamohan Vijayamohan
2
3/3/2014
[ ]
variable or improper functional form.
⇒ E (X ′X)−1 X ′uu′ X(X ′X)−1
– Learning behaviors across time
⇒ (X ′X)−1 X ′E(uu′)X(X ′X)−1 – Changes in data collection or
⇒ (X ′X)−1 X ′σ2 ΩX(X ′X)−1 definitions.
⇒ σ2 (X ′X)−1(X ′ΩX)(X ′X)−1 – Outliers or breakdown in model.
−1 • Frequently observed in cross sectional
•Therefore any inference based on s (X ′X)
2
data sets where demographics are
will be incorrect. involved (population, GNP, etc).
3-Mar-14
CDS M Phil Econometrics s2 may be a biased estimator of σ
Vijayamohan
132 3-Mar-14
CDS M Phil Econometrics Vijayamohan
14
Heteroskedasticity:
Heteroskedasticity:
Heteroskedasticity:: Implications
Heteroskedasticity
Implications (cont.)
• The regression βs are unbiased • Types of Heteroskedasticity
/consistent.
– There are a number of types of
• But they are no longer the best heteroskedasticity.
estimator. • Additive
• They are not BLUE (not minimum • Multiplicative
variance - hence not efficient). • ARCH (Autoregressive conditional
– So confidence intervals are invalid. heteroskedastic) - a time series
– Wrong inference problem.
•
3-Mar-14 15 3-Mar-14 16
CDS M Phil Econometrics Vijayamohan CDS M Phil Econometrics Vijayamohan
3
3/3/2014
The Breusch-
Breusch-Pagan Test The Breusch
Breusch--Pagan Test
• Estimate the residuals from the OLS • can have 3 tests:
regression
1. Θ = ½ RSS,
• Get zi = û2
i /σ
2
that is
where RSS = regression sum of squares
• the residuals squared divided by σ2 = ∑ û2i / n from regressing zi on all of the xs ;
Θ ∼ χ2(k – 1) df.
• Regress zi on all of the xs.
The Breusch-
Breusch-Pagan Test The Breusch
Breusch--Pagan Test
2. The F statistic is just the reported F
statistic for overall significance of the 3. The (Breusch-Pagan-Godfrey) LM
regression, statistic is LM = nR2,
3-Mar-14 21 3-Mar-14 22
CDS M Phil Econometrics Vijayamohan CDS M Phil Econometrics Vijayamohan
The Breusch
Breusch--Pagan Test : The Breusch
Breusch--Pagan Test :
An Example An Example
Consumption $ Income $
55 80
65 100
70 85
80 110
79 120
84
98
115
130
χ2 (1) = 3.84, α = 5%
95 140 χ2 (1) = 6.63, α = 1%
90 125
75 90
74 105
110 160
113 150
125 165
108 145
115 180
140 225
120 200
145
130
240
185 In Statistics:
152 220
Linear models and related
144
175
180
210
245
260
Stata Regression diagnostics
135 190
140 205 Specification tests, etc. F (1, 28) = 4.20, α = 5%
178
191
265
270 F (1, 28) = 7.56, α = 1%
137 230
3-Mar-14
189 250 CDS M Phil Econometrics 23 3-Mar-14 CDS M Phil Econometrics 24
Vijayamohan Vijayamohan
4
3/3/2014
5
3/3/2014
6
3/3/2014
7
3/3/2014
• If u is normally distributed, so is u*
• Thus b is a ML estimator • GLS is a weighted least squares
• So has min var in the class of all (WLS) procedure where each
unbiased estimators. squared residual is weighted by
the inverse of Var(ui|xi)
8
3/3/2014
FGLS: Stata
50
Residuals
0
-50
-100
100
4 5 6 7 8
Price (Rs.)
50
Residuals
0
-50
9
3/3/2014
Autocorrelation: Definition
random. Cyclical 5
Residuals
0
patterns are a sign of -5 0 2 4 6 8
10
3/3/2014
11
3/3/2014
The possible range is 0 ≤ d ≤ 4 Find the values dL and dU from the D-W table (for sample
n size, n and number of independent variables, k)
∑ (uˆ t − uˆ t −1 )2 d should be close to 2 if H0 is true
Decision rule: reject H0 if d < dL
d= t =2
n d < 2 ⇒ positive autocorrelation,
∑ uˆ
t =1
2
t d > 2 ⇒ negative autocorrelation Reject H0 Inconclusive Do not reject H0
2
0 dL dU
3-Mar-14 69 3-Mar-14 70
CDS M Phil Econometrics Vijayamohan CDS M Phil Econometrics Vijayamohan
Do not reject H0
d Testing for +ve
+ve Autocorrelation
0 dL dU 2 4 – dU 4 – dL 4
3-Mar-14 71 3-Mar-14 72
CDS M Phil Econometrics Vijayamohan CDS M Phil Econometrics Vijayamohan
12
3/3/2014
Sales
80 y = 30.65 + 4.7038x
160
140
60 R2 = 0.8976
Durbin-Watson Calculations 40
120
100
Sum of Squared 20
Difference of Residuals 3296.18 0
Sales
80 y = 30.65 + 4.7038x
Sum of Squared 0 5 10 15 20 25 30
60 R2 = 0.8976 3279.98 Time
Residuals
40
20 Durbin-Watson Statistic 1.00494
0 T
0 5 10 15
Time
20 25 30
∑ (uˆ t −u
ˆ t −1 )2
3296.18
d= t =2
= = 1.00494
• Is there autocorrelation? T
3279.98
∑ uˆ
2
t
t =1
3-Mar-14 73 3-Mar-14 CDS M Phil Econometrics 74
CDS M Phil Econometrics Vijayamohan Vijayamohan
13
3/3/2014
14
View publication stats