Understanding Least Squares through Monte Carlo Calculations

Joel Tellinghuisen
Department of Chemistry, Vanderbilt University, Nashville, TN 37235
J. Chem. Educ., 2005, 82 (1), p 157
DOI: 10.1021/ed082p157
Publication Date (Web): January 1, 2005

Abstract

The mathematics of linear least squares (LLS) is summarized in a compact and easy-to-remember matrix notation and Monte Carlo computations are used to illustrate its fundamental properties: Gaussian (normal) distributions for parameters, χ2 distributions for variances, and t-distributions for parameters when their variances have to be estimated from the fit. Deviations from these forms are illustrated for cases where the data do not possess random normal error, are biased, or are not weighted properly in the LS fit. The distinction between the a priori and a posteriori variance–covariance matrices is emphasized. The former is appropriate when the error structure of the data is known a priori, as in Monte Carlo calculations; it is exact. The latter assumes ignorance about at least the scale of the data error, which is then estimated from the fit. Importantly, the a posteriori estimates of parameter standard errors are unreliable unless the data are given correct relative weights. The exact equation for error propagation of correlated variables is presented and illustrated. The matter of confidence limits and joint confidence limits on parameters and functions of parameters is discussed and illustrated, with reference to the properties of χ2.

Keywords (Audience):

Upper-Division Undergraduate

Keywords (Domain):

Physical Chemistry

Keywords (Subject):

Chemometrics

Citing Articles

View all 4 citing articles

Citation data is made available by participants in CrossRef's Cited-by Linking service. For a more comprehensive list of citations to this article, users are encouraged to perform a search in SciFinder.

This article has been cited by 4 ACS Journal articles (4 most recent appear below).

  • Cover Image

    Error Propagation Made Easy—Or at Least Easier

    George H. Gardenier, Feng Gui, and James N. Demas
    Journal of Chemical Education2011 Article ASAP
    • Error Propagation Made Easy—Or at Least Easier

      George H. Gardenier, Feng Gui, and James N. Demas
      Journal of Chemical Education2011 Article ASAP

      Complex error propagation is reduced to formula and data entry into a Mathcad worksheet or an Excel spreadsheet. The Mathcad routine uses both symbolic calculus analysis and Monte Carlo methods to propagate errors in a formula of up to four variables. ...

  • Cover Image

    Does the Answer Order Matter on Multiple-Choice Exams?

    Joel Tellinghuisen and Michelle M. Sulikowski
    Journal of Chemical Education2008 85 (4), 572
    • Does the Answer Order Matter on Multiple-Choice Exams?

      Joel Tellinghuisen and Michelle M. Sulikowski
      Journal of Chemical Education2008 85 (4), 572

      Surprising version-dependent differences are noted in student performance on certain questions in a standardized general chemistry exam. The exam in question has two versions, on which both questions and answers are ordered differently. For the questions ...

  • Cover Image

    First-Order or Second-Order Kinetics? A Monte Carlo Answer

    Joel Tellinghuisen
    Journal of Chemical Education2005 82 (11), 1709
    • First-Order or Second-Order Kinetics? A Monte Carlo Answer

      Joel Tellinghuisen
      Journal of Chemical Education2005 82 (11), 1709

      In chemical kinetics, data for the concentration [A] as a function of time can be analyzed by least-squares fitting to the appropriate expression for the integrated rate law. The problem of discriminating between first and second order in such analyses is ...

  • Cover Image

    Optimizing Experimental Parameters in Isothermal Titration Calorimetry

    Joel Tellinghuisen
    The Journal of Physical Chemistry B2005 109 (42), 20027-20035
    • Optimizing Experimental Parameters in Isothermal Titration Calorimetry

      Joel Tellinghuisen
      The Journal of Physical Chemistry B2005 109 (42), 20027-20035

      In isothermal titration calorimetry, the statistical precisions with which the equilibrium constant (K) and reaction enthalpy (H) can be estimated from data for 1:1 binding depend on a number of quantities, key among them being the products c K[M]0 ...

Tools

SciFinder Links

SciFinder subscribers:  Click to sign in | Not a SciFinder subscriber? Learn more at www.cas.org

Explore by:


History

  • Received: August 03, 2009

Recommend & Share

  • Share on ACS NetworkACS Network
  • Add to FacebookFacebook
  • Tweet ThisTweet This
  • Add to CiteULikeCiteULike
  • Add to NewsvineNewsvine
  • Digg ThisDigg This
  • Add to DeliciousDelicious

Related Content