What does TimeStep stand for?

21 次查看(过去 30 天)
Luisa
Luisa 2011-11-30
Hi guys,
I have a doubt about an input of the function cdsbootstrap, home someone can help me. Among the optional arguments there is TimeStep defined as "positive integer indicating the number of days to take as time step for the numerical integration" and set by default at 10 days. Does TimeStep represent the assumption about the frequency at which default can occur (e.g. once a week, once a month...)? Many thanks.
Luisa

采纳的回答

Gabo
Gabo 2011-11-30
Hi Luisa,
TimeStep has more of a numerical meaning, although it might be interpreted as you describe, I think.
If you look at the protection leg formula in the reference page of cdsspread, you'll see an integral, which is approximated numerically with a finite sum (the second 'equal' sign should actually be an 'approx' sign). You discretize the time by choosing the tau's in those formulas. TimeStep is the difference between those tau's. Smaller values of TimeStep lead to a more accurate approximation of the integral, but it takes longer to evaluate. Depending on the particular survival curve you have, the results may be more or less sensitive to this parameter.
Note that the tau's are different from the t's in the RPV01 formulas. The t's are determined by the CDS contract, they are the premium payment dates. The tau's are arbitrarily chosen to perform the numerical integration.
Gabo
  3 个评论
Gabo
Gabo 2011-12-1
Yes, for a monthly discretization, set TimeStep to 30.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dates and Time 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by