ecmi presentation

42
The problem Univariate Analysis Multivariable Analysis Conclusion How mathematicians predict the future? Mattia Zanella Group 5 Costanza Catalano, Angela Ciliberti, Goncalo S. Matos, Allan S. Nielsen, Olga Polikarpova, Mattia Zanella Instructor: Dr in ˙ z . Agnieszka Wylomańska (Hugo Steinhaus Center) December 22, 2011 How mathematicians predict the future? ECMI European Consortium for Mathematics in Industry

Upload: mattia-zanella

Post on 11-Jun-2015

367 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

How mathematicians predict the future?

Mattia Zanella

Group 5Costanza Catalano, Angela Ciliberti, Goncalo S. Matos, Allan S. Nielsen,

Olga Polikarpova, Mattia Zanella

Instructor: Dr inz. Agnieszka Wyłomańska (Hugo Steinhaus Center)

December 22, 2011

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 2: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Introduction and definitions

Introduction

SPOT RATEINFLATION RATENOMINAL RATEREAL RATE

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 3: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Introduction and definitions

Datas

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 4: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Detecting Trends

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 5: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Ornstein-Uhlenbeck Process

Definition

Let (Ω,F ,P) a probability space and F = (Ft)t≥0 a filtrationsatisfying the usual hypotheses. A stochastic process Xt is anOrnstein-Uhlenbeck process if it satisfies the following stochasticdifferential equation

dXt = λ (µ− Xt) dt + σdWt

X0 = x0

where λ ≥ 0, µ and σ ≥ 0 are parameters, (Wt)t≥0 is a Wienerprocess and X0 is deterministic.

If (St)t≥0 is the process implied/real/nominal inflation we will inour model consider St = expXt ∀t ≥ 0.

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 6: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Model CalibrationMaximum Likelihood Estimation

Let (Xt0 , ...,Xtn) n + 1− observations, the Likelihood Function ofXti |Xti−1 is

n∏i=1

fi(Xti ;λ, µ, σ|Xti−1

)

The Log-Likelihood function is defined as

L(X , λ, µ, σ) =n∑

i=1

log f (Xti ;λ, µ, σ|Xti−1).

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 7: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Model CalibrationMaximum Likelihood Estimation

Let (Xt0 , ...,Xtn) n + 1− observations, the Likelihood Function ofXti |Xti−1 is

n∏i=1

fi(Xti ;λ, µ, σ|Xti−1

)The Log-Likelihood function is defined as

L(X , λ, µ, σ) =n∑

i=1

log f (Xti ;λ, µ, σ|Xti−1).

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 8: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Model CalibrationMaximum Likelihood Estimation

Now we have to find

arg maxλ∈R,µ∈R,σ∈R+

L(X , λ, µ, σ)

putting conditions of the first and second order.

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 9: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Model CalibrationResults

λ=9.9241 µ = 2.8656 σ = 2.2687

λ=5.8952 µ = 4.4358 σ = 3.1919

λ=4.5916 µ = 1.5487 σ = 2.3572

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 10: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Model CalibrationResults

λ=9.9241 µ = 2.8656 σ = 2.2687

λ=5.8952 µ = 4.4358 σ = 3.1919

λ=4.5916 µ = 1.5487 σ = 2.3572

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 11: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Model CalibrationResults

λ=9.9241 µ = 2.8656 σ = 2.2687

λ=5.8952 µ = 4.4358 σ = 3.1919

λ=4.5916 µ = 1.5487 σ = 2.3572

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 12: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Numerical Approximations

Consider a general SDE

dXt = a(Xt)dt + b (Xt) dWt , t ∈ [0,T ]

and a partition of the time interval [0,T ] into n equal subintervalsof width δ = T

n0 = t0 < t1 < ... < tn = T

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 13: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Numerical ApproximationsMethods

Euler-Maruyama scheme:

Yi+1 = Yi + a (Yi ) δ + b (Yi ) ∆Wi

Millstein scheme:

Yi+1 = Yi+a (Yi ) δ+b (Yi ) ∆Wi+12b (Yi ) b′ (Yi )

((∆Wi )

2 − δ)

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 14: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Numerical ApproximationsMethods

Euler-Maruyama scheme:

Yi+1 = Yi + a (Yi ) δ + b (Yi ) ∆Wi

