Slides for Risk Management

Similar documents
Risk management. Introduction to the modeling of assets. Christian Groll

Slides for Risk Management Credit Risk

Chapter 2 Uncertainty Analysis and Sampling Techniques

Random Variables Handout. Xavier Vilà

UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions.

ELEMENTS OF MONTE CARLO SIMULATION

Basic Data Analysis. Stephen Turnbull Business Administration and Public Policy Lecture 4: May 2, Abstract

II. Random Variables

IEOR E4602: Quantitative Risk Management

Chapter 4 Continuous Random Variables and Probability Distributions

Advanced Topics in Derivative Pricing Models. Topic 4 - Variance products and volatility derivatives

Chapter 4 Continuous Random Variables and Probability Distributions

Random Variables and Probability Distributions

Calculating VaR. There are several approaches for calculating the Value at Risk figure. The most popular are the

Risk management. VaR and Expected Shortfall. Christian Groll. VaR and Expected Shortfall Risk management Christian Groll 1 / 56

Basic notions of probability theory: continuous probability distributions. Piero Baraldi

Expected Value and Variance

Stochastic Differential Equations in Finance and Monte Carlo Simulations

NEWCASTLE UNIVERSITY SCHOOL OF MATHEMATICS, STATISTICS & PHYSICS SEMESTER 1 SPECIMEN 2 MAS3904. Stochastic Financial Modelling. Time allowed: 2 hours

Numerical schemes for SDEs

Chapter 4: Commonly Used Distributions. Statistics for Engineers and Scientists Fourth Edition William Navidi

Introduction to Probability Theory and Stochastic Processes for Finance Lecture Notes

2011 Pearson Education, Inc

Chapter 7 1. Random Variables

Business Statistics 41000: Probability 3

درس هفتم یادگیري ماشین. (Machine Learning) دانشگاه فردوسی مشهد دانشکده مهندسی رضا منصفی

Strategies for Improving the Efficiency of Monte-Carlo Methods

EE266 Homework 5 Solutions

Describing Uncertain Variables

CPSC 540: Machine Learning

Lattice Model of System Evolution. Outline

Continuous random variables

SYSM 6304 Risk and Decision Analysis Lecture 2: Fitting Distributions to Data

CE 513: STATISTICAL METHODS

Case Study: Heavy-Tailed Distribution and Reinsurance Rate-making

MATH3075/3975 FINANCIAL MATHEMATICS TUTORIAL PROBLEMS

Discrete Random Variables and Probability Distributions. Stat 4570/5570 Based on Devore s book (Ed 8)

EVA Tutorial #1 BLOCK MAXIMA APPROACH IN HYDROLOGIC/CLIMATE APPLICATIONS. Rick Katz

Financial Time Series and Their Characteristics

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

Dependence Modeling and Credit Risk

Deriving the Black-Scholes Equation and Basic Mathematical Finance

PIVOTAL QUANTILE ESTIMATES IN VAR CALCULATIONS. Peter Schaller, Bank Austria Creditanstalt (BA-CA) Wien,

Statistics 431 Spring 2007 P. Shaman. Preliminaries

The Two-Sample Independent Sample t Test

Definition 9.1 A point estimate is any function T (X 1,..., X n ) of a random sample. We often write an estimator of the parameter θ as ˆθ.

Valuation of performance-dependent options in a Black- Scholes framework

INDIAN INSTITUTE OF SCIENCE STOCHASTIC HYDROLOGY. Lecture -5 Course Instructor : Prof. P. P. MUJUMDAR Department of Civil Engg., IISc.

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

Statistics & Flood Frequency Chapter 3. Dr. Philip B. Bedient

IEOR E4703: Monte-Carlo Simulation

Reading: You should read Hull chapter 12 and perhaps the very first part of chapter 13.

2.1 Mathematical Basis: Risk-Neutral Pricing

The mean-variance portfolio choice framework and its generalizations

CPSC 540: Machine Learning

Commonly Used Distributions

Importance Sampling for Option Pricing. Steven R. Dunbar. Put Options. Monte Carlo Method. Importance. Sampling. Examples.

Homework Assignments

Financial Risk Forecasting Chapter 9 Extreme Value Theory

IEOR 3106: Introduction to OR: Stochastic Models. Fall 2013, Professor Whitt. Class Lecture Notes: Tuesday, September 10.

CHAPTER 5. Introduction to Risk, Return, and the Historical Record INVESTMENTS BODIE, KANE, MARCUS

