pvar

  • Upload
    mounabs

  • View
    217

  • Download
    0

Embed Size (px)

Citation preview

  • 7/29/2019 pvar

    1/32

    Portfolio Problems and

    Copulas

    FIN285a: Lecture 4.3

    Fall 2008

    Reading: Jorion, 7, and 8.3

  • 7/29/2019 pvar

    2/32

    Outline

    Portfolio VaR definitions

    Portfolio VaR global equity example

    Analytic tools:

    MVaR, IVaR, CVaR

    Copulas and dependence

    Partial hedging and nonnormality

  • 7/29/2019 pvar

    3/32

    Software

    gport.m

    mcgport.m

    bgport.m

    bsensgport.m

    optdist.musoptchoice.m

  • 7/29/2019 pvar

    4/32

    Portfolio VaR

    VaR on portfolio of assets

    Similar to standard VaR with new

    complications Covariance

    Dependence

    Portfolio weights

  • 7/29/2019 pvar

    5/32

    Global Portfolio Example

    Data

    wldeqp.dat, wldeqp.info

    Column 1: date (mm/dd/yy)

    92-2002

    Column 2-6, MSCI equity indices (US $)

    World

    Japan

    US Germany

    UK

  • 7/29/2019 pvar

    6/32

    Historical VaR

    Matlab

    gport.m

    Notes: Portfolio weights:

    Equal weighted over US, Japan, Germany, UK

    Compares delta normal with historical

  • 7/29/2019 pvar

    7/32

    Monte-Carlo VaR

    Matlab

    mcgport.m

    Critical issue: Variance covariance matrix

    See normal.m

    Similar patterns to univariate VaR

  • 7/29/2019 pvar

    8/32

    Bootstrap VaR

    Matlab:

    bgport.m

    Note: Bootstrap modeling of dependence

    (sample)

    No need to estimate variances andcovariances

    Results are sensitive to doing this

  • 7/29/2019 pvar

    9/32

    Correlations and VaR

    Simple example

    2 Assets

    Multivariate normal

    Mean returns = 0

    Constant variance and correlation

    Wealth fraction in each asset = 0.5

  • 7/29/2019 pvar

    10/32

    Portfolio Formulasrp w1r1 w2r2 p w11 w22

    p w121

    2w2

    22

    22w1w212

    w1 w2 0.5,1 2

    p (1)

    2

    VaRp Pt(p CLp ) Pt(p CL(1)

    2)

    n assets

    VaRp

    Pt

    (p

    CL

    1

    n(n1)

    n)

  • 7/29/2019 pvar

    11/32

    Component Issues

    Sensitivity to portfolio changes

    Analytic tools

    Bootstrap and monte-carlo methods

    Try sweeping through different portfolios

    Applications

    US to Global change

    bsensgport.m

    US to Japan change

    bsensgport2.m

  • 7/29/2019 pvar

    12/32

    Summary

    Portfolio choice adds differentdimensions

    Covariances Joint bootstrapping

    Often critical

    May be most important part of modellingrisk factors

  • 7/29/2019 pvar

    13/32

    Outline

    Portfolio VaR definitions

    Portfolio VaR global equity example

    Analytic tools:

    MVaR, IVaR, CVaR

    Copulas and dependence

    Partial hedging and nonnormality

  • 7/29/2019 pvar

    14/32

    General Approaches

    Marginal VaR: MVaR

    Incremental VaR: IVaR

    Component VaR: CVaR

  • 7/29/2019 pvar

    15/32

    MVaR: Marginal VaR(Change in VaR from $1change in investment i.)

    VaR

    VaR

    xi

    xi wiW

  • 7/29/2019 pvar

    16/32

    IVaR: Incremental VaR

    IVaR = VaR(p+a) - VaR(p)

  • 7/29/2019 pvar

    17/32

    Analytic Approximations

    wi (pi ai ) pi ai

    IVaR(a) VaR(p a) VaR(p) VaR

    wiwi

    i1

    n

  • 7/29/2019 pvar

    18/32

    Weakness

    Local linear approximation

  • 7/29/2019 pvar

    19/32

    CVaR: Component VaR(VaR linear homogeneous

    function)aVaR(w1,w2 ,K ,wn ) VaR(aw1,aw2 ,K ,awn )

    VaR wi

    VaR

    wii1

    n

    CVaRi wiVaR

    wi

    VaR CVaRii1

    n

    %Contribution CVaR

    iVaR

  • 7/29/2019 pvar

    20/32

    Component VaR

    Compare risk components

    Pockets of risk

    Break down firm wide risk to components Business units

    Drill down capability

    Best hedges Most effective position changes to reduce

    risk

  • 7/29/2019 pvar

    21/32

    Outline

    Portfolio VaR definitions

    Portfolio VaR global equity example

    Analytic tools:

    MVaR, IVaR, CVaR

    Copulas and dependence

    Partial hedging and nonnormality

  • 7/29/2019 pvar

    22/32

    Copulas

    Generate dependence between x and y

    Fix distribution of x alone, and y alone

    (Marginal distributions)

    Example

    Fit returns to student-t

    Adjust dependence

  • 7/29/2019 pvar

    23/32

    Copulas: How to guideFirst lesson: Generate a

    distribution

    Let F(x) be a cumulative density

    function for some distributionGenerate a uniform random number z =

    [0,1]

    Generate y = F-1(z)Y is follows F distribution

    Matlab: copulaex1.m

  • 7/29/2019 pvar

    24/32

    Second LessonPair of Random Variables

    Gaussian Copula, Student-t Marginal

    Generate (w,u) normal

    Get F(w), F(u) (F is normal CDF)

    Generate x = G-1(w), y = G-1(u)

    G(x), student-t cdf

    Matlab: copulaex2.m

  • 7/29/2019 pvar

    25/32

    Third Lesson:Gaussian Copula

    Empirical Marginal: Use actual dataGenerate (w,u) normal

    Get F(w), F(u) (F is normal CDF)

    Generate x = G-1

    (w), y = G-1

    (u) G(x), empirical CDF from data

    Like a kind of bootstrap

    Matlab: copulaex3.m See code for how to do G(x)

    Spearman rank correlation Correlate quantile(w) with quantile(u)

  • 7/29/2019 pvar

    26/32

    Copula Advantages

    Separates problems

    Fitting marginal distribution

    Modeling dependence Many copulas for dependence

    Key problem

    Determining correct model

    May beat bootstrap for small samples Generating joint (x,y) extreme observations

  • 7/29/2019 pvar

    27/32

    Puzzles In Multivariate

    ReturnsSee Jorion 9.3.4

    Do correlations change with volatility

    and overall risk?

    Some think yes.

    When volatility is high, correlations are

    high? Ability to diversity risk is low.

  • 7/29/2019 pvar

    28/32

    Outline

    Portfolio VaR definitions

    Portfolio VaR global equity example

    Analytic tools: MVaR, IVaR, CVaR

    Copulas and dependence

    Options, partial hedging and nonnormality

  • 7/29/2019 pvar

    29/32

    Adding Options to Equity

    Portfolios Problem:

    50/50 US/UK equity portfolio

    Cover the US portion by purchasing a putoption

    Do this at the money

    20 day (1 month European option)

    First, what does the eventual portfoliodistribution look like?

  • 7/29/2019 pvar

    30/32

    Part 1

    What does an option do to thedistribution?

    optdist.m

  • 7/29/2019 pvar

    31/32

    Part 2

    Evaluating option purchases

    usoptchoice.m

  • 7/29/2019 pvar

    32/32

    Outline

    Portfolio VaR definitions

    Portfolio VaR global equity example

    Analytic tools:

    MVaR, IVaR, CVaR

    Copulas and dependence

    Options, partial hedging and nonnormality