Tutorial: Data Analysis with Excel 

Polynomial Leastsquares Regression in ExcelThere are times when a bestfit line (ie, a firstorder polynomial) is not enough. Calibration data that is obviously curved can often be fitted satisfactorily with a second (or higher) order polynomial. Calibration curves in atomic absorption are often slightly curved; here is an example from another tutorial. ExampleYou wish to analyze the lead concentration in tap water using graphite furnace AAS. The following data was collected. Report the concentration of lead in the tap water in the form of a confidence interval.
First the data must be entered into an Excel worksheet (click on image to download the file). One way to perform polynomial regression is to fit the appropriate trendline to the data (and there are a number of options in addition to polynomials). The result is shown in the following screenshot.
While the above approach is useful in providing additional information on a calibration plot, there is some information missing (such as the standard error in the estimates or the standard deviation in the residuals). It is possible to apply the Analysis ToolPak addin to obtain this information. First, you must create another column whose cells contain the squared concentration values. Now you can invoke the Analysis TookPak addin. When choosing the X range, highlight the block that contains both the concentrations and their squared values. The regression dialog box should thus look like this: The output of the regression module is shown below. Click on the image to download the Excel file.
