Time-Line and Time- Periods:
The Credit Curve Time-Line is very important because each statistic can
have different time scale and offset.
The Transition
and Credit Curve functions use time periods which can be defined in
days, months or years.
For the Credit-Curve and Transition function all time periods are internally
represented in days. If you want complete granularity over each time
step, which is somewhat arguable in the context of credit, define your
periods in days!
For the Continuous Credit-Curve function based on Hazards all time
periods are internally represented in year fractions. Thus, If you want
complete granularity over time steps which is somewhat arguable in the
context of credit, define your periods in years!
To convert years into days the Credit-Curve algorithm works
accordingly:
Years are defined as
containing 365.2425 days. This value is then rounded up or down to the
closest decimal.
For example, if you define periods as 0.25 2 5,
the routine will convert this value to:91.31,730.48,1826.21.
These
values are then rounded to the nearest number of days accordingly
:91,730,1826.
To
convert months into days the Credit-Default-Curve algorithm works accordingly:
Months are multiplied by
30.4368 (which is equivalent to 365.2425/12), and then rounded up or down to the closest decimal. For example, if you
define periods as 3 48 60, the routine will convert this value
to:91.31,730.48,1826.21.
These
values are then rounded to the nearest number of days accordingly
:91,730,1826.
If you define
periods in days, the Credit-Default-Curve
function will performs NO conversion.
To
convert days into years the Continuous Credit-Curve function works
accordingly:
Years are defined as
containing 365.2425 days. Thus days are divided by 365.2425
For
example, if you define periods of 91 730 1825
the routine will convert this value to: 0.2491, 1.99861,4.9966
To
convert months into years the Credit-Curve function works accordingly:
Months are divided by 12, For example, if you define periods as 3 48 60, the routine
will convert this value t 0.25,2, 5:
If you define
periods in years, the Credit-Default-Curve function will performs NO conversion!