SAP for Banking Discussions
Join the conversation about navigating compliance, enhancing customer experience, and driving growth in the banking industry with SAP.
cancel
Showing results for 
Search instead for 
Did you mean: 

What type of end conditions does SAP use for interpolating by means of cubic-splines?

Former Member
0 Kudos

Hi all,

does anybody know what type of end conditions does the SAP-implementation for interpolating with cubic splines use?

There are different types of cubic splines such as "clamped spline", "natural spline", "not-a-knot", etc. And depending on what type of splie is chosen, one have to chose the apporpriate end conditions. The natural splines, for example, assume that the curvature beyond the first and last sampling points is equal to 0 and thus the second derivations at these two Points are equal to 0.

Reading the online SAP documentation I can only infer that SAP uses the "natural splines" function. ("If the term of a required interest rate is before the first or after the last grid point, the first or the last grid point is transferred (extrapolation).")

However, computing the example given at

http://help.sap.com/saphelp_46c/helpdata/en/42/a3dc17fed111d2b4880060941936e3/content.htm

with other existing implementations of natural cubic splines and interpolating at P731 yields a different result for the interpolation at 731:

SAP: P731= 0.062503419

Other implementations: P731= 0.06218164394642542

My read is that SAP uses a quite different end conditions or type of cubic-splines.

I'll be glad of any help or suggestions.

Thank you in advance.

Kind Regards,

Ivaylo

0 REPLIES 0