Retrieving Svensson's model parameters - On what order are these parameters provided?
이전 댓글 표시
After creating a Svensson model I would like to store the parameters calculated by the fitSvensson function.
I already know I can get the six parameters (Beta0, Beta1, Beta2, Beta3, Tau1, Tau2) from the model's "Parameters" attribute but I have no idea about on what order are these parameters provided. I searched the documentation but up to this time I found no reference to this information.
Settle = repmat(datenum('30-Apr-2008'),[6 1]);
Maturity = [datenum('07-Mar-2009');datenum('07-Mar-2011');...
datenum('07-Mar-2013');datenum('07-Sep-2016');...
datenum('07-Mar-2025');datenum('07-Mar-2036')];
CleanPrice = [100.1;100.1;100.8;96.6;103.3;96.3];
CouponRate = [0.0400;0.0425;0.0450;0.0400;0.0500;0.0425];
Instruments = [Settle Maturity CleanPrice CouponRate];
PlottingPoints = datenum('07-Mar-2009'):180:datenum('07-Mar-2036');
Yield = bndyield(CleanPrice,CouponRate,Settle,Maturity);
SvenssonModel = IRFunctionCurve.fitSvensson('Zero',datenum('30-Apr-2008'),Instruments);
SvenssonModel.Parameters
ans =
0.0002 3.7616 -24.5489 34.3165 10.8867 11.9282
Which one is Beta1? Which one is Tau2? Any clues?
Thank you in advance and Merry Christmas to all of you!
Fernando
댓글 수: 3
Luiz Fernando Carnot R de Almeida
2013년 12월 23일
Luiz Fernando Carnot R de Almeida
2013년 12월 23일
Gokturk
2014년 3월 26일
Hi, Im trying to get parameters but receiving an error 'No appropriate method, property, or field Parameters for class IRFunctionCurve' can you pls help me on that thnks
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

