Nonstandard operator precedence in Excel

Roger L. Berger

Research output: Contribution to journalArticle

7 Citations (Scopus)

Abstract

Microsoft's Excel spreadsheet program implements an unusual operator precedence in formulas. This can cause errors in statistical calculations, if it is not properly followed. For example, some errors by Excel in nonlinear regression reported by McCullough and Wilson (2002. On the accuracy of statistical procedures in Microsoft Excel 2000 and Excel XP. Comput. Statist. Data Anal. 40, 713-721) were probably due to programming by the users that did not follow the unusual operator precedence rules. In this note the operator precedence in Excel is explained, the previous nonlinear regression results are corrected, and a simple example of maximum likelihood estimation is given.

Original language English (US) 2788-2791 4 Computational Statistics and Data Analysis 51 6 https://doi.org/10.1016/j.csda.2006.09.040 Published - Mar 1 2007

Fingerprint

Excel
Maximum likelihood estimation
Operator
Nonlinear Regression
Maximum Likelihood Estimation
Programming

Keywords

• Microsoft Excel
• Nonlinear regression
• Operator precedence
• Unary negation

ASJC Scopus subject areas

• Computational Theory and Mathematics
• Statistics, Probability and Uncertainty
• Electrical and Electronic Engineering
• Computational Mathematics
• Numerical Analysis
• Statistics and Probability

Cite this

Nonstandard operator precedence in Excel. / Berger, Roger L.

In: Computational Statistics and Data Analysis, Vol. 51, No. 6, 01.03.2007, p. 2788-2791.

Research output: Contribution to journalArticle

Berger, Roger L. / Nonstandard operator precedence in Excel. In: Computational Statistics and Data Analysis. 2007 ; Vol. 51, No. 6. pp. 2788-2791.
@article{9a481abb35174b828a60706b0da20408,
title = "Nonstandard operator precedence in Excel",
abstract = "Microsoft's Excel spreadsheet program implements an unusual operator precedence in formulas. This can cause errors in statistical calculations, if it is not properly followed. For example, some errors by Excel in nonlinear regression reported by McCullough and Wilson (2002. On the accuracy of statistical procedures in Microsoft Excel 2000 and Excel XP. Comput. Statist. Data Anal. 40, 713-721) were probably due to programming by the users that did not follow the unusual operator precedence rules. In this note the operator precedence in Excel is explained, the previous nonlinear regression results are corrected, and a simple example of maximum likelihood estimation is given.",
keywords = "Microsoft Excel, Nonlinear regression, Operator precedence, Unary negation",
author = "Berger, {Roger L.}",
year = "2007",
month = "3",
day = "1",
doi = "10.1016/j.csda.2006.09.040",
language = "English (US)",
volume = "51",
pages = "2788--2791",
journal = "Computational Statistics and Data Analysis",
issn = "0167-9473",
publisher = "Elsevier",
number = "6",

}

TY - JOUR

T1 - Nonstandard operator precedence in Excel

AU - Berger, Roger L.

PY - 2007/3/1

Y1 - 2007/3/1

N2 - Microsoft's Excel spreadsheet program implements an unusual operator precedence in formulas. This can cause errors in statistical calculations, if it is not properly followed. For example, some errors by Excel in nonlinear regression reported by McCullough and Wilson (2002. On the accuracy of statistical procedures in Microsoft Excel 2000 and Excel XP. Comput. Statist. Data Anal. 40, 713-721) were probably due to programming by the users that did not follow the unusual operator precedence rules. In this note the operator precedence in Excel is explained, the previous nonlinear regression results are corrected, and a simple example of maximum likelihood estimation is given.

AB - Microsoft's Excel spreadsheet program implements an unusual operator precedence in formulas. This can cause errors in statistical calculations, if it is not properly followed. For example, some errors by Excel in nonlinear regression reported by McCullough and Wilson (2002. On the accuracy of statistical procedures in Microsoft Excel 2000 and Excel XP. Comput. Statist. Data Anal. 40, 713-721) were probably due to programming by the users that did not follow the unusual operator precedence rules. In this note the operator precedence in Excel is explained, the previous nonlinear regression results are corrected, and a simple example of maximum likelihood estimation is given.

KW - Microsoft Excel

KW - Nonlinear regression

KW - Operator precedence

KW - Unary negation

UR - http://www.scopus.com/inward/record.url?scp=33846786728&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=33846786728&partnerID=8YFLogxK

U2 - 10.1016/j.csda.2006.09.040

DO - 10.1016/j.csda.2006.09.040

M3 - Article

VL - 51

SP - 2788

EP - 2791

JO - Computational Statistics and Data Analysis

JF - Computational Statistics and Data Analysis

SN - 0167-9473

IS - 6

ER -