ECON 214 Elements of Statistics for Economists 2016/2017

Discounting a mean reverting cash flow

Dr. Maddah ENMG 625 Financial Eng g II 10/16/06

All Investors are Risk-averse Expected Utility Maximizers. Carole Bernard (UW), Jit Seng Chen (GGY) and Steven Vanduffel (Vrije Universiteit Brussel)

Chapter 5 Univariate time-series analysis. () Chapter 5 Univariate time-series analysis 1 / 29

Math 416/516: Stochastic Simulation

Math489/889 Stochastic Processes and Advanced Mathematical Finance Homework 5

Lecture Note 8 of Bus 41202, Spring 2017: Stochastic Diffusion Equation & Option Pricing

16 MAKING SIMPLE DECISIONS

Financial Engineering. Craig Pirrong Spring, 2006

Point Estimation. Stat 4570/5570 Material from Devore s book (Ed 8), and Cengage

Value at Risk, Expected Shortfall, and Marginal Risk Contribution, in: Szego, G. (ed.): Risk Measures for the 21st Century, p , Wiley 2004.

6. Continous Distributions

Stratified Sampling in Monte Carlo Simulation: Motivation, Design, and Sampling Error

Version A. Problem 1. Let X be the continuous random variable defined by the following pdf: 1 x/2 when 0 x 2, f(x) = 0 otherwise.

Probability Theory. Probability and Statistics for Data Science CSE594 - Spring 2016

Simulation Wrap-up, Statistics COS 323

10. Monte Carlo Methods

Martingales. by D. Cox December 2, 2009

From Discrete Time to Continuous Time Modeling

MATH 5510 Mathematical Models of Financial Derivatives. Topic 1 Risk neutral pricing principles under single-period securities models

Modelling Returns: the CER and the CAPM

The Vasicek Distribution

1 Geometric Brownian motion

INDIAN INSTITUTE OF SCIENCE STOCHASTIC HYDROLOGY. Lecture -26 Course Instructor : Prof. P. P. MUJUMDAR Department of Civil Engg., IISc.

Department of Mathematics. Mathematics of Financial Derivatives

Correlation: Its Role in Portfolio Performance and TSR Payout

Market Risk: FROM VALUE AT RISK TO STRESS TESTING. Agenda. Agenda (Cont.) Traditional Measures of Market Risk

An Approach for Comparison of Methodologies for Estimation of the Financial Risk of a Bond, Using the Bootstrapping Method

Week 1 Quantitative Analysis of Financial Markets Basic Statistics A

Monte Carlo Simulation of Stochastic Processes

Risk Neutral Valuation

Random variables. Contents

CHAPTER 5. Introduction to Risk, Return, and the Historical Record INVESTMENTS BODIE, KANE, MARCUS. McGraw-Hill/Irwin

1.1 Interest rates Time value of money

Gamma. The finite-difference formula for gamma is

Statistics for Business and Economics

CH 5 Normal Probability Distributions Properties of the Normal Distribution

Introduction Random Walk One-Period Option Pricing Binomial Option Pricing Nice Math. Binomial Models. Christopher Ting.

Transcription:

Slides for Risk Management Introduction to the modeling of assets Groll Seminar für Finanzökonometrie Prof. Mittnik, PhD Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 1 / 100

1 Interest rates and returns Fixed-income assets Speculative assets 2 Probability theory Probability space and random variables Information reduction Updating information Functions of random variables Monte Carlo Simulation Measures under transformation Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 2 / 100

Interest rates and returns two broad types of investments: fixed-income assets payments are known in advance only risk is risk of losses due to the failure of a counterparty to fulfill its contractual obligations: called credit risk speculative assets characterized by random price movements modelled in a stochastic framework using random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 3 / 100

Interest rates and returns Interest and Compounding Fixed-income assets Example given an interest rate of r per period and initial wealth W t, the wealth one period ahead is calculated as W t+1 = W t (1 + r) r = 0.05 (annual rate), W 0 = 500.000, after one year: ( 500.000 1 + 5 ) = 500.000 (1 + 0.05) = 525.000 100 compound interest in general: W T (r, W 0 ) = W 0 (1 + r) T Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 4 / 100

Interest rates and returns Compounding at higher frequency Fixed-income assets compounding can occur more frequently than at annual intervals m times per year: W m,t (r) denotes wealth in t for W 0 = 1 biannually after six months: after one year: W 2,1 (r) = ( W 2, 1 (r) = 1 + r ) 2 2 ( 1 + r ) ( 1 + r ) ( = 1 + r ) 2 2 2 2 the effective annual rate exceeds the simple annual rate: ( 1 + r 2) 2 > (1 + r) W2,1 (r) > W 1,1 (r) Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 5 / 100

