Escolar Documentos
Profissional Documentos
Cultura Documentos
Model
Jun Duan
Supervised by: David Giles
Jun Duan
1 / 22
Outline
1
Introduction
Literature Review
Model: BSTS-U-MIDAS
Empirical Application
Conclusions
Jun Duan
2 / 22
BSTS-U-MIDAS Model
Proposition: a BSTS-U-MIDAS model (Bayesian
Structural Time Series-Unrestricted-Mixed-Data
Sampling model)
structural time series model (STM).
MIDAS model.
spike-and-slab regression.
Bayesian model averaging (BMA).
Application: forecast quarterly GDP for Canada. More
accurate than ARIMA and Boosting models. Capture the
structural break of the 2008-2009 crisis.
Jun Duan
3 / 22
Jun Duan
4 / 22
Literature Review
Research Question
Utilize the high-frequency data to improve forecasts of
low-frequency macroeconomics variables.
1
2
3
4
Jun Duan
5 / 22
MIDAS Model
Directly introduces high frequency data into the equation
(Ghysels, 2004).
y2nd quarter
; y1st quarter
; ...
Time:
x
xMay xApr ;
xMar
xFeb xJan ; ...
June
y2nd quarter = 1 xJune +2 xMay +3 xApr
6 / 22
Factor Models
A few factors summarize many variables. Principal
components regression; dynamic factor model.
(Banbura, 2013).
Xt = (L)ft + et
ft = (L)ft1 + t
Solved in a state-space form.
High frequency ft is aggregated to low frequency ft .
yt = 0 + 1 ft + t .
Jun Duan
7 / 22
Jun Duan
8 / 22
BSTS-U-MIDAS Model
State-space component:
Bayesian Structural Time Series (BSTS) model
decomposes the target variable into several stochastic
processes.
Regression component:
U-MIDAS model tackles mixed-frequency data.
Spike-and-slab regression is used for variable selection to
handle the high dimensionality problem.
BMA deals with model uncertainty and instability.
Jun Duan
9 / 22
yt = t + xt + t ,
w1t N(0, W1 )
w2t N(0, W2 )
10 / 22
States to estimate :
t , bt ; Kalman filter.
Parameters to estimate :
1 : W1 , W2 for state component;
2 : , 2 for regression component; spike-and-slab
regression.
Jun Duan
11 / 22
Spike-and-Slab Prior
40
i (1 i )N(0, c2 ) + i N(i , 2 )
i = 0: irrelevant predictor i has zero i . c is very
small number. A spike
at the origin.
i = 1: relevant predictor i has non-zero i . 2
is very large. Approximate
to a slab.
i
i i (1 i )1i .
20
0
10
Density
30
Spike
Slab
1.0
0.5
0.0
s
0.5
1.0
12 / 22
for state : , b.
Draw from p(|y1:t , ) using a stochastic versions of the
Kalman smoother from Durbin and Koopman (2002);
13 / 22
Jun Duan
14 / 22
Daily(include 22 12 1 lags):
Toronto Stock Exchange (TSX) index,
daily West Texas crude oil prices,
Monthly(include 3 8 1 lags):
unemployment rate,
monthly spread between interest rates of 10 year
government bonds and 3 month treasure bill,
monthly housing starts.
15 / 22
1990
1995
2000
2005
2010
2015
Time
Jun Duan
16 / 22
1990
1995
2000
Time
Jun Duan
2005
2010
2015
3
2
3
distribution
2
3
distribution
2
1
0
1
2
3
distribution
regression
Ar4
trend
1990
1995
2000
2005
2010
2015
Time
1990
1995
2000
2005
2010
2015
Time
17 / 22
50
0
2
scaled values
Index
1990
1995
2000
2005
2010
2015
Time
Jun Duan
18 / 22
labor.1.q
Year
2014
2015
Month July Aug Sept Oct Nov Dec Jan Feb Mar Apr May
GDP
Labor
7
6
3
1
0
TSX
163
61
Oil
3
oil.3.q
labor.0.q
tsx.163.q
labor.7.q
tsx.61.q
labor.3.q
0.0
0.2
0.4
0.6
0.8
1.0
Inclusion Probability
19 / 22
GDP growth(percent)
True
BSTS
ARIMA
Boosting
2004
2006
2008
2010
2012
2014
time
20 / 22
1700000
True
BSTS
ARIMA
Boosting
1600000
1500000
1400000
2004
2006
2008
2010
2012
2014
time
0.401
0.405
21 / 22
Conclusions
Advantage of BSTS-U-MIDAS:
flexible for handling high frequency and ragged data,
capable of capturing the structural breaks or turning
points,
robust to irrelevant or redundant variables,
easy to incorporate new information of predictors to
update the forecast.
Further study:
test the model based on simulated data,
use historical data to improve the prior,
model volatility of economic variable instead of the
level or return.
Jun Duan
22 / 22