Linear Fit

The Linear Fit feature uses the least squares method to draw a linear regression line over the selected area of a graph and calculates the slope (m) and y-intercept (b) of that line.

Perform a Linear Fit

  1. To perform a linear fit, click and drag across a region of interest. The shaded area contains the selected data upon which the linear fit will be calculated. If a region is not selected, the linear fit will be calculated for all data displayed in the graph.
  2. Choose Linear Fit from the Analyze menu or click the Linear Fit button in the toolbar.
  3. A helper object containing the slope, y-intercept, and correlation coefficient of the regression line, will be added to the graph. A correlation coefficient is a number between -1 and 1 which measures to what extent two variables are linearly related. A perfect correlation with positive slope is shown by a +1 correlation, while a negative slope is shown by a -1 correlation. 0 means that there is no linear relationship.
  4. To remove the linear fit, click the X in the upper corner of the helper object.

See Also: