28.12.2013 Views

preface to fifteenth edition

preface to fifteenth edition

preface to fifteenth edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GENERAL INFORMATION, CONVERSION TABLES, AND MATHEMATICS 2.133<br />

2.3.10 Curve Fitting<br />

Very often in practice a relationship is found (or known) <strong>to</strong> exist between two or more variables. It<br />

is frequently desirable <strong>to</strong> express this relationship in mathematical form by determining an equation<br />

connecting the variables.<br />

The first step is the collection of data showing corresponding values of the variables under<br />

consideration. From a scatter diagram, a plot of Y (ordinate) versus X (abscissa), it is often possible<br />

<strong>to</strong> visualize a smooth curve approximating the data. For purposes of reference, several types of<br />

approximating curves and their equations are listed. All letters other than X and Y represent constants.<br />

1. Y a 0 a 1 X<br />

Straight line<br />

2. Y a 0 a 1 X a 2 X 2<br />

Parabola or quadratic curve<br />

3. Y a 0 a 1 X a 2 X 2 a 3 X 3<br />

Cubic curve<br />

4. Y a 0 a 1 X a 2 · · · a n X n nth degree curve<br />

As other possible equations (among many) used in practice, these may be mentioned:<br />

o 5. Y (a 0 a 1 X) 1 r 1/Y a 0 a 1 X<br />

6. Y ab X or log Y log a (log b) X<br />

7. Y aX b or log Y log a b log X<br />

8. Y ab X g<br />

9. Y aX n g<br />

Hyperbola<br />

Exponential curve<br />

Geometric curve<br />

Modified exponential curve<br />

Modified geometric curve<br />

When we draw a scatter plot of all X versus Y data, we see that some sort of shape can be<br />

described by the data points. From the scatter plot we can take a basic guess as <strong>to</strong> which type of<br />

curve will best describe the X9Y relationship. To aid in the decision process, it is helpful <strong>to</strong> obtain<br />

scatter plots of transformed variables. For example, if a scatter plot of log Y versus X shows a linear<br />

relationship, the equation has the form of number 6 above, while if log Y versus log X shows a linear<br />

relationship, the equation has the form of number 7. To facilitate this we frequently employ special<br />

graph paper for which one or both scales are calibrated logarithmically. These are referred <strong>to</strong> as<br />

semilog or log-log graph paper, respectively.<br />

2.3.10.1 The Least Squares or Best-fit Line. The simplest type of approximating curve is a<br />

straight line, the equation of which can be written as in form number 1 above. It is cus<strong>to</strong>mary <strong>to</strong><br />

employ the above definition when X is the independent variable and Y is the dependent variable.<br />

To avoid individual judgment in constructing any approximating curve <strong>to</strong> fit sets of data, it is<br />

necessary <strong>to</strong> agree on a definition of a best-fit line. One could construct what would be considered<br />

the best-fit line through the plotted pairs of data points. For a given value of X 1 , there will be a<br />

difference D 1 between the value Y 1 and the constituent value Ŷ as determined by the calibration<br />

model. Since we are assuming that all the errors are in Y, we are seeking the best-fit line that<br />

minimizes the deviations in the Y direction between the experimental points and the calculated line.<br />

This condition will be met when the sum of squares for the differences, called residuals (or the sum<br />

of squares due <strong>to</strong> error),<br />

N<br />

ˆ 2 2 2 2<br />

i i 1 2 N<br />

i1<br />

(Y Y ) (D D ··· D )<br />

is the least possible value when compared <strong>to</strong> all other possible lines fitted <strong>to</strong> that data. If the sum<br />

of squares for residuals is equal <strong>to</strong> zero, the calibration line is a perfect fit <strong>to</strong> the data. With a

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!