Clear Filters
Clear Filters

Diebold Li - DieboldLi.​fitBetasFr​omYields

6 views (last 30 days)
John
John on 30 Nov 2014
Commented: ZHENG HOU on 2 Apr 2017
Hello all.
I've been working on Diebold Li model and got everything working fine. But, for some reason, Matlab is telling me now that "Undefined variable "DieboldLi" or class "DieboldLi.fitBetasFromYields" whenever I try to run the program. It seems like DieboldLi function got erased from my memory. Is this right? Help. Thx
  2 Comments
John
John on 30 Nov 2014
The loop I'm trying to run is:
for jdx = 1:size(EstimationData,1) tmpCurveModel = DieboldLi.fitBetasFromYields(EOMDates(jdx),lambda_t*12,daysadd(EOMDates(jdx),30*TimeToMat),EstimationData(jdx,:)'); Beta(jdx,:) = [tmpCurveModel.Beta1 tmpCurveModel.Beta2 tmpCurveModel.Beta3]; end
which is given on the matlab site.
ZHENG HOU
ZHENG HOU on 2 Apr 2017
Hello, I'm afraid you have solved your problem, but I'm studying DieboldLi model for my paper. Maybe we can talk about it if you are still interested in it.(:D)

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!