defprobcurve
Description
Create a defprobcurve
object for a credit
instrument.
After creating a defprobcurve
object, you can use the associated
functions survprobs
, hazardrates
, and defprobstrip
.
To price a CDS
instrument, you must
create a defprobcurve
object and then create a Credit
pricer object.
For more information on the available instruments, models, and pricing methods, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates a DefaultProbCurve
= defprobcurve(Settle
,ProbDates
,DefaultProbabilities
)defprobcurve
object.
sets properties using name-value
pairs and any of the arguments in the previous syntax. For example,
DefaultProbCurve
= defprobcurve(___,Name,Value
)DefaultProbCurve =
defprobcurve(datetime(2017,1,30),[datetime(2018,1,30);datetime(2019,1,30)],[0.005
0.007],'Basis',2)
creates a default probability curve object.
You can specify multiple name-value pair arguments.
Input Arguments
Properties
Object Functions
survprobs | Compute survival probability based on default probability curve |
hazardrates | Compute hazard rates based on default probability curve |
defprobstrip | Bootstrap defprobcurve object from market CDS
instruments |