Introduction to Computational Finance and Financial Econometrics Probability Theory Review: Part 2

Similar documents
Introduction to Computational Finance and Financial Econometrics Probability Review - Part 2

Econ 424 Review of Matrix Algebra

Introduction to Computational Finance and Financial Econometrics Matrix Algebra Review

Three hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER.

Financial Econometrics and Quantitative Risk Managenent Return Properties

Multiple Random Variables

Introduction to Maximum Likelihood Estimation

Two hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER.

Econ 424 Time Series Concepts

Financial Econometrics and Volatility Models Copulas

Expectations and Variance

Multivariate Random Variable

MFM Practitioner Module: Risk & Asset Allocation. John Dodson. January 25, 2012

f X, Y (x, y)dx (x), where f(x,y) is the joint pdf of X and Y. (x) dx

Asset Pricing. Chapter IX. The Consumption Capital Asset Pricing Model. June 20, 2006

Expectations and Variance

Economics 583: Econometric Theory I A Primer on Asymptotics

Midterm Exam Business Statistics Fall 2001 Russell

Optimal Investment Strategies: A Constrained Optimization Approach

Consistent Bivariate Distribution

Multivariate Distributions

Modern Portfolio Theory with Homogeneous Risk Measures

Robust Optimization: Applications in Portfolio Selection Problems

Lecture 11. Multivariate Normal theory

The Instability of Correlations: Measurement and the Implications for Market Risk

Ch. 12 Linear Bayesian Estimators

Asset Pricing. Chapter V. Risk Aversion and Investment Decisions, Part I. June 20, 2006

Random Vectors. 1 Joint distribution of a random vector. 1 Joint distribution of a random vector

Asymptotic behaviour of multivariate default probabilities and default correlations under stress

Dependence. MFM Practitioner Module: Risk & Asset Allocation. John Dodson. September 11, Dependence. John Dodson. Outline.

Variations. ECE 6540, Lecture 10 Maximum Likelihood Estimation

Solution of the Financial Risk Management Examination

ECE Lecture #10 Overview

Corrections to Theory of Asset Pricing (2008), Pearson, Boston, MA

Chapter 4 Multiple Random Variables

A Measure of Monotonicity of Two Random Variables

Consumption. Consider a consumer with utility. v(c τ )e ρ(τ t) dτ.

Review of Basic Probability Theory

AMS Foundations

Dependence. Practitioner Course: Portfolio Optimization. John Dodson. September 10, Dependence. John Dodson. Outline.

Distribusi Binomial, Poisson, dan Hipergeometrik

Bivariate distributions

Rearrangement Algorithm and Maximum Entropy

Statistics for Economists Lectures 6 & 7. Asrat Temesgen Stockholm University

Econ671 Factor Models: Principal Components

Probability. Table of contents

Physics 403. Segev BenZvi. Propagation of Uncertainties. Department of Physics and Astronomy University of Rochester

May 2013 MLC Solutions

Chapter 5 Class Notes

Financial Econometrics Return Predictability

Review (Probability & Linear Algebra)

Joint probability distributions: Discrete Variables. Two Discrete Random Variables. Example 1. Example 1

Markowitz Efficient Portfolio Frontier as Least-Norm Analytic Solution to Underdetermined Equations

A simple graphical method to explore tail-dependence in stock-return pairs

Better than Dynamic Mean-Variance Policy in Market with ALL Risky Assets

[y i α βx i ] 2 (2) Q = i=1

On the Estimation and Application of Max-Stable Processes

The data can be downloaded as an Excel file under Econ2130 at

First Year Examination Department of Statistics, University of Florida

Intro VEC and BEKK Example Factor Models Cond Var and Cor Application Ref 4. MGARCH

Chapter 5 continued. Chapter 5 sections

IEOR E4703: Monte-Carlo Simulation

Basics on Probability. Jingrui He 09/11/2007

Chapter 5: Joint Probability Distributions

Jointly Distributed Random Variables

Regression: Ordinary Least Squares

Solutions and Proofs: Optimizing Portfolios

STAT 520: Forecasting and Time Series. David B. Hitchcock University of South Carolina Department of Statistics

Notes on Random Variables, Expectations, Probability Densities, and Martingales

Review (probability, linear algebra) CE-717 : Machine Learning Sharif University of Technology

Many phenomena in nature have approximately Normal distributions.

Notes on Recursive Utility. Consider the setting of consumption in infinite time under uncertainty as in

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

Financial Econometrics

Modelling Dependent Credit Risks

Probabilities & Statistics Revision

A Probability Review

Variations. ECE 6540, Lecture 02 Multivariate Random Variables & Linear Algebra

STA 256: Statistics and Probability I

FINM6900 Finance Theory Noisy Rational Expectations Equilibrium for Multiple Risky Assets

ON MEASURING HEDGE FUND RISK

Supermodular ordering of Poisson arrays

Cross-Sectional Regression after Factor Analysis: Two Applications

UNIT Define joint distribution and joint probability density function for the two random variables X and Y.