Effective annual rate Interest rates and returns Fixed-income assets m interest payments within a year effective annual rate after one year: W m,1 (r) := ( 1 + r ) m m after T years: W m,t (r) = ( 1 + r ) mt m wealth is an increasing function of the interest payment frequency: W m1,t (r) > W m2,t (r), t and m 1 > m 2 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 6 / 100

Interest rates and returns Continuous compounding Fixed-income assets the continuously compounded rate is given by the limit ( W,1 (r) = lim 1 + r ) m = e r m m compounding over T periods leads to ( W,T (r) = lim 1 + r ) mt ( = m m lim m ( 1 + r ) m ) T = e rt m under continous compounding the value of an initial investment of W 0 grows exponentially fast comparatively simple for calculation of interest accrued in between dates of interest payments Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 7 / 100

Interest rates and returns Fixed-income assets Comparison of different interest rate frequencies T m = 1 m = 2 m = 4 1 1030 1030.2 1030.3 1030.5 2 1060.9 1061.4 1061.6 1061.8 3 1092.7 1093.4 1093.8 1094.2 4 1125.5 1126.5 1127 1127.5 5 1159.3 1160.5 1161.2 1161.8 6 1194.1 1195.6 1196.4 1197.2 7 1229.9 1231.8 1232.7 1233.7 8 1266.8 1269 1270.1 1271.2 9 1304.8 1307.3 1308.6 1310 10 1343.9 1346.9 1348.3 1349.9 Table: Development of initial investment W 0 = 1000 over 10 years, subject to different interest rate frequencies, with annual interest rate r = 0.03 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 8 / 100

Interest rates and returns Non-constant interest rates Fixed-income assets for the case of changing annual interest rates, end-of-period wealth of annually compounded interest rates is given by W 1,t = (1 + r 0 ) (1 + r 1 )... (1 + r t 1 ) t 1 = (1 + r i ) i=0 for continuously compounded interest rates, end-of-period wealth is given by ( ( W,t = lim 1 + r ) 0 m ) ( (... lim 1 + r ) t 1 m ) m m m m = e r0 e r1... e r t 1 = e r 0+...+r t 1 = exp ( t 1 ) r i i=0 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 9 / 100

Interest rates and returns Fixed-income assets Regarding continuous compounding Why bother with continuous compounding, as interest rates in the real world are always given at finite frequency? the key to the answer of this question lies in the transformation of the product of returns into a sum as interest rates of fixed-income assets are assumed to be perfectly known, summation instead of multiplication only yields minor advantages in a world of computers however, as soon as payments are uncertain and have to be modelled as random variables, this transformation will make a huge difference Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 10 / 100

Interest rates and returns Returns on speculative assets Speculative assets let P t denote the price of a speculative asset at time t net return during period t: gross return during period t: r t := P t P t 1 P t 1 = P t P t 1 1 R t := (1 + r t ) = P t P t 1 returns calculated this way are called discrete returns returns on speculative assets vary from period to period Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 11 / 100

Interest rates and returns Calculating returns from prices Speculative assets while interest rates of fixed-income assets are usually known prior to the investment, returns of speculative assets have to be calculated after observation of prices discrete case P T = P 0 (1 + r) T T PT P 0 = 1 + r r = T PT P 0 1 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 12 / 100

Interest rates and returns Continuously compounded returns Speculative assets defining the log return, or continuously compounded return, by r log t := ln R t = ln (1 + r t ) = ln P t P t 1 = ln P t ln P t 1 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 13 / 100

Exercise Interest rates and returns Speculative assets Investor A and investor B both made one investment each. While investor A was able to increase his investment sum of 100 to 140 within 3 years, investor B increased his initial wealth of 230 to 340 within 5 years. Which investor did perform better? Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 14 / 100

Exercise: solution Interest rates and returns Speculative assets calculate mean annual interest rate for both investors investor A : P T = P 0 (1 + r) T 140 = 100 (1 + r) 3 3 140 = (1 + r) 100 r A = 0.1187 investor B : ( ) 5 340 r B = 230 1 = 0.0813 hence, investor A has achieved a higher return on his investment Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 15 / 100

