Movable Linear Fit

The Movable Linear Fit is used to manually draw a linear regression over the selected area of a graph and display the slope (m) and y-intercept (b) of that line.

Perform a Movable Linear Fit

  1. To perform a movable linear fit, click and drag across a region of interest. The shaded area contains the selected data upon which the movable linear fit will be calculated. If a region is not selected, the movable linear fit will be calculated for all data displayed in the graph.
  2. Choose Model from the Analyze menu. and choose the equation type Linear.
  3. A helper object containing the slope, y-intercept, and RMSE of the line will be added to the graph.
  4. Double click on the helper object and select the option for Enable Line Drag.
  5. The movable linear fit can now be adjusted by dragging one of the three handles on the line. The center handle adjusts the Y-intercept, the outer two handles can be used to rotate the line about the far edge. If the X axis is scaled from zero, then the right handle will control the slope while leaving the Y-intercept alone.
  6. To remove the movable linear fit, click the X in the upper corner of the helper object.

See Also: