--- title: "Credit Curve Bootstrapping" author: "Bertrand Le Nezet" date: "`r Sys.Date()`" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{Credit Curve Bootstrapping} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r, echo=FALSE} library(credule) percent <- function(x, digits = 2, format = "f", ...) { paste0(formatC(100 * x, format = format, digits = digits, ...), "%") } ``` We will first explain how credit curves are constructed (using a reduced-form model) before showing how the credule package can be used to build credit curves from the CDS quotes. We will look at 2 specific US Issuers as of 27 May 2014: Pfizer (Pfizer Inc - PFE) and Radioshak (RadioShack Corp - RSH). ## Credit Curve Bootstrapping Methodology ### Hazard rate and Survival Probability The reduced-form model that we use here is based on the work of Jarrow and Turnbull (1995), who characterize a credit event as the first event of a Poisson counting process which occurs at some time $t$ with a probability defined as : $\text{Pr}\left[\tau