Interest rates and returns Speculative assets Exercise: solution for continuous returns for comparison, solution of the exercise with respect to continous returns continuously compounded returns associated with an evolution of prices over a longer time period is given by continuous case P T = P 0 e rt P T P 0 ( ) = e rt PT ( ) ln = ln e rt = rt P 0 r = (ln P T ln P 0 ) T Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 16 / 100

Interest rates and returns Speculative assets Exercise: solution for continuous returns plugging in leads to r A = r B = (ln 140 ln 100) 3 (ln 340 ln 230) 5 = 0.1121 = 0.0782 conclusion: while the case of discrete returns involves calculation of the n-th root, the continuous case is computationally less demanding while continuous returns differ from their discrete counterparts, the ordering of both investors is unchanged keep in mind: so far we only treat returns retrospectively, that is, with given and known realization of prices, where any uncertainty involved in asset price evolutions already has been resolved Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 17 / 100

Aggregating returns Interest rates and returns Speculative assets Example compounded gross return over n + 1 sub-periods: R t,t+n := R t R t+1 R t+2... R t+n = P t P t 1 Pt+1 P t... = P t+n P t 1 P t+n P t+n 1 investment P 0 = 100, net returns in percent [3, 2, 4, 3, 1] : R 0,4 = (1.03) (0.98) (1.04) (1.03) (0.99) = 1.075 P 4 = 100 1.075 = 107.5 R 0,4 = P 4 P 0 = 107.5 100 = 1.075 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 18 / 100

Interest rates and returns Comparing different investments Speculative assets comparison of returns of alternative investment opportunities over different investment horizons requires computation of an average gross return R for each investment, fulfilling: in net returns: solving for r leads to P t R n! = P t R t... R t+n 1 = P t+n P t (1 + r) n! = P t (1 + r t )... (1 + r t+n 1 ) r = ( n 1 i=0 (1 + r t+i )) 1/n 1 the annualized gross return is not an arithmetic mean, but a geometric mean Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 19 / 100

Interest rates and returns Aggregating continuous returns Speculative assets when aggregating log returns instead of discrete returns, we are dealing with a sum rather than a product of sub-period returns: r log t,t+n := ln (1 + r t,t+n) = ln [(1 + r t ) (1 + r t+1 )... (1 + r t+n )] = ln (1 + r t ) + ln (1 + r t+1 ) +... + ln (1 + r t+n ) = r log t + r log t+1 +... + r log t+n Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 20 / 100

Example Interest rates and returns Speculative assets The annualized return of 1.0392 is unequal to the simple arithmetic mean over the randomly generated interest rates of 1.0395! Left: randomly generated returns between 0 and 8 percent, plotted against annualized net return rate. Right: comparison of associated compound interest rates. Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 21 / 100

Example Interest rates and returns Speculative assets two ways to calculate annualized net returns for previously generated random returns: direct way using gross returns, taking 50-th root: r ann t,t+n 1 = ( n 1 i=0 (1 + r t+i )) 1/n 1 = (1.0626 1.0555... 1.0734) 1/50 1 = (6.8269) 1/50 1 = 0.0391 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 22 / 100

Interest rates and returns Speculative assets via log returns transfer the problem to the logarithmic world : convert gross returns to log returns: [1.0626, 1.0555,..., 1.0734] log [0.0607, 0.0540,..., 0.0708] use arithmetic mean to calculate annualized return in the logarithmic world : n 1 r log t,t+n 1 = i=0 r log t+i = (0.0607 + 0.0540 +... + 0.0708) = 1.9226 r log t,t+n 1 = 1 n r log t,t+n 1 = 1 1.9226 = 0.0385 50 convert result back to normal world : r t,t+n 1 ann log = e r t,t+n 1 1 = e 0.0385 1 = 0.0391 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 23 / 100

Example Interest rates and returns Speculative assets Note: given a constant one-period return, the multi-period return increases linearly in the logarithmic world Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 24 / 100

Summary Interest rates and returns Speculative assets multi-period gross returns result from multiplication of one-period returns: hence, exponentially increasing multi-period logarithmic returns result from summation of one-period returns: hence, linearly increasing different calculation of returns from given portfolio values: r t = P ( ) t P t 1 rt log Pt = ln = ln P t ln P t 1 P t P t 1 however, because of ln (1 + x) x discrete net returns and log returns are approximately equal: r log t = ln (R t ) = ln (1 + r t ) r t Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 25 / 100

