JCE Digital Library Journal of Chemical Education Division of Chemical Education, American Chemical SocietyAmerican Chemical Society
 | Subscriptions  | Software Orders  | Support  | Contributors  | Advertisers  | 

JCE Print

JCE Digital Library

JCE Software

Only@JCE Online

About JCE


 Home > JCE DLib > Mathcad in Chemistry >
Non-Linear Least-Squares Regression

Sidney H. Young and Andrzej Wierzbicki
Department of Chemistry, University of South Alabama, Mobile, AL 36688

Abstract

Nonlinear least-squares regression is often required in the physical chemistry laboratory. It is especially important for fitting functions that cannot be linearized. This template demonstrates various implicit and explicit methods for determining of the parameters of the regressed curve obtained by nonlinear curve-fitting. Through this worksheet students will be able to obtain the standard deviation of fit and the standard deviations of the parameters. Residual analysis is used to demonstrate techniques of removing bad data points from the fit. Data may be read into the template by using a Read statement. After minor editing the template can be used for a variety of applications in the student and research laboratories. As in Linear Least-Squares Regression, parameters can be tested to see if their addition to a model is statistically significant.

Figure 1. The residuals shown here for a linear function fitted to a set of data do not show a random distribution about zero. This residual plot suggests the addition of a quadratic term, because the residuals are parabolic as if following y = x2 + c.


Figure 2. The residuals shown here for a quadratic function fitted to the same set of data as in Figure 1 show a random distribution about zero. This residual plot suggests that the addition of a quadratic term was appropriate.


 
Mathcad documents (fully interactive with Mathcad)
*
PDF versions (non-interactive)
*
Commentary
*
Keywords
JCE Citation
*

* JCE Subscribers only: name and password or institutional IP number access required
 Home > JCE DLib > Mathcad in Chemistry > Non-Linear Least-Squares Regression


JCE Digital Library
is a collection of
NSDL

JCE Digital Library
also includes the following collections
JCE DigiDemos
Tested Demonstrations
JCE WebWare
Web-Based Learning Aids
JCE QBank
Resources for Student Assessment