A Report on the Accuracy of Some Widely Used Least Squares Computer Programs

Abstract Linear least squares test problems based on fifth degree polynomials have been run on more than twenty different computer programs in order to assess their numerical accuracy. The programs tested, all in present-day use, included representatives from several statistical packages as well as some from the SHARE library. Essentially five different algorithms were used in the various programs to obtain the coefficients of the least squares fits. The tests were run on several different computers, in double precision as well as single precision. By comparing the coefficients reported, it was found that those programs using orthogonal Householder transformations, classical Gram-Schmidt orthonormalization or modified Gram-Schmidt orthogonalization were generally much more accurate than those using elimination algorithms. Programs using orthogonal polynomials (suitable only for polynomial fits) also proved to be superior to those using elimination algorithms. The most successful programs accumulated inner...

[1]  G. Golub,et al.  Iterative refinements of linear least squares solutions by Householder transformations , 1968 .

[2]  E. Lefferts,et al.  An experimental comparison of several approaches to the linear least squares problem , 1969 .

[3]  J. H. Wilkinson,et al.  Note on the iterative refinement of least squares solution , 1966 .

[4]  T. Jordan,et al.  EXPERIMENTS ON ERROR GROWTH ASSOCIATED WITH SOME LINEAR LEAST-SQUARES PROCEDURES. , 1968 .

[5]  Å. Björck Solving linear least squares problems by Gram-Schmidt orthogonalization , 1967 .

[6]  J. H. Wilkinson,et al.  Iterative refinement of the solution of a positive definite system of equations , 1966 .

[7]  A. Zellner,et al.  COMPUTATIONAL ACCURACY AND ESTIMATION OF SIMULTANEOUS EQUATION ECONOMETRIC MODELS1 , 1966 .

[8]  J. Todd,et al.  A Survey of Numerical Analysis , 1963 .

[9]  James R. Miller,et al.  On-line analysis for social scientists , 1968 .

[10]  G. S. Dawkins,et al.  Communication. Some Aspects of Curve Fitting Using Orthogonal Polynomials , 1965 .

[11]  W. Dixon BMD : biomedical computer programs , 1967 .

[12]  G. Forsythe Generation and Use of Orthogonal Polynomials for Data-Fitting with a Digital Computer , 1957 .

[13]  J. Ross Macdonald,et al.  Accelerated Convergence, Divergence, Iteration, Extrapolation, and Curve Fitting , 1964 .

[14]  Rudolf J. Freund,et al.  A Warning of Roundoff Errors in Regression , 1963 .

[15]  James W. Longley An Appraisal of Least Squares Programs for the Electronic Computer from the Point of View of the User , 1967 .

[16]  F. J. Anscombe,et al.  Topics in the Investigation of Linear Relations Fitted by the Method of Least Squares , 1967 .

[17]  F. L. Bauer Elimination with weighted row combinations for solving linear equations and least squares problems , 1965 .

[18]  P. A. Crisman,et al.  The compatible time-sharing system : a programmer's guide , 1965 .

[19]  Roy H. Wampler An evaluation of linear least squares computer programs , 1969 .

[20]  Åke Björck,et al.  Iterative refinement of linear least squares solutions II , 1967 .

[21]  F. J. Corbató,et al.  The Compatible Time-Sharing System: A Programmer's Guide , 1963 .

[22]  Philip Rabinowitz,et al.  Advances in Orthonormalizing Computation , 1961, Adv. Comput..

[23]  M. Newman Solving equations exactly , 1967 .

[24]  G. Golub,et al.  Linear least squares solutions by householder transformations , 1965 .

[25]  Henry E. Fettis,et al.  Eigenvalues and Eigenvectors of Hilbert Matrices of Order 3 Through 10 , 1967 .