gs: CDO Pricing with the Gaussian copula

Description Usage Arguments Details Value Author(s) References Examples

Description

'gs' compute 5 tranches spreads under the Gaussian copula

Usage

1
gs(rhoInput, MInput, dateInput)

Arguments

rhoInput

a numeric giving the Pearson's correlation for dependence specification

MInput

a numeric giving the Monte Carlo simulation runs

dateInput

a character giving the pricing date, e.g. c("2007-10-23")

Details

Please make sure that the data sets of "defIntensity.csv" and "payday.csv" have been correctly installed in such paths: "C:/defIntensity.csv", "C:/payday.csv". The both data sets can be downloaded from "https://github.com/YafeiXu/xyfQuantlet".

Value

A vector with 5 numerics will be returned, from left to right: equity, junior mezzanine, senior mezzanine, junior senior, senior.

Author(s)

Yafei Xu <yafei.xu@hu-berlin.de>

References

The master thesis, CDO, HAME Copulas and an R Package 'CDO', can be downloaded from https://sites.google.com/site/cdowithr/.

Examples

1
gs(0.3, 100, c("2007-10-23"))

YafeiXu/cdov documentation built on May 10, 2019, midnight