Numerical Methods with Lévy Processes

Chapter 1. Probability, Random Variables and Expectations. 1.1 Axiomatic Probability

Information Immobility and the Home Bias

Solutions of the Financial Risk Management Examination

Modeling conditional distributions with mixture models: Applications in finance and financial decision-making

Sharp bounds on the VaR for sums of dependent risks

STAT 501 Assignment 1 Name Spring Written Assignment: Due Monday, January 22, in class. Please write your answers on this assignment

Review: mostly probability and some statistics

Chapter 4 continued. Chapter 4 sections

Financial Econometrics Lecture 6: Testing the CAPM model

Information Choice in Macroeconomics and Finance.

7 Multivariate Statistical Models

Statistics 3657 : Moment Approximations

EEL 5544 Noise in Linear Systems Lecture 30. X (s) = E [ e sx] f X (x)e sx dx. Moments can be found from the Laplace transform as

Multivariate Statistics

Transcription:

Introduction to Computational Finance and Financial Econometrics Probability Theory Review: Part 2 Eric Zivot July 7, 2014

Bivariate Probability Distribution Example - Two discrete rv s and Bivariate pdf % 0 1 Pr( ) 0 1/8 0 1/8 1 2/8 1/8 3/8 2 1/8 2/8 3/8 3 0 1/8 1/8 Pr( ) 4/8 4/8 1 ( ) =Pr( = = ) =values in table (0 0) = Pr( =0 =0)= 1 8

Properties of joint pdf ( ) = {(0 0) (0 1) (1 0) (1 1) (2 0) (2 1) (3 0) (3 1)} X ( ) 0 for ( ) =1

Marginal pdfs X ( ) =Pr( = ) = ( ) = sum over columns in joint table X ( ) =Pr( = ) = ( ) = sum over rows in joint table

Conditional Probability Suppose we know =0 Howdoesthisknowledgeaffect the probability that =0 1 2 or 3? The answer involves conditional probability. Example Remark Pr( =0 =0) Pr( =0 =0)= Pr( =0) joint probability = marginal probability = 1 8 4 8 =1 4 Pr( =0 =0)=1 4 6= Pr( =0)=1 8 = depends on The marginal probability, Pr( =0) ignores information about

Definition - Conditional Probability The conditional pdf of given = is, for all ( ) =Pr( = = ) = Pr( = = ) Pr( = ) The conditional pdf of given = is,forallvaluesof ( ) =Pr( = = ) = Pr( = = ) Pr( = )

Conditional Mean and Variance = = [ = ] = = = [ = ] = X Pr( = = ) X Pr( = = ) 2 = 2 = =var( = ) = X ( = ) 2 Pr( = = ) =var( = ) = X ( = ) 2 Pr( = = )

Example: [ ] =0 1 8+1 3 8+2 3 8+3 1 8 =3 2 [ =0]=0 1 4+1 1 2+2 1 4+3 0=1 [ =1]=0 0+1 1 4+2 1 2+3 1 4 =2 var( ) =(0 3 2) 2 1 8+(1 3 2) 2 3 8 +(2 3 2) 2 3 8+(3 3 2) 2 1 8 =3 4 var( =0)=(0 1) 2 1 4+(1 1) 2 1 2 +(2 1) 2 1 2+(3 1) 2 0=1 2 var( =1)=(0 2) 2 0+(1 2) 2 1 4 +(2 2) 2 1 2+(3 2) 2 1 4 =1 2

Independence Let and be discrete rvs with pdfs ( ) ( ) sample spaces and joint pdf ( ) Then and are independent rv s if and only if ( ) = ( ) ( ) for all values of and Result: If and are independent rv s, then ( ) = ( ) for all, Intuition ( ) = ( ) for all, Knowledge of does not influence probabilities associated with Knowledge of does not influence probablities associated with

Bivariate Distributions - Continuous rv s The joint pdf of and is a non-negative function ( ) such that Z Z ( ) =1 Let [ 1 2 ] and [ 1 2 ] be intervals on the real line. Then Pr( 1 2 1 2 ) = Z 2 Z 2 1 1 ( ) = volume under probability surface over the intersection of the intervals [ 1 2 ] and [ 1 2 ]

Marginal and Conditional Distributions The marginal pdf of is found by integrating out of the joint pdf ( ) and the marginal pdf of is found by integrating out of the joint pdf: ( ) = ( ) = Z Z ( ) ( ) The conditional pdf of given that =, denoted ( ) is computed as ( ) ( ) = ( ) and the conditional pdf of given that = is computed as ( ) = ( ) ( )

The conditional means are computed as = = [ = ] = = = [ = ] = Z Z ( ) ( ) and the conditional variances are computed as 2 Z = =var( = ) = ( = ) 2 ( ) 2 Z = =var( = ) = ( = ) 2 ( )

Independence. Let and be continuous random variables. and are independent iff ( ) = ( ) for ( ) = ( ) for Result: Let and be continuous random variables. and are independent iff ( ) = ( ) ( ) The result in the above proposition is extremely useful in practice because it gives us an easy way to compute the joint pdf for two independent random variables: we simple compute the product of the marginal distributions.

