Fundamentals of Statistics contains material of various lectures and courses of H. Lohninger on statistics, data analysis and chemometrics......click here for more. 
Home Bivariate Data Curve Fitting Curve Fitting by Splines  
Curve Fitting by SplinesCubic splines are a common class of functions which are used in many interpolation applications. The basic idea is to fit cubic polynomials between two neighboring data points while ensuring that certain additional conditions are fulfilled (smooth first and second derivative). Furthermore, the concept of splines can be extended to approximations as well, if we introduce a small extension which results in smoothed splines. A smoothed spline degenerates to a simple linear regression if the smoothing factor approaches its maximum.Assume that we have n+1 data points [x_{i}, y_{i}] with i=0 to n, and x_{0} < x_{1} < .... < x_{n}. Then the function S(x) is called a Cubic Spline if there exist n cubic polynomials s_{i}(x) having the coefficients a_{i,0}, a_{i,1}, a_{i,2}, a_{i,3} that satisfy the following conditions:
Please note that there exists a unique cubic spline (called natural spline) with the boundary conditions S"(x_{0}) = 0 and S"(x_{n}) = 0. The natural spline is the curve obtained by forcing a flexible elastic rod through the points but letting the slope at the ends be free to equilibrate to the position that minimizes the oscillatory behavior of the curve.


Home Bivariate Data Curve Fitting Curve Fitting by Splines 