Download presentation
Presentation is loading. Please wait.
1
1 Takehome One 2008
2
2 3 month treasury bill rate
3
3 5 year Treasury
4
4
5
5
6
6 A measure of the term structure
7
7
8
8
9
9 1. You should try this so that you know at least one way of obtaining time series from FRED. If you have difficulty, an Excel file called Takeone, is available on the class page. 2. Generate a time series called term that is the difference between GS5 and TB3MS. 3. Is term stationary, i.e. are GS5 and TB3ms co-integrated? 4. Is term normally distributed? 5. Estimate your best autoregressive model for term. 6. Estimate your best ARMA model for term through April 2007 and see how well a forecast for this model fits the next 12 months. 7. Re-estimate your best model for term through April 2008 and forecast for the remaining months of 2008. Questions: Takehome One
10
10 Histogram and Stats for Five Year
11
11
12
12 Unit Root test for GS5
13
13 Histogram and Stats for Term
14
14
15
15
16
16Co-integration 1*TS5 – 1*TB3MS = Term 1*TS5 – 1*TB3MS = Term EvolutionaryStationary
17
17 Modeling Term PACF ACF
18
18Specification PACF(u) AR(p) PACF(u) AR(p) ACF(u) MA(q) ACF(u) MA(q)
19
19 Best AR Model Ar(1) ar(2) ar(3) ser = 0.307 Ar(1) ar(2) ar(3) ser = 0.307 Ar(1) ar(2) ar(3) ar(4) ser = 0.305 Ar(1) ar(2) ar(3) ar(4) ser = 0.305 Ar(1) ar(2) ar(3) ar(4) ar(5) ser = 0.3048 Ar(1) ar(2) ar(3) ar(4) ar(5) ser = 0.3048 Ar(1) ar(2) ar(3) ar(4) ar(6) ser = 0.3045 Ar(1) ar(2) ar(3) ar(4) ar(6) ser = 0.3045
20
20
21
21
22
22 Specification Ar(1) ar(2) : look at residuals Ar(1) ar(2) : look at residuals Ar(1) ar(2) ar(3) : look at residuals Ar(1) ar(2) ar(3) : look at residuals Ar(1) ar(2) ar(3) ma(3) : look at residuals Ar(1) ar(2) ar(3) ma(3) : look at residuals Ar(1) ar(2) ar(3) ma(3) ma(9) : look at residuals Ar(1) ar(2) ar(3) ma(3) ma(9) : look at residuals ADD MA(15) ADD MA(15) ADD MA(20) ADD MA(20) ADD MA(21), ser = 0.295 ADD MA(21), ser = 0.295
23
23
24
24
25
25
26
26
27
27
28
28Validation Correlogram of residuals Correlogram of residuals Actual, fitted & residual graph Actual, fitted & residual graph Serial correlation test Serial correlation test Histogram of residuals Histogram of residuals
29
29
30
30
31
31
32
32 Within Sample Forecasting Re-estimate model from 1953:04 -2007:04 Re-estimate model from 1953:04 -2007:04
33
33 In sample forecast: 2007:04-2008:04
34
34
35
35 Sample: 2005:01 – 2008:04 Quick menu: show
36
36 In sample forecast
37
37 Out of sample forecast Procs: expand 1953:04 – 2008:12 Procs: expand 1953:04 – 2008:12 Sample 1953:04 – 2008:12 Sample 1953:04 – 2008:12
38
38 Out of Sample Forecast
39
39
40
40 Out of Sample Forecast
41
41ARCH
42
42
43
43 ARCH: when Inverted Term Structure
44
44 5 yr: 3.23 3 m: 1.86 Term; 1.37
45
45 Estimate ARCH/GARCH
46
46
47
47Diagnostics Correlogram of standardized residuals Correlogram of standardized residuals Actual, fitted, residual graph Actual, fitted, residual graph correlogram of standardized residuals squared correlogram of standardized residuals squared LM ARCH test LM ARCH test
48
48
49
49 Arch LM Test
50
50 Histogram of Standardized Residuals
51
51 Estimate of Conditional Variance h
52
52 Estimate of a Simpler Model with ARCH
53
53
54
54 Ordinary residuals from ARFOUR, ARCH
55
55Appendix
56
56 Alternative model #1
57
57
58
58
59
59
60
60 Residuals from model
61
61 Alternative model #2
62
62
63
63
64
64
65
65 Autoregressive Conditional Heteroskedasticity
66
66
67
67
68
68
69
69
70
70
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.