帮助中心帮助中心
基于违约概率曲线计算风险率
自从R2020a
OutRates = hazardrates (obj)
例子
OutRates= hazardrates (obj)基于计算风险利率defprobcurve对象。
OutRates= hazardrates (obj)
OutRates
obj
defprobcurve
全部折叠
创建一个defprobcurve对象使用defprobcurve然后使用hazardrates计算风险率。
hazardrates
解决= datetime (2017、9、20);DefProbTimes = [calmonths (6) calyears ([1 2 3 4 5 7 10 20 30]));DefaultProbabilities = [0.005 0.007 0.01 0.015 0.026 0.04 0.077 0.093 0.15 0.20) ';ProbDates = + DefProbTimes定居;DefaultProbCurve = defprobcurve(结算、ProbDates DefaultProbabilities,“基础”5)
DefaultProbCurve = defprobcurve属性:解决:20 - 9 - 2017基础:5日期:x1 datetime [10] DefaultProbabilities: x1双[10]
hazardrates (DefaultProbCurve)
ans =10×10.0100 0.0040 0.0030 0.0051 0.0112 0.0145 0.0197 0.0058 0.0065 0.0061
defprobcurve对象,指定为一个以前创建的defprobcurve对象。
数据类型:对象
对象
风险率,作为一个数字返回。
介绍了R2020a
survprobs|defprobstrip
survprobs
defprobstrip
您有一张这本Beispiels geanderte版本。您这本Beispiel麻省理工学院古老Anderungen offnen吗?
您有窗户的链接geklickt,汪汪汪der diesem MATLAB-Befehl entspricht:
在das MATLAB-Befehlsfenster Fuhren您窝Befehl军队Eingabe来自。浏览器unterstutzen MATLAB-Befehle。
选择一个网站
选择一个网站翻译内容,看到当地事件和提供。根据你的位置,我们建议您选择:。
你也可以从下面的列表中选择一个网站:
选择中国网站(中文或英文)最佳站点的性能。其他MathWorks国家网站不优化的访问你的位置。
联系你当地的办公室