Bayesian Finance. Christa Cuchiero, Irene Klein, Josef Teichmann. Obergurgl 2017

Similar documents
Machine Learning in mathematical Finance

**BEGINNING OF EXAMINATION** A random sample of five observations from a population is:

Crashcourse Interest Rate Models

Statistical Models and Methods for Financial Markets

Market Risk Analysis Volume I

Dynamic Replication of Non-Maturing Assets and Liabilities

Equity correlations implied by index options: estimation and model uncertainty analysis

CALIBRATION OF THE HULL-WHITE TWO-FACTOR MODEL ISMAIL LAACHIR. Premia 14

Chapter 7: Portfolio Theory

Chapter 8: CAPM. 1. Single Index Model. 2. Adding a Riskless Asset. 3. The Capital Market Line 4. CAPM. 5. The One-Fund Theorem

Predictive Model Learning of Stochastic Simulations. John Hegstrom, FSA, MAAA

Calibration of Interest Rates

Extended Libor Models and Their Calibration

Tangent Lévy Models. Sergey Nadtochiy (joint work with René Carmona) Oxford-Man Institute of Quantitative Finance University of Oxford.

Jaime Frade Dr. Niu Interest rate modeling

A new approach for scenario generation in risk management

Interest Rate Curves Calibration with Monte-Carlo Simulatio

The Multinomial Logit Model Revisited: A Semiparametric Approach in Discrete Choice Analysis

Interest Rate Basis Curve Construction and Bootstrapping Guide

Financial Giffen Goods: Examples and Counterexamples

Polynomial processes in stochastic portofolio theory

PhD Qualifier Examination

Consistent estimators for multilevel generalised linear models using an iterated bootstrap

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay. Solutions to Final Exam

Model Calibration with Artificial Neural Networks

RISKMETRICS. Dr Philip Symes

Introduction to Financial Mathematics

A Comparative Study of Ensemble-based Forecasting Models for Stock Index Prediction

Extend the ideas of Kan and Zhou paper on Optimal Portfolio Construction under parameter uncertainty

1. You are given the following information about a stationary AR(2) model:

Market interest-rate models

Consistent Calibration of HJM Models to Cap Implied Volatilities

GPD-POT and GEV block maxima

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2009, Mr. Ruey S. Tsay. Solutions to Final Exam

