Fixed income toolbox - curve fitting
3 views (last 30 days)
Show older comments
Hi all, I am using the fitSvensson method to fit a yield curve to market data. When doing so, I construct an IRFitOptions object and pass it an array of parameter values as an initial guess. I would like to extract the resultant values of the parameters of the final fitted curve. How can this be done? I cannot find a method or public property of IRFunctionCurve that will return them. I'm looking to use the resultant parameters of a curve fitting process on one day as the initial guess for the next day. Anyone have any thoughts? Thank you!
1 Comment
Answers (1)
Oleg Komarov
on 26 Jul 2011
I don't think you can do that. You should code the function yourself and fit it.
Here's a link that may be of some help: http://www.mathworks.com/matlabcentral/fileexchange/26016-using-matlabr-and-symbolic-math-toolboxtm-to-develop-and-analyze-financial-models
0 Comments
See Also
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!