Interest rates and returns Speculative assets Conclusions for known price evolutions given that prices / returns are already known, with no uncertainty left, continuous returns are computationally more efficient discrete returns can be calculated via a detour to continuous returns as the transformation of discrete to continuous returns does not change the ordering of investments, and as logarithmic returns are still interpretable since they are the limiting case of discrete compounding, why shouldn t we just stick with continous returns overall? however: the main advantage only crops up in a setting of uncertain future returns, and their modelling as random variables! Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 26 / 100

Interest rates and returns Speculative assets Outlook: returns under uncertainty central limit theorem could justify modelling logarithmic returns as normally distributed, since returns can be decomposed into summation over returns of lower frequency: e.g. annual returns are the sum of 12 monthly returns, 52 weakly returns, 365 daily returns,... independent of the distribution of low frequency returns, the central limit theorem states that any sum of these low frequency returns follows a normal distribution, provided that the sum involves sufficiently many summands, and the following requirements are fulfilled: the low frequency returns are independent of each other the distribution of the low frequency returns allows finite second moments (variance) Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 27 / 100

Interest rates and returns Speculative assets Outlook: returns under uncertainty this reasoning does not apply to net / gross returns, since they can not be decomposed into a sum of lower frequency returns keep in mind: these are only hypothetical considerations, since we have not seen any real world data so far! Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 28 / 100

