Verifying the Solution from a Nonlinear Solver: A Case Study

We are pleased to confirm that any doubt our article (McCullough and Vinod, 2003; hereafter “MV03”) may have cast on Ron Shachar and Barry Nalebuff (1999; hereafter “SN99”) must be removed. We are especially pleased because we thought it quite unfair that other researchers were able to exempt themselves from such detailed scrutiny. It appears that such researchers no longer will have the luxury of reneging on their agreement to honor the replication policy, as this journal now requires authors of accepted empirical papers to provide all programs and data files for posting on the AER Web site as a precondition of publication. The primary aim of our article (MV03) was to provide a four-part methodology for verifying the solution from a nonlinear solver: check the gradient, examine the trace, analyze the Hessian, and profile the likelihood. We adduced copious evidence (MV03, p. 873) that solvers used by economists can produce inaccurate answers, gave examples of different packages giving different answers to the same nonlinear problems (MV03, p. 874), and showed (MV03, pp. 873–74), at least in this journal, that researchers make no effort to verify the solutions from the solvers that they use. We believe this uncritical acceptance of solutions from nonlinear solvers to be a systemic problem in economic research; that is why we wrote the article—certainly, econometrics texts do not show how to verify the solution from a nonlinear solver. In passing, we also showed how a problem can be too large for conventional PC methods, and indicated the failure of replication policies in this journal and other journals. We used the data and likelihood function from SN99 to illustrate the methodology. In the course of this illustration, we noted that the Hessian was ill-conditioned, suggested that there might exist multiple optima, and that inference based on the Wald statistic was not appropriate. We concluded that the solution we found was, at best, a tentative solution. However, as shown in Shachar and Nalebuff (2004; hereafter SN04), when the problem is rescaled the Hessian is not ill-conditioned; they have correctly identified the difference between the condition number of the badly scaled version of the problem that we analyzed in MV03 and the well-scaled problem that they have analyzed. When the problem is correctly scaled, the Hessian is well-conditioned, the model is locally identifiable, the problem can be solved on a PC, a solution to the problem exists, and SN present it in their Table 1. Though we were aware that rescaling could ameliorate ill-conditioning (MV03, p. 882), we were unaware of the distinction between artificial ill-conditioning and inherent ill-conditioning, so the method we suggested for analyzing the Hessian contained an error of omission. This error caused us to reach an incorrect conclusion concerning the existence of a solution to the problem. We apologize to Professors Shachar and Nalebuff, and we thank them for their gracious understanding in this regard. Accordingly, we have amended our prescription for analyzing the Hessian—see our nearby exchange with David M. Drukker and Vince Wiggins (2004; hereafter “DW”) for complete details. Our

[1]  Calyampudi Radhakrishna Rao,et al.  Linear Statistical Inference and its Applications , 1967 .

[2]  Gwilym M. Jenkins,et al.  Time series analysis, forecasting and control , 1972 .

[3]  G. C. Tiao,et al.  Bayesian inference in statistical analysis , 1973 .

[4]  Bronwyn H Hall,et al.  Estimation and Inference in Nonlinear Structural Models , 1974 .

[5]  W. Murray Numerical Methods for Unconstrained Optimization , 1975 .

[6]  George E. P. Box,et al.  Time Series Analysis: Forecasting and Control , 1977 .

[7]  W. Hauck,et al.  Wald's Test as Applied to Hypotheses in Logit Analysis , 1977 .

[8]  D. J. Bell,et al.  Numerical Methods for Unconstrained Optimization , 1979 .

[9]  Douglas M. Bates,et al.  A Relative Off set Orthogonality Convergence Criterion for Nonlinear least Squares , 1981 .

[10]  Philip E. Gill,et al.  Practical optimization , 1981 .

[11]  Hrishikesh D. Vinod,et al.  Recent Advances in Regression Methods. , 1983 .

[12]  A. Albert,et al.  On the existence of maximum likelihood estimates in logistic regression models , 1984 .

[13]  Jerry G. Thursby,et al.  Replication in Empirical Economics: The Journal of Money, Credit and Banking Project , 1986 .

[14]  G. W. Stewart,et al.  Afternotes on numerical analysis , 1987 .

[15]  A. Gallant,et al.  Nonlinear Statistical Models , 1988 .

[16]  Douglas M. Bates,et al.  Nonlinear Regression Analysis and Its Applications , 1988 .

[17]  G. Stewart,et al.  Matrix Perturbation Theory , 1990 .

[18]  J. MacKinnon,et al.  Estimation and inference in econometrics , 1994 .

[19]  M. H. Wright Some Linear Algebra Issues in Large-Scale Optimization , 1993 .

[20]  Gene H. Golub,et al.  Linear algebra for large scale and real-time applications , 1993 .

[21]  S. Feigenbaum,et al.  The market for (Ir)reproducible econometrics , 1993 .

[22]  Paul Newbold,et al.  Adventures with ARIMA software , 1994 .

[23]  Richard G. Anderson,et al.  Replication and scientific standards in applied economics a decade after the Journal of Money, Credit and Banking project , 1994 .