dt+ ρσ 2 1 ρ2 σ 2 κ i and that A is a rather lengthy expression that we may or may not need. (Brigo & Mercurio Lemma Thm , p. 135.

Monte-Carlo Pricing under a Hybrid Local Volatility model

Heinz W. Engl. Industrial Mathematics Institute Johannes Kepler Universität Linz, Austria

Bloomberg. Portfolio Value-at-Risk. Sridhar Gollamudi & Bryan Weber. September 22, Version 1.0

Optimal Search for Parameters in Monte Carlo Simulation for Derivative Pricing

dt + ρσ 2 1 ρ2 σ 2 B i (τ) = 1 e κ iτ κ i

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2010, Mr. Ruey S. Tsay Solutions to Final Exam

Hedging derivatives under market frictions using deep learning techniques

Artificially Intelligent Forecasting of Stock Market Indexes

Graduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay. Solutions to Final Exam

The Markowitz framework

Lecture 7: Bayesian approach to MAB - Gittins index

European call option with inflation-linked strike

A Structural Model for Interconnected Electricity Markets

k-layer neural networks: High capacity scoring functions + tips on how to train them

Laplace approximation

Statistical and Computational Inverse Problems with Applications Part 5B: Electrical impedance tomography

Yao s Minimax Principle

SOCIETY OF ACTUARIES Quantitative Finance and Investments Exam QFI ADV MORNING SESSION. Date: Thursday, October 31, 2013 Time: 8:30 a.m. 11:45 a.m.

Advances in Valuation Adjustments. Topquants Autumn 2015

ECONOMIA DEGLI INTERMEDIARI FINANZIARI AVANZATA MODULO ASSET MANAGEMENT LECTURE 6

Abstract Making good predictions for stock prices is an important task for the financial industry. The way these predictions are carried out is often

3.4 Copula approach for modeling default dependency. Two aspects of modeling the default times of several obligors

International Journal of Computer Engineering and Applications, Volume XII, Issue II, Feb. 18, ISSN

Fast Convergence of Regress-later Series Estimators

Oracle Financial Services Market Risk User Guide

MS-E2114 Investment Science Lecture 5: Mean-variance portfolio theory

Handbook of Financial Risk Management

Resolution of a Financial Puzzle

STAT 509: Statistics for Engineers Dr. Dewei Wang. Copyright 2014 John Wiley & Sons, Inc. All rights reserved.

Valuing volatility and variance swaps for a non-gaussian Ornstein-Uhlenbeck stochastic volatility model

The Use of Artificial Neural Network for Forecasting of FTSE Bursa Malaysia KLCI Stock Price Index

2.1 Random variable, density function, enumerative density function and distribution function

Predicting Economic Recession using Data Mining Techniques

P2.T5. Tuckman Chapter 9. Bionic Turtle FRM Video Tutorials. By: David Harper CFA, FRM, CIPM

International Journal of Computer Engineering and Applications, Volume XII, Issue II, Feb. 18, ISSN

Comprehensive Exam. August 19, 2013

Black-Litterman Model

Log-Robust Portfolio Management

FX Smile Modelling. 9 September September 9, 2008

Proxy Function Fitting: Some Implementation Topics

IMPLEMENTING THE SPECTRAL CALIBRATION OF EXPONENTIAL LÉVY MODELS

Mean-Variance Portfolio Theory

Market Risk Analysis Volume II. Practical Financial Econometrics

John Hull, Risk Management and Financial Institutions, 4th Edition

Impact of negative rates on pricing models. Veronica Malafaia ING Bank - FI/FM Quants, Credit & Trading Risk Amsterdam, 18 th November 2015

Lecture on Interest Rates

Estimation of dynamic term structure models

Chapter 3 Common Families of Distributions. Definition 3.4.1: A family of pmfs or pdfs is called exponential family if it can be expressed as

Multi-dimensional Term Structure Models

Extended Libor Models and Their Calibration

A THREE-FACTOR CONVERGENCE MODEL OF INTEREST RATES

Optimizing Portfolios

Practical example of an Economic Scenario Generator

Practice Exam 1. Loss Amount Number of Losses

Stock Price and Index Forecasting by Arbitrage Pricing Theory-Based Gaussian TFA Learning

PhD Qualifier Examination

Interest Rate Bermudan Swaption Valuation and Risk

1. For two independent lives now age 30 and 34, you are given:

Estimating Term Structure of U.S. Treasury Securities: An Interpolation Approach

Application of Deep Learning to Algorithmic Trading

Machine Learning for Quantitative Finance

ESG Yield Curve Calibration. User Guide

Stochastic modelling of term structure of interest rates, realistic with no arbitrage

Comparing neural networks with other predictive models in artificial stock market

Measuring DAX Market Risk: A Neural Network Volatility Mixture Approach

Transcription:

Bayesian Finance Christa Cuchiero, Irene Klein, Josef Teichmann Obergurgl 2017 C. Cuchiero, I. Klein, and J. Teichmann Bayesian Finance Obergurgl 2017 1 / 23

1 Calibrating a Bayesian model: a first trial 1 / 22

Calibration problem: Bayesian models tend to be highly parametrized. Ad-hoc choice of support of the prior Θ. Optimizing over different supports would possibly lead to an unfeasible optimization problem by classical methods. 2 / 22

Calibration by Machine learning following Andres Hernandez We shall provide a brief overview of a procedure introduced by Andres Hernandez (2016) as seen from the point of view of Team 3 s team challenge project 2017 at UCT: Algorithm suggested by A. Hernandez Getting the historical price data. Calibrating the model, a single factor Hull-White extended Vasiček model to obtain a time series of (typical) model parameters, here the yield curve, the rate of mean reversion α, and the short rate s volatility σ. Pre-process data and generate new combinations of parameters. With a new large training data set of (prices,parameters) a neural network is trained. The neural network is tested on out-of-sample data. 3 / 22

The data set The collected historical data are ATM volatility quotes for GBP from January 2nd, 2013 to June 1st, 2016. The option maturities are 1 to 10 years, 15 years and 20 years. The swap terms from 1 to 10 years, plus 15, 20 and 25 years. The yield curve is given 44 points, i.e. it is discretely sampled on 0, 1, 2, 7, 14 days; 1 to 24 months; 3-10 years; plus 12, 15, 20, 25, 30, 40 and 50 years. Interpolation is done by Cubic splines if necessary. 4 / 22

Classical calibration a la QL Historical parameters a Levenberg-Marquardt local optimizer is first applied to minimize the equally-weighted average of squared yield or IV differences. calibration is done twice, with different starting points: at first, α = 0.1 and σ = 0.01 are the default choice second the calibrated parameters from the previous day (using the default starting point) are used for the second stage of classical calibration. 5 / 22

Calibration results along time series The re-calibration problem gets visible... and it is indeed a feasible procedure. Figure: Calibration using default starting point 6 / 22

How do neural networks enter calibration? Universal approximation of calibration functionals Neural networks are often used to approximate functions due to the universal approximation property. We approximate the calibration functional (yields,prices) (parameters) which maps (yields, prices) to optimal model parameters by a neural network. 7 / 22

Neural Networks : Training Set Generation With the calibration history A. Hernandez proceeds by generating the training set obtain errors for each calibration instrument for each day, take logarithms of of positive parameters, and rescale parameters, yield curves, and errors to have zero mean and variance 1, apply a principal component analysis and an appropriate amount of the first modes, generate random normally distributed vectors consistent with given covariance, apply inverse transformations, i.e. rescale to original mean, variance and exponentiate, apply random errors to results. 8 / 22

Neural Networks: Training the network With a sample set of 150 thousand training data points, A. Hernandez suggests to train a feed-forward neural network. The architecture is chosen feed-forward with 4 hidden layers, each layer with 64 neurons using an ELU (Exponential Linear Unit) 9 / 22

Neural Networks: testing the trained network two neural networks were trained using a sample set produced where the covariance matrix was estimated based on 40% of historical data. the second sample set used 73% of historical data. for training, the sample set was split into 80% training set and 20% cross-validation. the testing was done with the historical data itself (i.e. a backtesting procedure was used to check the accuracy of the data). 10 / 22

Results of A. Hernandez The following graphs illustrate the results. Average volatility error here just means 156 n=1 impvol mkt impvol model (1) 156 Figure: Correlation up to June 2014 11 / 22

Figure: Correlation up to June 2015 12 / 22

Figure: Correlation up to June 2014 13 / 22

Figure: Correlation up to June 2015 14 / 22

Towards a Bayesian model Consider the Hull-White extended Vasiček models (on a space (Ω, F, (G t ) t 0, P)): dr (1) t = (β 1 (t) α 1 r (1) t ) dt + σ 1 dw t, dr (2) t = (β 2 (t) α 2 r (2) t ) dt + σ 2 dw t. We assume that r is is a mixture of these two models with constant probability π [0, 1], i.e. ( ) ( ) P(r t x) = πp r (1) t x + (1 π)p r (2) t x. Of course the observation filtration generated by daily ATM swaption prices and a daily yield curve is smaller than the filtration G, hence the theory of the first part applies. 15 / 22

Bayesian model: setup We still have the same set-up (in terms of data): N = 156 + 44 = 200 input prices (swaptions + yield curve) n = 44 + 4 + 1 = 49 parameters to estimate. These are α 1, α 2, σ 1, σ 2, π and β 1 (t) (or, equivalently, β 2 (t)) at 44 maturities. Hence, the calibration function is now Θ : R 200 R 49, SWO 1 SWO 2... yield(0) yield(1)... α 1 α 2 σ 1 σ 2 π β 1 (0) β 1 (1)... 16 / 22

Bayesian model: training We generated a new training set and trained, tested another neural network with a similar architecture: the quality of the new calibration is the same as the QuantLib calibration and better than previous ML results, in particular out of sample. 17 / 22

Mixture Model: α 1 18 / 22

Mixture Model: σ 1 19 / 22

Mixture Model: π 20 / 22

Conclusion Machine Learning for calibration of Bayesian models works, even where classical calibration would have difficulties. Improvements in parameter stability through a Bayesian model. Proof of concept that a combined Bayesian-updating, ML calibration approach is feasible and might lead to very stable modelling approaches. 21 / 22

References C. Cuchiero, I. Klein, and J. Teichmann: A fundamental theorem of asset pricing for continuous time large financial markets in a two filtration setting, Arxiv, 2017. A. Hernandez: Model Calibration with Neural Networks, SSRN, 2016. C. Cuchiero, A. Marr, M. Mavuso, N. Mitoulis, A. Singh, and J. Teichmann: Calibration with neural networks, report on the FMTC 2017, working paper, 2017. 22 / 22