Natural Cubic Splines Yield Curve

버전 1.0.0.0 (3.06 KB) 작성자: petar radkov
Fitting of smooth yield curve
다운로드 수: 402
업데이트 날짜: 2011/5/9

라이선스 보기

The fitting of smooth curve through a set of data points and extention to this is the fitting of 'best fit' spline to a large set of data points which show the cerrent trend but which do not all lie above the curve. The method involves cluster analysis, that is, grouping the crude data into clusters and seed points are the limites of each cluster. The central for each clustrer become nodes through which a natural spline is fitted. There are five stages nessesary in the cluster analysis and calculation of node positions, summerised as follow: 1. starting with choosing seed points 2. determine two data point which are closest to each seed point (the nearest neighbour pair) 3. calculate the coordinate of weighted average of each nearest neighbour pair. 4. allocate the remaining data points to their appropriate cluster. 5. calculate the cordinate of the central point of each cluster, using weight average. This method can be used for approximation yield curve (with gross yields or zero yields), which is shown in those matlab code.

인용 양식

petar radkov (2024). Natural Cubic Splines Yield Curve (https://www.mathworks.com/matlabcentral/fileexchange/31364-natural-cubic-splines-yield-curve), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0