Example: Bivariate standard normal distribution Let (0 1), (0 1) and let and be independent. Then ( ) = ( ) ( ) = 1 2 1 2 2 1 2 1 2 2 = 1 2 1 2 ( 2 + 2 ) To find Pr( 1 1 1 1) we must solve Z 1 Z 1 1 1 1 2 1 2 ( 2 + 2 ) which, unfortunately, does not have an analytical solution. Numerical approximation methods are required to evaluate the above integral. See R package mvtnorm.

Covariance and Correlation - Measuring linear dependence between two rv s Covariance: Measures direction but not strength of linear relationship between 2rv s = [( )( )] = X ( )( ) ( ) (discrete) = Z Z ( )( ) ( ) (cts)

Example:ForthedatainTable2,wehave =Cov( )=(0 3 2)(0 1 2) 1 8 +(0 3 2)(1 1 2) 0+ +(3 3 2)(1 1 2) 1 8 =1 4

Properties of Covariance Cov( )=Cov( ) Cov( )= Cov( )= Cov( ) =Var( ) independent = Cov( )=0 Cov( )=0; and are independent Cov( )= [ ] [ ] [ ]

Measures direction and strength of linear relationship be- Correlation: tween 2 rv s =Cor( )= Cov( ) SD( ) SD( ) = = scaled covariance

Example: For the Data in Table 2 =Cor( )= 1 4 q(3 4) (1 2) =0 577

Properties of Correlation 1 1 =1if = + and 0 = 1 if = + and 0 =0if and only if =0 =0; and are independent in general =0 = independence if and are normal

Bivariate normal distribution Let and be distributed bivariate normal. The joint pdf is given by exp 1 2(1 2 ) ( ) = Ã! 2 + 1 q 2 1 2 Ã! 2 2 ( )( ) where [ ] = [ ]= SD( ) = SD( )= and = cor( )

Linear Combination of 2 rv s Let and be rv s. Define a new rv that is a linear combination of and : where and are constants. Then and = + = [ ] = [ + ] = [ ]+ [ ] = + 2 = Var( ) = Var( + ) = 2 Var( )+ 2 Var( )+2 Cov( ) = 2 2 + 2 2 +2 If ( 2 ) and ( 2 ) then ( 2 )

Example: Portfolio returns = return on asset with [ ]= and Var( )= 2 = return on asset with [ ]= and Var( )= 2 Cov( )= and Cor( )= = Portfolio = shareofwealthinvestedinasset = share of wealth invested in asset + =1(exhaust all wealth in 2 assets) = + = portfolio return

Portfolio Problem: How much wealth should be invested in assets and? Portfolio expected return (gain from investing) [ ]= = [ + ] = [ ]+ [ ] = + Portfolio variance (risk from investing) Var( )= 2 = Var( + ) = 2 Var( )+ 2 Var( )+ 2 Cov( ) = 2 2 + 2 2 +2 q SD( )= Var( )= = ³ 2 2 + 2 2 +2 1 2

Linear Combination of rv s. Let 1 2 be rvs and let 1 2 be constants. Define Then = 1 1 + 2 2 + + = X =1 = [ ] = 1 [ 1 ]+ 2 [ 2 ]+ + [ ] = X =1 [ ]= X =1

For the variance, 2 =Var( ) = 2 1 Var( 1)+ + 2 Var( ) +2 1 2 Cov( 1 2 )+2 1 3 Cov( 1 3 )+ +2 2 3 Cov( 2 3 )+2 2 4 Cov( 2 4 )+ +2 1 Cov( 1 ) Note: variance terms and ( 1) = 2 covariance terms. =100 there are 100 99 = 9900 covariance terms! If Result: If 1 2 then = are each normally distributed random variables X =1 ( 2 )

Example: Portfolio variance with three assets are simple returns on assets A, B and C are portfolio shares such that + + =1 = + + Portfolio variance 2 = 2 2 + 2 2 + 2 2 +2 +2 +2

Note: Portfolio variance calculation may be simplified using matrix layout 2 2 2

Example: Multi-period continuously compounded returns =ln(1+ )= monthly cc return ( 2 ) for all Cov( )=0for all 6= Annual return (12) = 11X =0 = + 1 + + 11

Then [ (12)] = = 11X =0 11X =0 [ ] ( [ ]= for all ) =12 ( = mean of monthly return)

Var( (12)) = Var = 11X =0 11X =0 Var( )= 11X 2 =0 =12 2 ( 2 = monthly variance) SD( (12)) = 12 (square root of time rule) Then (12) (12 12 2 )

For example, suppose (0 01 (0 10) 2 ) Then [ (12)] = 12 (0 01) = 0 12 Var( (12)) = 12 (0 10) 2 =0 12 SD( (12)) = 0 12 = 0 346 (12) (0 12 (0 346) 2 ) and ( ) =12 + 12 =0 12 + 0 346 ( ) = ( ) 1= 0 12+0 346 1