Description Usage Arguments Value See Also Examples
This will allow you to create a harzard rate curve. This will typically be
bootstrapped or implied from a CDSCurve()
or SurvivalProbabilities()
.
1 | ZeroHazardRate(values, compounding, day_basis, specs)
|
values |
a numeric vector containing zero hazard rate values (as decimals). |
compounding |
a numeric vector representing the compounding frequency. |
day_basis |
a character vector representing the day basis associated
with the interest rate and hazard rate(see |
specs |
CDS curve specifications that inherits from |
returns an object of type hazard_rates
Other CDS curve helpers: CDSCurve
,
CDSMarkitSpec
,
CDSSingleNameSpec
, CDSSpec
,
SurvivalProbabilities
,
is.CDSCurve
, is.CDSSpec
1 2 3 4 5 6 7 | curve_specs <- CDSMarkitSpec(
rating = "AAA",
region = "Japan",
sector = "Utilities"
)
ZeroHazardRate(values = c(0.04, 0.05), compounding = c(2, 4),
day_basis = 'act/365', specs = curve_specs )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.