[24]  Luis A. Escobar,et al.  Teaching about Approximate Confidence Regions Based on Maximum Likelihood Estimation , 1995 .

[25]  Jonathan Nagler Coding Style and Good Computing Practices , 1995 .

[26]  Gary King A Revised Proposal, Proposal , 1995 .

[27]  B. Datta Numerical Linear Algebra and Applications , 1995 .

[28]  Gabriele Fiorentini,et al.  Analytic Derivatives and the Computation of Garch Estimates , 1996 .

[29]  William N. Venables,et al.  Modern Applied Statistics with S-Plus. , 1996 .

[30]  Joseph R. Shinnerl,et al.  Stability of Symmetric Ill-Conditioned Systems Arising in Interior Methods for Constrained Optimization , 1996, SIAM J. Matrix Anal. Appl..

[31]  Calvin L. Williams,et al.  Modern Applied Statistics with S-Plus , 1997 .

[32]  Christoph Uberhuber Numerical Computation, Volume I , 1997 .

[33]  K. Judd Numerical methods in economics , 1998 .

[34]  Bruce D. McCullough,et al.  Assessing the Reliability of Statistical Software: Part I , 1998 .

[35]  Charles G. Renfro,et al.  Benchmarks and software standards: A case study of GARCH procedures , 1998 .

[36]  M. Heinkenschloss,et al.  Airfoil Design by an All-at-once Method* , 1998 .

[37]  Bruce D. McCullough,et al.  The Numerical Reliability of Econometric Software , 1999 .

[38]  Bruce D. McCullough,et al.  Econometric Software Reliability: EViews, LIMDEP, SHAZAM and TSP , 1999 .

[39]  Ron Shachar,et al.  Follow The Leader: Theory And Evidence On Political Participation , 1999 .

[40]  Stephen Wolfram,et al.  The Mathematica book (4th edition) , 1999 .

[41]  David A. Heiser,et al.  On the accuracy of statistical procedures in Microsoft Excel 2007 , 1999, Comput. Stat. Data Anal..

[42]  Theodore C. Belding,et al.  Numerical Replication of Computer Simulations: Some Pitfalls and How To Avoid Them , 2000, ArXiv.

[43]  Giuseppe Bruno,et al.  A Comparative Study Of Alternative Econometric Packages: An Application To Italian Deposit Interest Rates , 2000 .

[44]  Jurgen A. Doornik and Marius Ooms Multimodality and the GARCH Likelihood , 2000 .

[45]  H. Vinod Review of GAUSS for Windows, including its numerical accuracy , 2000 .

[46]  George G. Judge,et al.  Econometric foundations , 2000 .

[47]  Bruce D. McCullough,et al.  Is it safe to assume that software is accurate , 2000 .

[48]  Charles G. Renfro,et al.  Some numerical aspects of nonlinear estimation , 2000 .

[49]  Jeffrey S. Racine On the Nonlinear Predictability of Stock Returns Using Financial and Economic Variables , 2001 .

[50]  Chris Brooks,et al.  Benchmarks and the accuracy of GARCH model estimation , 2001 .

[51]  Michael L. Overton,et al.  Numerical Computing with IEEE Floating Point Arithmetic , 2001 .

[52]  H. Martin Bücker,et al.  Automatic differentiation for computational finance , 2002 .

[53]  Steven D. Levitt,et al.  Using Electoral Cycles in Police Hiring to Estimate the Effect of Police on Crime: Comment , 2002 .

[54]  James Lindgren Fall from Grace: Arming America and the Bellesiles Scandal , 2002 .

[55]  Jocelyn Kaiser,et al.  Software Glitch Threw Off Mortality Estimates , 2002, Science.

[56]  Colin Rose,et al.  Mathematical Statistics with Mathematica , 2002 .

[57]  J. McCrary,et al.  Using Electoral Cycles in Police Hiring to Estimate the Effects of Police on Crime : Reply , 2002 .

[58]  Bruce D. McCullough,et al.  On the accuracy of statistical procedures in Microsoft Excel 2000 and Excel XP , 2002 .

[59]  Micah Altman,et al.  Replication with Attention to Numerical Accuracy , 2003, Political Analysis.

[60]  David M. Drukker,et al.  “Replicating the results in ‘on efficient estimation with panel data: an empirical comparison of instrumental variables estimators’ ” , 2003 .

[61]  J. MacKinnon,et al.  Econometric Theory and Methods , 2003 .

[62]  K. Nikolopoulos,et al.  Introduction to econometrics, 2nd edition , 2004 .

[63]  Houston H. Stokes,et al.  On the advantage of using two or more econometric software systems to solve the same problem , 2004 .

[64]  Vince Wiggins,et al.  Verifying the Solution from a Nonlinear Solver: A Case Study: Comment , 2004 .

[65]  James D. Hamilton,et al.  Normalization in Econometrics , 2004 .

[66]  B. Nalebuff,et al.  Verifying the Solution from a Nonlinear Solver: A Case Study: Comment , 2004 .

[67]  Micah Altman,et al.  Recommendations for Replication and Accurate Analysis , 2004 .

[68]  Teresa D. Harrison,et al.  Lessons from the JMCB Archive , 2006 .