Millstein scheme:

Yi+1 = Yi+a (Yi ) δ+b (Yi ) ∆Wi+12b (Yi ) b′ (Yi )

((∆Wi )

2 − δ)

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 15: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Numerical ResultsImplied Inflation

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 16: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Numerical ResultsNominal Inflation

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 17: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Numerical ResultsReal Inflation

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 18: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Empirical DistributionsImplied Inflation

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 19: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Empirical DistributionsNominal Inflation

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 20: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Continous Case

Empirical DistributionReal Inflation

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 21: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Discrete Case

Autoregressive ModelAR(p)

Definition

The AR(p) model is defined as

Xt = c +

p∑i=1

ϕiXt−i + εt

where ϕ1, ..., ϕp are the parameters of the model, c a constant andεt is normally distributed.

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 22: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Discrete Case

Autoregressive ModelAutocorrelation

Definition

We define autocorrelation coefficient of a random variable Xobserved at times t and s

R(s, t) =E [(Xt − µt) (Xs − µs)]

σsσt.

If R = 1: perfect correlationIf R = −1: anti-correlationIf R = 0: non correlated

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 23: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Discrete Case

Autoregressive ModelAutocorrelation Plots

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 24: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Discrete Case

First Order Autoregressive ModelAR(1)

Our model takes the form

Xt+1 = c + ϕXt + εt .

Or equivalently

Xt+1 = µ+ ϕ (Xt − µ) + N(0, σ2) .

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 25: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Discrete Case

First Order Autoregressive ModelAR(1)

Our model takes the form

Xt+1 = c + ϕXt + εt .

Or equivalently

Xt+1 = µ+ ϕ (Xt − µ) + N(0, σ2) .

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 26: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Discrete Case

First Order Autoregressive ModelNumerical Results Real Spot Rate

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 27: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Discrete Case

PDF EvolutionReal Spot Rate

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 28: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Discrete Case

Confidence BandsEntire Data Set

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 29: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Discrete Case

Confidence BandsPartial Data Set

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 30: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Multiple Regression

Multiple Regression

y1y2...yn

=

1 x11 x121 x21 x22...

......

1 xn1 xn2

β0

β1β2

+

ε1ε2...εn

Or in equivalentlyy = Xβ + ε

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 31: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Multiple Regression

Multiple Regression

y1y2...yn

=

1 x11 x121 x21 x22...

......

1 xn1 xn2

β0

β1β2

+

ε1ε2...εn

Or in equivalently

y = Xβ + ε

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 32: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Multiple Regression

Regressors

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 33: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Multiple Regression

Assumption on the Modely = Xβ + ε

E (εi ) = 0Var (εi ) = σ2 ∀i = 1, . . . , nCov(εi , εj) = 0 ∀i 6= j

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 34: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Multiple Regression

Least Square Estimationβ Coefficients

If X′X is invertible the LSE of β is

β =(X′X

)−1 X′y

β0, β1, β2 = −0.0068,−0.9869, 0.9935

Real = β0 + β1Nominal + β2Implied + ε

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 35: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Multiple Regression

Least Square Estimationβ Coefficients

If X′X is invertible the LSE of β is

β =(X′X

)−1 X′y

β0, β1, β2 = −0.0068,−0.9869, 0.9935

Real = β0 + β1Nominal + β2Implied + ε

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 36: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Multiple Regression

Least Square Estimationβ Coefficients

If X′X is invertible the LSE of β is

β =(X′X

)−1 X′y

β0, β1, β2 = −0.0068,−0.9869, 0.9935

Real = β0 + β1Nominal + β2Implied + ε

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 37: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Multiple Regression

Numerical Results

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 38: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Multiple Regression

About the Noise

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 39: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Multiple Regression

Confidence Bands

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 40: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Conclusion

Ornstein-UhlenbeckAR(1)Regression

Validation of the classical Fisher hypothesis

rr = rn − πe .

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 41: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

Conclusion

Ornstein-UhlenbeckAR(1)Regression

Validation of the classical Fisher hypothesis

rr = rn − πe .

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry

Page 42: Ecmi presentation

The problem Univariate Analysis Multivariable Analysis Conclusion

The end

Thank you for attention

How mathematicians predict the future? ECMI

European Consortium for Mathematics in Industry