Algorithm 742: L2CXFT
- 1 March 1995
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Mathematical Software
- Vol. 21 (1) , 98-110
- https://doi.org/10.1145/200979.201039
Abstract
A Fortran subroutine applies the method of Demetriou and Powell [1991] to restore convexity in n measurements of a convex function contaminated by random errors. The method minimizes the sum of the squares of the errors, subject to nonnegativity of second divided differences, in two phases. First, an approximation close to the optimum is derived in O(n) operations. Then, this approximation is used as the starting point of a dual-feasible quadratic programming algorithm that completes the calculation of the optimum. The constraints allow B-splines to be used, which reduce the problem to an equivalent one with fewer variables where the knots of the splines are determined automatically from the data points due to the constraint equations. The subroutine benefits from this reduction, since common submatrices that occur during the calculation are updated suitably. Iterative refinement improves the accuracy of some calculations when round-off errors accumulate. The subroutine has been applied to a variety of data having substantial differences and has performed fast and stably even for small data spacing, large n , and single-precision arithmetic. Driver programs and examples with output are provided to demonstrate the use of the subroutine.Keywords
This publication has 6 references indexed in Scilit:
- Solving Least Squares ProblemsPublished by Society for Industrial & Applied Mathematics (SIAM) ,1995
- The Minimum Sum of Squares Change to Univariate Data that gives ConvexityIMA Journal of Numerical Analysis, 1991
- A numerically stable dual method for solving strictly convex quadratic programsMathematical Programming, 1983
- Approximation Theory and MethodsPublished by Cambridge University Press (CUP) ,1981
- A Practical Guide to SplinesPublished by Springer Nature ,1978
- Consistency in Concave RegressionThe Annals of Statistics, 1976