| Text sections: | Chapter 7D
see also Example 21-2 |
The important part of this section is to know the formulae and to know how to use them. Normally, concentration will be on the x-axis (independent variable) and detector response (absorbance, area, etc.) will be on the y-axis (dependent variable).
To calculate the best-fit (least squares) line, use the following steps. Note the following:
| Step | Description | Formula(s) | Spreadsheet Formula(s) |
| 1. | Calculate the three quantities Sxx, Syy, and Sxy. |
![]() ![]() ![]() |
Excel: Sxx: =N*VARP(x-range)
Syy: =N*VARP(y-range) Q-pro: Sxx: =N*@VAR(x-range)
(Sxy is not required if using a spreadsheet) |
| 2. | Using these quantities, the slope (m) of the least-squares line is | m = Sxy / Sxx | =slope(y-range, x-range)
(@slope for Q-Pro) |
| The y-intercept (b) is | where the barred y and x represent the arithmetic means of y and x. |
=intercept(y-range, x-range)
(@intercept for Q-Pro) |
|
| 3. | The concentration of the unknown is now found by solving for x in the least-squares equation | xu = [unk] = (yu -b) / m | |
| 4. | To get an estimate of the error (range of values) in the regression line is given by Sr | ![]() |
=steyx(y-range, x-range)
(@steyx for Q-Pro) |
| 5. | An estimate of the confidence range of the unknown concentration is | ![]() |
| 3. | Find the unknown concentration cu. | ![]() |
|
| 5. | Find the x-intercept | x-intercept = -b / m | |
| Find the confidence range | ![]() |
Last updated, February 16, 2004
Page maintained by Craig
MacKinnon