Description Usage Arguments Details Author(s) References Examples

View source: R/FrechetVaRPlot2DCl.R

Plots the VaR of a portfolio against confidence level assuming extreme losses are Frechet distributed, for specified range of confidence level and a given holding period.

1 | ```
FrechetVaRPlot2DCl(mu, sigma, tail.index, n, cl, hp)
``` |

`mu` |
Location parameter for daily L/P |

`sigma` |
Scale parameter for daily L/P |

`tail.index` |
Tail index |

`n` |
Block size from which maxima are drawn |

`cl` |
Confidence level and should be a vector |

`hp` |
Holding period and should be a scalar |

Note that the long-right-hand tail is fitted to losses, not profits.

Dinesh Acharya

Dowd, K. Measurh ing Market Risk, Wiley, 2007.

Embrechts, P., Kluppelberg, C. and Mikosch, T., Modelling Extremal Events for Insurance and Finance. Springer, Berlin, 1997, p. 324.

Reiss, R. D. and Thomas, M. Statistical Analysis of Extreme Values from Insurance, Finance, Hydrology and Other Fields, Birkhaueser, Basel, 1997, 15-18.

1 2 3 | ```
# Plots VaR against vector of cl assuming Frechet Distribution for given parameters
cl <- seq(0.9, .99, .01)
FrechetVaRPlot2DCl(3.5, 2.3, 1.6, 10, cl, 30)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.