Professional Documents
Culture Documents
C 259836
OXFORD
UNIVERSITY PRESS
Contents
I Introduction to Microfit
1 Introduction
1.1 What is Microfit?
>
1.2 New features of Microfit 5.0
1.2.1 New functions and commands
1.2.2 Single equation estimation techniques
1.2.3 System equation estimation techniques
1.3 Tutorial lessons
1.4 Other features of Microfit 5.0
1.4.1 Data management
1.4.2 Data transformations
1.4.3 High-resolution graphics
1.4.4 Batch operations
1.4.5 General statistics
1.4.6 Dynamic simulation
1.4.7 Other single equation estimation techniques
1.4.8 Model respecification
1.4.9 Diagnostic tests and model selection criteria
1.4.10 Variable addition and variable deletion tests
1.4.11 Cointegration tests
1.4.12 Testing for unit roots
1.4.13 Tests of linear and non-linear restrictions
1.4.14 Non-nested tests
1.4.15 Static and dynamic univariate forecasts
1.5 Installation and system configuration
1.6 System requirements for Microfit 5.0
3
3
3
5
5
6
7
8
8
8
8
8
9
9
9
10
10
11
11
11
11
11
11
12
12
13
13
13
13
14
14
CONTENTS
2.3
2.4
2.5
II
2.2.2
Quitting Microfit
Using windows, menus and buttons
2.3.1 The main window
2.3.2 Main Menu bar
2.3.3 Buttons
The Variables window
The Data window
2.5.1 Program options
2.5.2 Help
v
19
14
14
14
14
16
17
18
18
21
...
...
23
23
23
24
26
26
27
27
28
28
28
29
30
30
31
33
34
34
34
35
35
36
36
36
, 37
' 38
39
39
39
40
CONTENTS
4.1.5 Creating seasonal dummies relative to the last season
Typing formulae in Microfit
4.2.1 Printing, saving, viewing, and copying files
4.3 Using built-in functions in Microfit
4.3.1 Function ABS
,
4.3.2 Function COS
4.3.3 Function CPHI
4.3.4 Function CSUM
,
4.3.5 Function EXP
I-
4.3.6 Function GDL
'.'..'.
4.3.7 Function HPF
4.3.8 Function INVNORM
4.3.9 Function LOG
4.3.10 Function MAX
'
4.3.11 Function MAV
4.3.12 Function MEAN
4.3.13 Function MIN
4.3.14 Function NORMAL
4.3.15 Function ORDER
4.3.16 Function PHI
4.3.17 Function PTTEST
4.3.18 Function RANK
4.3.19 Function RATE
4.3.20 Function RECLMAX
4.3.21 Function RECJV1IN
4.3.22 Function ROLL_MAX
4.3.23 Function ROLLJMIN
4.3.24 Function SIGN
4.3.25 Function SIN
4.3.26 Function SORT
4.3.27 Function SQRT
.'
4.3.28 Function STD
4.3.29 Function SUM
4.3.30 Function UNIFORM . . . . ,
4.4 Using commands in Microfit
4.4.1 Command ADD
4.4.2 Command ADF
4.4.3 Command ADF_GLS
4.4.4 Command ADF_MAX
4.4.5 Command ADF_WS
4.4.6 Command BATCH
4.4.7 Command CCA
4.4.8 Command COR
4.4.9 Command DELETE
4.2
xi
40
41
43
43
43
43
44
44
44
44
45
45
46
46
46
46
47
47
47
47
48
48
48
49
49
49
49
50
50
50
51
51
51
51
52
52
52
54
55
55
56
57
58
58
xii
CONTENTS
4.4.10
4.4.11
4.4.12
4.4.13
4.4.14
4.4.15
4.4.16
4.4.17
4.4.18
4.4.19
4.4.20
4.4.21
4.4.22
4.4.23
4.4.24
4.4.25
4.4.26
4.4.27
4.4.28
4.4.29
Command
Command
'Cpmmand
Command
Command
Command
Command
Command
Command
Command
Command
Command
Command
Command
Command
Command
Command
Command
Command
Command
DF_PP
ENTITLE
FILL_FORWARD
FILL_MISSING
HIST
KEEP
KPSS
LIST
NONPARM^
P C A . . . . . : 7". ..'
PLOT
REORDER
RESTORE
SAMPLE
SCATTER
SIM
SIMB
SPECTRUM
TITLE
XPLOT
'
58
59
59
60
60
60
61
61
61
63
63
64
64
64
65
65
66
66
67
67
68
68
68
68
69
70
71
71
72
72
72
72
72
III
73
Estimation Menus
6 Single-Equation Options
6.1 The classical normal linear regression model
6.1.1 Testing the assumptions of the classical model
6.1.2 Estimation of the classical linear regression model
6.1.3 Testing zero restrictions and reporting probability values
6.2 The maximum likelihood approach
75
75
76
77
79
79
CONTENTS
6.3
6.4
6.5
6.6
6.7
6.8
6.9
6.10
6.11
6.12
6.13
6.14
6.15
6.16
6.17
6.18
6.19
xiii
80
80
81
83
84
85
85
87
88
88
89
89
89
89
90
90
90
92
93
94
94
96
96
97
97
98
98
99
99
101
102
102
102
104
104
105
105
106
106
107
107
108
108
xiv
CONTENTS
6.20 Post Regression Menu
6.21 Display/Save Residuals and Fitted Values Menu
6.22 Standard, White and Newey-West Adjusted Variance Menu
6.23 Hypothesis Testing Menu
109
110
Ill
112
117
117
119
119
121
122
123
124
125
127
128
130
131
132
133
136
136
136
138
139
140
141
CONTENTS
8.8
IV
Tutorial Lessons
xv
153
154
154
157
166
166
167
168
169
171
173
174
175
177
178
179
181
182
185
188
xvi
CONTENTS
10.16 Lesson 10.16: Principal components analysis of US macro-economic time
series '.
191
10.17 Lesson 10.17: Canonical correlation analysis of bond and equity futures . . . 194
10.18 Exercises in data processing
196
10.18.1 Exercise 10.1
196
10.18.2 Exercise 10.2
196
10.18.3 Exercise 10.3
196
10.18.4 Exercise 10.4
196
j
197
197
202
206
208
212
213
217
219
220
222
224
228
230
230
231
231
231
231
231
CONTENTS
xvii
255
255
257
261
263
267
269
269
269
269
269
xviii
CONTENTS
16.7 Lesson 16.7: Application of the cointegrating VAR analysis to the UK term
structure of interest rates
16.8 Lesson T6J&: Canonical correlations and cointegration analysis
16.9 Exercises in cointegration analysis
16.9.1 Exercise 16.1
16.9.2 Exercise 16.2
16.9.3 Exercise 16.3
16.9.4 Exercise 16.4
16.9.5 Exercise 16.5
'^
326
334
337
337
337
337
337
337
374
374
376
378
379
382
384
386
386
386
386
386
386
386
CONTENTS
19 Lessons in Univariate G A R C H Modelling
19.1 Lesson 19.1: Testing for ARCH effects in monthly $/ exchange rates . . . .
19.2 Lesson 19.2^Estimating GARCH models for monthly $/ exchange rate . .
19.3 Lesson 19.3: "Estimating EGARCH models for monthly $/ exchange rate . .
19.4 Lesson 19.4: Forecasting volatility
19.5 Lesson 19.5: Modelling volatility in daily exchange rates
19.6 Lesson 19.6: Estimation of GARCH-in-mean models of US excess returns . .
19.7 Exercises in GARCH modelling .
19.7.1 Exercise 19.1
^
19.7.2 Exercise 19.2
. .~7
xix
387
387
389
393
395
396
398
401
401
402
V Econometric Methods
417
419
419
420
421
422
423
424
424
425
427
430
430
431
431
431
432
435
xx
CONTENTS
21.9.1 The P E test statistic
21.9.2 The Bera-McAleer test statistic
21.9.3 The double-length regression test statistic
21.9.4 The Cox non-nested statistics computed by simulation
21.9.5 Sargan and Vuong's likelihood criteria
21.10 The generalized instrumental variable method
21.10.1 Two-stage least squares
21.10.2 Generalized R2 for IV regressions
21.10.3 Sargan's general mis-specification test
21.10.4 Sargan's test of residual serial correlation for IV regressions
21.11 Exact ML/AR estimators
21.11.1 The AR(1) case
21.11.2 The AR(2) case
21.11.3 Covariance matrix of the exact ML estimators for the AR(1) and
AR(2) options
21.11.4 Adjusted residuals, R2, R2, and other statistics
21.11.5 Log-likelihood ratio statistics for tests of residual serial correlation .
21.12 The Cochrane-Orcutt iterative method
21.12.1 Covariance matrix of the CO estimators
21.13 ML/AR estimators by the Gauss-Newton method
21.13.1 AR(m) error process with zero restrictions
21.14 The IV/AR estimation method
21.14.1 Sargan's general mis-specification test in the case of the IV/AR
option
21.14.2 R2,R2,GR2,GR2, and other statistics: AR options
21.15 Exact ML/MA estimators
21.15.1 Covariance matrix of the unknown parameters in the MA option . .
21.16 The IV/MA estimators
21.16.1 R2,R2,GR2, OR2, and other statistics: MA options
21.17 Recursive regressions
21.17.1 The CUSUM test
21.17.2 The CUSUM of squares test
21.17.3 Recursive coefficients: the OLS option
21.17.4 Standardized recursive residuals: the OLS option
21.17.5 Recursive standard errors: the OLS option
21.17.6 Recursive estimation: the IV option
21.17.7 Adaptive coefficients in expectations formation models under
incomplete learning
21.17.8 Recursive predictions
21.18 Phillips-Hansen fully modified OLS estimators
21.18.1 Choice of lag windows a;(s,m)
21.18.2 Estimation of the variance matrix of the FM-OLS estimator
21.19 Autoregressive distributed lag models
21.20 Probit and Logit models
435
436
436
437
439
439
440
441
441
442
442
444
444
445
445
447
447
449
449
450
450
451
452
453
455
456
456
457
458
458
458
459
459
459
460
460
461
462
462
463
465
CONTENTS
xxi
479
480
480
482
484
484
485
487
488
489
489
490
491
492
494
494
494
496
497
499
502
502
503
504
504
xxii
CONTENTS
505
508
509
510
511
511
512
513
513
517
518
521
522
523
525
525
525
527
527
528
528
529
529
529
530
532
534
534
537
539
541
547