|
Residual plot |
|
|
When to plot residuals A residual is the distance of a point from the curve. A residual is positive when the point is above the curve, and is negative when the point is below the curve. The residual table has the same X values as the original data, but the Y values are the vertical distances of the point from the curve. Create a residual plot if you aren't sure that your data really follow the model you selected. Mild deviations of data from a model are often easier to spot on a residual plot. How to graph residuals Choose to create a residual plot by checking an option on the Diagnostics tab of the nonlinear regression dialog. Prism will automatically make a new graph. The residuals are tabulated in a separate page of results, and you can use these like any other table (make additional graphs, plot on other graphs, transform...). Interpreting a residual plot The X axis of the residual plot is the same as the graph of the data, while the Y axis is the distance of each point from the curve. Points with positive residuals are above the curve; points with negative residuals are below the curve. An example is shown below, with a graph of the data and curve combined with a residual plot in a layout. If you look carefully at the curve on the left, you will see that the data points are not randomly distributed above and below the curve. There are clusters of points at early and late times that are below the curve, and a cluster of points at middle time points that are above the curve. This is much easier to see on the graph of the residuals in the inset. The data are not randomly scattered above and below the X-axis.
|