Professional Documents
Culture Documents
Week1 Combined
Week1 Combined
Week1 Combined
1 / 36
Introduction I
▶ This course will teach you a number of econometric tools for
analyzing time series data (financial, macroeconomic, etc.)
▶ Time series data = data measured over time
▶ If you have enough measurements of the same quantity over time
(say at least 30-40), you can apply the methods in this course
2 / 36
Introduction II
3 / 36
Introduction III
4 / 36
Introduction IV
5 / 36
Course outline
6 / 36
Examples of empirical questions
7 / 36
Examples of empirical questions
▶ Predicting the stock market: will the SP500 index go up or down
tomorrow?
▶ People who don’t know time series use the informal ”technical
analysis” below. You will learn how to write down a formal model
(and know what the best answer to the above question is)
8 / 36
Examples of empirical questions
▶ Can we model and predict the volatility/uncertainty in financial
markets?
▶ You will learn how to write down models that can replicate the
volatility clustering in the data, which turns out is predictable
9 / 36
Examples of empirical questions
▶ Is the behaviour of interest rate now the same as it was 50 years
ago? (Or: should I use very old data in my estimation?)
10 / 36
Examples of empirical questions
▶ Did the odds of Trump being elected in 2016 cause a stock market
decline before the election?
▶ Or, should I believe my eyes if I see correlation?
▶ You will learn simple ways to detect spurious correlation
11 / 36
Examples of empirical questions
▶ Key question for policy during the pandemic: link between covid
cases and hospitalisations.
▶ Need to model the dynamic relationship and understand whether it
is stable.
12 / 36
The formal framework
13 / 36
Introduction to the formal framework
14 / 36
Basic Notation
15 / 36
Comparison to cross-sectional econometrics
16 / 36
Comparison to panel econometrics
▶ Traditionally,
▶ Different questions:
▶ Panel: interest in contemporaneous ”causal” relationships, use T to
eliminate endogeneity
▶ Time series: interest in modelling dynamic relationships (how yt
depends on its past)
▶ Different assumptions about relative sizes of time series dimension
T and cross sectional dimension N
▶ Panel: small T , large N
▶ Time series: large T (particularly finance), small N
▶ This is changing and lines are blurring (e.g., ”big data” = large
N,large T )
17 / 36
The formal framework
18 / 36
The formal framework
18 / 36
The formal framework
18 / 36
Regression with time series data
19 / 36
Introduction to regression with time series data
20 / 36
Regression with time series data
21 / 36
Trump Election Example
22 / 36
Why issues arise
23 / 36
Asymptotics and Stationarity
24 / 36
When can we use LS?
25 / 36
Asymptotic theory
26 / 36
Stationarity and Ergodicity
▶ Main difference: In time series we cannot assume iid, but can still
have LLNs and CLTs by replacing the iid assumption with, for
example, stationarity + ergodicity (there are other assumptions)
▶ Stationarity (restricts heterogeneity):
▶ Strict stationarity (strong) = joint distribution of (yt , yt+j1 , ..., yt+jn )
does not depend on t for any set of indeces (j1 , ..., jn ) and for any n
▶ Covariance-stationarity (weak) = only unconditional mean, variance
and covariances do not depend on t
▶ Ergodicity (restricts dependence):
▶ The covariance between yt and yt−j goes to zero quickly as j gets
large (sometimes called weak dependence)
27 / 36
Asymptotics of time series OLS estimators
28 / 36
Examples of non-stationarity
29 / 36
Trending data: USDTRY
30 / 36
Structural Breaks in Level: GBPUSD
31 / 36
Structural Breaks in Volatility: GBPUSD
32 / 36
Why are time series models biased? I
▶ Recall the basic regression model
yt = βxt + ut
where ut ∼ i.i.d.(0, σ 2 ).
▶ We have P T PT
xt yt xt ut
β̂ = Pt=1
T
= β + Pt=1
T
2 2
t=1 xt t=1 xt
▶ So in expectation
PT !
xt ut
E(β̂) = β + E Pt=1
T 2
t=1 xt
▶ Strict exogeneity means E(ut | xT , xT −1 , ..., x1 ) = 0
▶ Applying law of iterated expectations
PT ! PT !
t=1 xt ut t=1 xt E(ut | xT , xT −1 , ..., x1 )
E PT =E PT =0
2 2
t=1 xt t=1 xt
33 / 36
Why are time series models biased? II
▶ Simple time series model
yt = βyt−1 + ut
where ut ∼ i.i.d.(0, σ 2 ).
▶ So in expectation
PT !
yt−1 ut
E(β̂) = β + E Pt=2
T 2
t=2 yt−1
34 / 36
Why are time series models consistent?
▶ HoweverT −1 T p
P
t=2 yt−1 ut → E(yt−1 ut ) = 0
▶ And T −1 T 2 p 2
P
t=2 yt−1 → E(y )
▶ And so PT
yt−1 ut p E(yt−1 ut )
Pt=2
T
→ =0
2
t=2 yt−1
E(y 2 )
▶ Key point is that there is no Jensen’s equality issue with probability
limits.
35 / 36
Bottom lines
36 / 36