Model Adequacy in Econometrics: September 2021
Model Adequacy in Econometrics: September 2021
Model Adequacy in Econometrics: September 2021
net/publication/354696046
CITATIONS READS
0 31
2 authors:
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 20 September 2021.
……………………….
࢟ ൌ ࢼ ࢼ࢞ ࢼ࢞ǤǤǤࢼ࢞ ࢛
1
Monday, September 20, 2021
2
Monday, September 20, 2021
•General Assumption :
•Assumption on X and u:
•No specification error–
•The explanatory variables and the disturbance
e.g. exclusion of relevant variables;
term are not correlated
inclusion of irrelevant variables;
(Orthogonal X and error: No endogeneity bias)
incorrect functional form;
measurement error
3
Monday, September 20, 2021
Residual Analysis
Model Adequacy Tests • The residual for observation i,
࢛ෝ = the difference between its observed and
predicted value
ෝ = ࢅ − ࢅ
࢛
Residual Analysis • Check the assumptions of regression by examining
the residuals
• Graphical Analysis of Residuals
Otherwise, unfortunately,
most of the econometric practitioners ignore it, CDS Working Paper 312 (2001)
knowingly or unknowingly,
giving no clues about the validity of their results –
an undesirable practice that must be avoided.
4
Monday, September 20, 2021
residuals
residuals
i.e., if the residual does not contain (or conceal)
any ‘explainable non-randomness’
left from the (‘explained’) model.
x x
i.e., if the residual is purely random/white noise.
residuals
residuals
i.e., if all the OLS assumptions are satisfied. x x
26.3
residuals
Count
X 17.5
8.8
5
Monday, September 20, 2021
A normal probability plot of the residuals can be Residual distribution Positively skewed
used to check for normality:
Percent Percent
100 The plotted 100 The plotted
points points lie
above the
reasonably comparison
linear line on both
tails of the
0 0 distribution
-3 -2 -1 0 1 2 3 -3 -2 -1 0 1 2 3
Residual Residual
20-Sep-21 Vijayamohan & Rjumohan 23 20-Sep-21 Vijayamohan & Rjumohan 24
6
Monday, September 20, 2021
• Omitted variable?
• Outlier needing specification?
• Modify your functional form by taking some
variance transforming step such as square root,
exponentiation, logs, etc.
7
Monday, September 20, 2021
Boxplot : Boxplot :
a five-number measure: a five-number measure:
the minimum, the maximum, the sample median, and the minimum, the maximum, the sample median, and
the first and third quartiles. the first and third quartiles.
8
Monday, September 20, 2021
30
No overlap
20 Mean
9
Monday, September 20, 2021
10
Monday, September 20, 2021
11
Monday, September 20, 2021
Multicollinearity: Multicollinearity:
Tests/Indicators Tests/Indicators
How large a VIF value has to be Given the eigenvalues 1 > 2 > 3 > ….
to be “large enough”?
CIj = (1/ j); j = 1, 2, 3, …..
Belsley (1991) suggests :
Stata/SPSS reports sqrt of CIj
1. Eigen values of X’X
2. Condition index (CI) and CN = sqrt(Max eigenvalue/ Min eigenvalue)
3. Condition number (CN)
Or CN = sqrt(Max CIj).
12
Monday, September 20, 2021
13
Monday, September 20, 2021
Suppose the true model is: Suppose this time the “true” model is:
= ࢼ
࢟ ෩ + ࢼ
෩࢞ + ࢛,
࢟ = ࢼ + ࢼ࢞ + ࢼ࢞ + ࢛,
but we estimate:
But we estimate
෩ + ࢼ
= ࢼ
࢟ ෩࢞ + ࢛, ࢟ = ࢼ + ࢼ࢞ + ࢼ࢞ + ࢛,
14
Monday, September 20, 2021
2: No serial/auto correlation
y i 1 2 x i2 3 x i 3 ... k x ik ui Cov(ui uj) = 0, ∀ i ≠ j; i, j = 1, 2, ….., n
1: No heteroscedasticity
Var(ui) = ોu2
No heteroscedasticity assumption
Variance y
f(y|x)
μ . E(y|x) = b 0 + b 1x
μ
μ
.
Homoscedasticity
x1 x2 x
20-Sep-21 Vijayamohan & Rjumohan 59 20-Sep-21 Vijayamohan & Rjumohan 60
15
Monday, September 20, 2021
Heteroskedasticity: Definition
. E(y|x) = b 0 + b 1x
180
.
160
140
120
. 100
80
60
40
Series1
Heteroscedasticity 20
0
0 50 100 150
x1 x2 x3 x
20-Sep-21 Vijayamohan & Rjumohan 61 20-Sep-21 Vijayamohan & Rjumohan 62
residuals
x x
– Wrong inference
Non-constant variance
20-Sep-21 Vijayamohan & Rjumohan
Constant variance
16
Monday, September 20, 2021
20-Sep-21 65 20-Sep-21 66
Vijayamohan & Rjumohan Vijayamohan & Rjumohan
17
Monday, September 20, 2021
18
Monday, September 20, 2021
0
patterns are a sign of -5 0 2 4 6 8
-15
Time (t)
• Autocorrelation: Definition
Autocorrelation: Definition
• Autoregressive processes (cont.)
• Autoregressive processes AR(p) – In 2nd order autocorrelation the
– The residuals are related to their residuals are related to their t-2 values
preceding values. as well – AR(2):
– This is classic 1st order autocorrelation: – Larger order processes may occur as
AR(1) process well: AR(p)
࢛࢚ = ࢛࢚࣋ି + ࢛࢚࣋ି+. . . +࢛࢚࣋ି + ࢿ࢚
20-Sep-21 Vijayamohan & Rjumohan 75 20-Sep-21 Vijayamohan & Rjumohan 76
19
Monday, September 20, 2021
20
Monday, September 20, 2021
ෝ = –1 negative autocorrelation: d ≈ 4
࣋
ෝ)
ࢊ ≈ ( − ࣋
d close to 4 negative autocorrelation
20-Sep-21 83 20-Sep-21 84
Vijayamohan & Rjumohan Vijayamohan & Rjumohan
21
Monday, September 20, 2021
H0: positive autocorrelation does not exist H0: positive autocorrelation does not exist
80 y = 30.65 + 4.7038x
No - autocorrelation No Decision 4 – d U ≤ d ≤ 4 – dL 60 R2 = 0.8976
40
No +/- autocorrelation Do not reject d U < d < 4 – dL 20
0
• Is there autocorrelation?
0 5 10 15
Time
20 25 30
22
Monday, September 20, 2021
23
Monday, September 20, 2021
• Autocorrelation: Remedies
Autocorrelation: Remedies
• Cochran-Orcutt method (cont.)
Cochran-Orcutt method (Estimating ૉ from the (3) using the -hat obtained, perform the
residuals) regression on the generalized differences
(1) Estimate model using OLS and obtain ෝࢅ࢚ି) = ( − ࣋
(ࢅ࢚ − ࣋ ෝ) + (ࢄ࢚ − ࣋
ෝࢄ ࢚ି) + (࢛࢚ − ࣋
ෝ࢛࢚ି)
the residuals, ut.
(2) Using the residuals run regression on (4) Substitute the values of B1 and B2 into
the following relationship: the original regression to obtain new
estimates of the residuals.
ෝ࢚ = ࢛࣋
࢛ ෝ࢚ି + ࢚࢜ (5) Return to step 2 and repeat – until -hat
converges (no longer changes).
20-Sep-21 Vijayamohan & Rjumohan 95 20-Sep-21 Vijayamohan & Rjumohan 96
24
Monday, September 20, 2021
This ARDL(1,1) equation is free from autocorrelation, Thus to remedy AC, we need to estimate
t being a spherical error (white noise), an ARDL model of appropriate order,
and can be estimated using OLS. for which we can use the g-t-s method.
25
Monday, September 20, 2021
Monthly Data on Consumption, Income and Inflation Monthly Data on Consumption, Income and Inflation
Month Cons Inc Infl Month Cons Inc Infl Month Cons Inc Infl
Month Cons Inc Infl Month Cons Inc Infl Month Cons Inc Infl
70 1307 1510 0.01 93 1286 1504 1.77 116 1298 1515 7.90
139 1314 1514 -2.24 160 1321 1515 -7.30 181 1315 1507 -11.97
71 1308 1510 0.51 94 1285 1506 2.68 117 1302 1516 6.89
140 1314 1513 -2.57 161 1322 1515 -7.70 182 1314 1508 -11.30
72 1307 1510 -0.84 95 1283 1505 3.74 118 1303 1516 6.29
73 1308 1509 -1.41 96 1284 1507 3.69 119 1307 1517 3.29
141 1313 1513 -3.93 162 1322 1514 -9.29 183 1316 1508 -12.86
74 1308 1509 -2.36 97 1286 1507 4.10 120 1308 1517 2.39 142 1312 1511 -6.34 163 1323 1513 -12.26 184 1314 1507 -12.21
75 1306 1508 -2.74 98 1288 1508 4.35 121 1306 1515 2.25 143 1311 1510 -6.34 164 1325 1513 -11.78 185 1314 1505 -13.11
76 1307 1508 -3.99 99 1290 1510 5.68 122 1307 1515 2.00 144 1312 1511 -6.62 165 1322 1512 -10.86 186 1312 1505 -13.03
77 1309 1509 -3.11 100 1289 1509 5.79 123 1306 1516 2.14 145 1313 1511 -6.51 166 1320 1512 -11.52 187 1314 1504 -14.57
78 1309 1510 -2.51 101 1290 1510 4.92 124 1305 1514 1.60 146 1313 1511 -6.80 167 1321 1513 -9.97 188 1312 1503 -14.03
79 1306 1510 -0.35 102 1289 1510 6.01 125 1305 1514 0.30 147 1314 1512 -7.28 168 1319 1512 -10.13 189 1312 1502 -14.34
80 1304 1510 0.45 103 1288 1510 6.39 126 1307 1514 1.51 148 1313 1512 -6.00 169 1315 1511 -10.15 190 1312 1503 -14.55
81 1303 1510 0.92 104 1291 1510 3.87 127 1307 1514 0.99 149 1315 1511 -6.88 170 1317 1510 -10.50 191 1314 1503 -16.25
82 1305 1512 0.22 105 1290 1510 5.83 128 1307 1515 1.67 150 1314 1510 -8.25 171 1317 1510 -11.92 192 1314 1502 -16.55
83 1302 1511 -0.09 106 1291 1512 6.54 129 1311 1515 0.06 151 1315 1512 -6.86 172 1316 1509 -11.32 193 1314 1501 -16.25
84 1298 1508 0.85 107 1294 1512 5.18 130 1309 1514 0.79
152 1315 1511 -6.55 173 1315 1509 -10.08 194 1312 1500 -14.84
85 1296 1506 0.27 108 1292 1513 5.83 131 1309 1515 0.90
153 1317 1512 -6.37 174 1314 1507 -10.27 195 1310 1500 -13.07
86 1295 1507 1.41 109 1291 1513 5.18 132 1309 1514 0.64
87 1293 1506 2.41 110 1292 1513 4.75 133 1309 1514 0.41
154 1317 1513 -6.92 175 1317 1509 -10.90 196 1308 1498 -13.79
88 1290 1506 4.63 111 1290 1511 6.30 134 1307 1513 0.64 155 1319 1513 -7.47 176 1319 1509 -12.15 197 1309 1497 -14.93
89 1289 1505 3.81 112 1291 1512 7.51 135 1310 1514 0.44 156 1318 1513 -7.70 177 1318 1510 -11.63 198 1305 1496 -14.06
90 1290 1506 2.34 113 1291 1513 9.95 136 1313 1514 -1.36 157 1318 1513 -7.43 178 1318 1509 -12.51 199 1309 1498 -13.97
91 1286 1504 2.86 114 1294 1512 8.17 137 1313 1513 -2.45 158 1319 1514 -5.96 179 1317 1509 -11.41 200 1308 1497 -12.69
92 1287 1505 1.79 115 1296 1514 8.51 138 1312 1513 -1.15 159 1320 1514 -6.22 180 1316 1508 -13.71
20-Sep-21 Vijayamohan & Rjumohan 103 20-Sep-21 Vijayamohan & Rjumohan 104
26
Monday, September 20, 2021
1310
1510
1305
1300
1505
-5
-10
-15
-20
2000 2004 2008 2012 2016
20-Sep-21 Vijayamohan & Rjumohan 105 20-Sep-21 Vijayamohan & Rjumohan 106
20-Sep-21 Vijayamohan & Rjumohan 107 20-Sep-21 Vijayamohan & Rjumohan 108
27
Monday, September 20, 2021
20-Sep-21 Vijayamohan & Rjumohan 109 20-Sep-21 Vijayamohan & Rjumohan 110
20-Sep-21 Vijayamohan & Rjumohan 111 20-Sep-21 Vijayamohan & Rjumohan 112
28
Monday, September 20, 2021
We find that the regression model of We find that the regression model of
consumption on the other two variables, consumption on the other two variables,
income and inflation, income and inflation,
is highly significant, is not adequate in respect of
the corresponding p-value being very small all the OLS assumptions,
in every case, and the coefficients having the the corresponding p-value being almost zero
expected signs and magnitudes. in every case.
20-Sep-21 Vijayamohan & Rjumohan 113 20-Sep-21 Vijayamohan & Rjumohan 114
20-Sep-21 Vijayamohan & Rjumohan 115 20-Sep-21 Vijayamohan & Rjumohan 116
29
Monday, September 20, 2021
20-Sep-21 Vijayamohan & Rjumohan 117 20-Sep-21 Vijayamohan & Rjumohan 118
In model 2,
the second lags are insignificant;
so we remove them
and rerun the regression;
this time, ARDL(1, 1)
20-Sep-21 Vijayamohan & Rjumohan 119 20-Sep-21 Vijayamohan & Rjumohan 120
30
Monday, September 20, 2021
20-Sep-21 Vijayamohan & Rjumohan 121 20-Sep-21 Vijayamohan & Rjumohan 122
20-Sep-21 Vijayamohan & Rjumohan 123 20-Sep-21 Vijayamohan & Rjumohan 124
31
Monday, September 20, 2021
20-Sep-21 Vijayamohan & Rjumohan 125 20-Sep-21 Vijayamohan & Rjumohan 126
32