Randomness Probability theory Probability space and random variables Probability theory randomness: the result is not known in advance sample space Ω: set of all possible outcomes or elementary events ω examples for discrete sample space: roulette: Ω 1 = {red,black} performance: Ω 2 = {good,moderate,bad} die: Ω 3 = {1, 2, 3, 4, 5, 6} examples for continuous sample space: temperature: Ω 4 = [ 40, 50] log-returns: Ω 5 =], [ Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 29 / 100

Events Probability theory Probability space and random variables a subset A Ω consisting of more than one elementary event ω is called event examples at least moderate performance : A = {good,moderate} Ω 2 even number : A = {2, 4, 6} Ω 3 warmer than 10 degrees : A =]10, [ Ω 4 the set of all events of Ω is called event space F usually it contains all possible subsets of Ω: it is the power set of P (Ω) Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 30 / 100

Events Probability theory Probability space and random variables event space example P (Ω 2 ) = {Ω, {}} {good} {moderate} {bad} {good,moderate} {good,bad} {moderate,bad} example {} denotes the empty set an event A is said to occur if any ω A occurs If the performance happens to be ω = {good}, then also the event A = at least moderate performance has occured, since ω A. Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 31 / 100

Probability measure Probability theory Probability space and random variables probability measure quantifies for each event a probability of occurance real-valued set function P : F R, with P (A) denoting the probability of A, and properties 1 P (A) > 0 for all A Ω 2 P (Ω) = 1 3 For each finite or countably infinite collection of disjoint events (A i ) it holds: P ( i I A i ) = P (A i ) i I Definition The 3-tuple {Ω, F, P} is called probability space. Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 32 / 100

Random variable Probability theory Probability space and random variables instead of outcome ω itself, usually a mapping or function of ω is in the focus: when playing roulette, instead of outcome red it is more useful to consider associated gain or loss of a bet on color conversion of categoral outcomes to real numbers allows for further measurements / information extraction: expectation, dispersion,... Definition Let {Ω, F, P} be a probability space. If X : Ω R is a real-valued function with the elements of Ω as its domain, then X is called random variable. a discrete random variable consists of a countable number of elements, while a continuous random variable can take any real value in a given interval Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 33 / 100

Example Probability theory Probability space and random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 34 / 100

Density function Probability theory Probability space and random variables a probability density function determines the probability (possibly 0) for each event discrete density function For each x i X (Ω) = {x i x i = X (ω), ω Ω}, the function f (x i ) = P (X = x i ) assigns a value corresponding to the probability. continuous density function In contrast, the values of a continuous density function f (x), x {x x = X (ω), ω Ω} are not probabilities itself. However, they shed light on the relative probabilities of occurrence. Given f (y) = 2 f (z), the occurrence of y is twice as probable as the occurrence of z. Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 35 / 100

Example Probability theory Probability space and random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 36 / 100

Probability theory Cumulative distribution function Probability space and random variables Definition The cumulative distribution function (cdf) of random variable X, denoted by F (x), indicates the probability that X assumes a value that is lower than or equal to x, where x is any real number. That is F (x) = P (X x), < x <. a cdf has the following properties: 1 F (x) is a nondecreasing function of x; 2 lim x F (x) = 1; 3 lim x F (x) = 0. furthermore: P (a < X b) = F (b) F (a), for all b > a Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 37 / 100

Probability theory Interrelation pdf and cdf Probability space and random variables Discrete case: F (x) = P (X x) = x i x P (X = x i ) Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 38 / 100

Probability theory Interrelation pdf and cdf Probability space and random variables Continuous case: F (x) = P (X x) = ˆ x f (u) du Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 39 / 100

Modelling information Probability theory Information reduction both cdf as well as pdf, which is the derivative of the cdf, provide complete information about the distribution of the random variable may not always be necessary / possible to have complete distribution incomplete information modelled via event space F Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 40 / 100

Example Probability theory Information reduction sample space given by Ω = {1, 3, 5, 6, 7} modelling complete information about possible realizations: P (Ω) = {1} {3} {5} {6} {7} {1, 3} {1, 5}... {6, 7} {1, 3, 5}... {5, 6, 7} {1, 3, 5, 6}... {3, 5, 6, 7} {Ω, {}} example of event space representing incomplete information could be F = {{1, 3}, {5}, {6, 7}} {{1, 3, 5}, {1, 3, 6, 7}, {5, 6, 7}} {Ω, {}} given only incomplete information, originally distinct distributions can become indistinguishable Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 41 / 100

Probability theory Information reduction discrete Information reduction Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 42 / 100

Probability theory Information reduction discrete Information reduction Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 43 / 100

Probability theory Information reduction continuous Information reduction Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 44 / 100

Probability theory Measures of random variables Information reduction complete distribution may not always be necessary classification with respect to several measures can be sufficient: probability of negative / positive return return on average worst case compress information of complete distribution for better comparability with other distributions compressed information is easier to interpret example: knowing central location together with an idea by how much X may fluctuate around the center may be sufficient measures of location and dispersion given only incomplete information conveyed by measures, distinct distributions can become indistinguishable Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 45 / 100

Expectation Probability theory Information reduction The expectation, or mean, is defined as a weighted average of all possible realizations of a random variable. discrete random variables The expected value E [X ] is defined as E [X ] = µ X = N x i P (X = x i ). i=1 continuous random variables For a continuous random variable with density function f (x) : E [X ] = µ X = ˆ xf (x) dx Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 46 / 100

Example Probability theory Information reduction 5 E [X ] = x i P (X = x i ) i=1 = 1 0.1 + 3 0.2 + 5 0.6 + 6 0.06 + 7 0.04 = 4.34 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 47 / 100

Example Probability theory Information reduction E [X ] = 2 0.1 1 0.2 + 7 0.6 + 8 0.06 + 9 0.0067 = 4.34 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 48 / 100

Variance Probability theory Information reduction The variance provides a measure of dispersion around the mean. discrete random variables The variance is defined by N V [X ] = σx 2 = (X i µ X ) 2 P (X = x i ), where σ X = V [X ] denotes the standard deviation of X. continuous random variables For continuous variables, the variance is defined by i=1 ˆ V [X ] = σx 2 = (x µ X ) 2 f (x) dx Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 49 / 100

Example 5 V [X ] = (x i µ) 2 P (X = x i ) i=1 = 3.34 2 0.1 + 1.34 2 0.2 + 0.66 2 0.6 + 1.66 2 0.06 + 2.66 2 0.04 = 2.1844 14.913

Quantiles Probability theory Information reduction Quantile Let X be a random variable with cumulative distribution function F. For each p (0, 1), the p-quantile is defined as F 1 (p) = inf {x F (x) p}. measure of location divides distribution in two parts, with exactly p 100 percent of the probability mass of the distribution to the left in the continuous case: random draws from the given distribution F would fall p 100 percent of the time below the p-quantile for discrete distributions, the probability mass on the left has to be at least p 100 percent: F ( F 1 (p) ) = P ( X F 1 (p) ) p Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 51 / 100

Example Probability theory Information reduction Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 52 / 100

Example: cdf Probability theory Information reduction Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 53 / 100

Example Probability theory Information reduction Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 54 / 100

Example Probability theory Information reduction Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 55 / 100

Probability theory Information reduction / updating Information reduction summary: information reduction incomplete information can occur in two ways: a coarse filtration only values of some measures of the underlying distribution are known (mean, dispersion, quantiles) any reduction of information implicitly induces that some formerly distinguishable distributions are undistinguishable on the basis of the limited information tradeoff: reducing information for better comprehensibility / comparability, or keeping as much information as possible opposite direction: updating information on the basis of new arriving information concept of conditional probability Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 56 / 100

Example Probability theory Updating information with knowledge of the underlying distribution, the information has to be updated, given that the occurrence of some event of the filtration is known Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 57 / 100

Conditional density Probability theory Updating information normal distribution with mean 2 incorporating the knowledge of a realization greater than the mean Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 58 / 100

Conditional density Probability theory Updating information given the knowledge of a realization higher than 2, probabilities of values below become zero Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 59 / 100

Conditional density Probability theory Updating information without changing relative proportions, the density has to be rescaled in order to enclose an area of 1 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 60 / 100

Conditional density Probability theory Updating information original density function compared to updated conditional density Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 61 / 100

Decompose density Probability theory Updating information Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 62 / 100

Decompose density Probability theory Updating information Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 63 / 100

Decompose density Probability theory Updating information Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 64 / 100

Decompose density Probability theory Updating information Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 65 / 100

Probability theory Functions of random variables Functions of random variables: example Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 66 / 100

Probability theory Functions of random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 67 / 100

Probability theory Functions of random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 68 / 100

Probability theory Functions of random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 69 / 100

Probability theory Functions of random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 70 / 100

Example: call option Probability theory Functions of random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 71 / 100

Probability theory Functions of random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 72 / 100

Probability theory Functions of random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 73 / 100

Probability theory Functions of random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 74 / 100

Probability theory Functions of random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 75 / 100

Analytical formula Probability theory Functions of random variables transformation theorem Let X be a random variable with density function f (x), and g (x) be an invertible bijective function. Then the density function of the transformed random variable Y = g (X ) in any point z is given by ( f Y (z) = f X g 1 (z) ) ( g 1) (z). problems: given that we can calculate a measure ϱ X of the random variable X, it is not ensured that ϱ Y can be calculated for the new random variable Y, too: e.g. if ϱ envolves integration what about non-invertible functions? Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 76 / 100

Probability theory Functions of random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 77 / 100

Probability theory Functions of random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 78 / 100

Probability theory Functions of random variables Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 79 / 100

Analytical solution Probability theory Functions of random variables Traditional financial modelling assumes logarithmic returns to be distributed according to a normal distribution, so that, for example, 100 r log is modelled by R log := 100 r log N (1, 1). given a percentage logarithmic return R log, the net return we observe in the real world can be calculated as a function of R log by r = e Rlog /100 1 hence, the associated distribution of the net return has to be calculated according to the transformation theorem: ( f r (z) = f R log g 1 (z) ) ( g 1) (z) with transformation function g (x) = e x/100 1 calculate each part Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 80 / 100

Probability theory Functions of random variables calculation of g 1 : x = e y/100 1 x + 1 = e y/100 log (x + 1) = y/100 100 log (x + 1) = y calculation of the derivative ( g 1) of the inverse of g 1 : (100 log (x + 1)) = 100 1 x + 1 plugging in leads to: f r (z) = f R log (100 log (z + 1)) 100 z + 1 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 81 / 100

Probability theory Functions of random variables although only visable under some magnification, there is a difference between a normal distribution which is directly fitted to the net returns and the distribution which arises for the net returns by fitting a normal distribution to the logarithmic returns Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 82 / 100

Comparison of tails Probability theory Functions of random variables magnification of the tail behavior shows that the resulting distribution from fitting a normal distribution to the logarithmic returns assigns more probability to extreme negative returns as well as less probability to extreme positive returns Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 83 / 100

Probability theory Monte Carlo Simulation example: application of an inverse normal cumulative distribution as transformation function to a uniformly distributed random variable Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 84 / 100

Monte Carlo Simulation Probability theory Monte Carlo Simulation the resulting density function of the transformed random variable seems to resemble a normal distribution Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 85 / 100

Monte Carlo Simulation Probability theory Monte Carlo Simulation a more detailed comparison shows: the resulting approximation has the shape of the normal distribution with the exact same parameters that have been used for the inverse cdf as transformation function Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 86 / 100

Monte Carlo Simulation Probability theory Monte Carlo Simulation Proposition Let X be a univariate random variable with distribution function F X. Let be the quantile function of F X, i.e. F 1 X F 1 X (p) = inf {x F X (x) p}, p (0, 1). Then for any standard-uniformly distributed U U [0, 1] we have F 1 X (U) F X. This gives a simple method for simulating random variables with arbitrary distribution function F. Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 87 / 100

Proof Probability theory Monte Carlo Simulation Proof. Let X be a continuous random variable with cumulative distribution function F X, and let Y denote the transformed random variable Y := F 1 X (U). Then F Y (x) = P (Y x) = P ( F 1 X (U) x) = P (U F X (x)) = F X (x) so that Y has the same distribution function as X. Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 88 / 100

Probability theory Linear transformation functions Measures under transformation a one-dimensional linear transformation function is given by g (x) = ax + b examples of linear functions: Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 89 / 100

Effect on measures Probability theory Measures under transformation determine effects of linear transformation on measures derived from the distribution function example: given X N (2, 4), calculate mean and variance of Y := g (X ) = 3X 2 via Monte Carlo Simulation simulate 10,000 uniformly distributed random numbers transform uniformly distributed numbers via inverse of N (2, 4) into N (2, 4)-distributed random numbers apply linear function g (x) = 3x 2 on each number calculate sample mean and sample variance Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 90 / 100

Probability theory Matlab code Measures under transformation 1 U = rand (10000,1) ; 2 returns = norminv (U,2,2) ; 3 transformedreturns = 3* returns -2; 4 samplemean = mean ( transformedreturns ); 5 samplevariance = var ( transformedreturns ); Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 91 / 100

Solution Probability theory Measures under transformation ˆµ = 4.0253, ˆσ 2 = 36.1843 ˆσ = 6.0153 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 91 / 100

Probability theory Analytical solution: general case Measures under transformation calculate inverse g 1 : x = ay + b x b = ay x a b a = y calculate derivative ( g 1) : ( x a b ) = 1 a a putting together gives: ( f g(x ) (z) = f X g 1 (z) ) ( g 1) ( z = fx a b ) 1 a a interpretation: stretching by factor a, shifting b units to the right Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 92 / 100

Effect on expectation Probability theory Measures under transformation stretching and shifting the distribution also directly translates into the formula for the expectation of a linearly transformed random variable Y := ax + b: E [Y ] = E [ax + b] = ae [X ] + b possible application: given expectation E [X ] of stock return, find expected wealth when investing initial wealth W 0 and subtracting the fixed transaction costs c hence, focus on linearly transformed random variable E [Y ] = E [W 0 X c], calculated by W 0 E [X ] c Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 93 / 100

Effect on variance Probability theory Measures under transformation using the formula for the expectation, the effect of a linear transformation on the variance V [Y ] = E [(Y E [Y ]) 2] of the random variable can be calculated by V [ax + b] = E [(ax + b E [ax + b]) 2] = E [(ax + b ae [X ] b) 2] = E [(a (X E [X ]) + b b) 2] = a 2 E [(X E [X ]) 2] = a 2 V [X ] Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 94 / 100

Probability theory Measures under transformation note: calculation of mean and variance of a linearly transformed variable neither requires detailed information about the distribution of the original random variable, nor about the distribution of the transformed random variable knowledge of the respective values of the original distribution is sufficient the analytically computated values for expectation and variance of the example amount to E [3X 2] = 3E [X ] 2 = 3 2 2 = 4 V [3X 2] = 3 2 V [X ] = 9 σ 2 X = 9 22 = 36 for non-linear transformations, such simple formulas do not exist most situations require simulation of the transformed random variable and subsequent calculation of the sample value of a given measure Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 95 / 100

Summary / outlook Probability theory Measures under transformation given random variable X of arbitrary distribution F X, associated values E [X ] and V (X ), and a linear transformation Y = f (X ), we can also get E [Y ] and V (X ) very simple modelling practices: taking hypothetical considerations as given, continuous returns are modelled as normally distributed consequences: E [X ] and V (X ) are easily obtainable since discrete real world returns are non-linear transformation of log-returns, E and V are not trivially obtained here Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 96 / 100

Probability theory Measures under transformation 1 U = rand (10000,1) ; % generate uniformly distributed RV 2 t = tinv (U,3) ; % transform to t- distributed values 3 4 % transform to net returns 5 netrets = ( exp (t /100) -1) *100; 6 7 % transform net returns via butterfly option payoff function : 8 payoff = subplus ( netrets +2) -2* subplus ( netrets )+ subplus ( netrets -2) ; 9 10 % calculate 95 percent quantile : 11 value = quantile ( payoff,0.95) Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 97 / 100

Example Probability theory Measures under transformation Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 97 / 100

Probability theory Measures under transformation Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 98 / 100

Probability theory Measures under transformation payoff profile butterfly option Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 99 / 100

Probability theory Measures under transformation expected payoff approximated via Monte Carlo simulation: 1.9305 Groll (Seminar für Finanzökonometrie) Slides for Risk Management Prof. Mittnik, PhD 100 / 100